问题
I am a newbie. I am trying to learn android. I am using android tutorials to build first app. I Go to New>Android Application Project.
Then I insert application name as "My First App". Then a few Next,Next, using default values. On the create activity window, I select the Blank activity and click next.
Now the problem arises. On the next screen it shows only three fields:
1) Activity name
2) Layout name
3) Navigation type
The problem is that it does not show the 'Fragment layout name' field.
回答1:
You should select your maximum API version as the max you have, may be ANdroid 4.4 and minimum to be say Android 2.2. This is work for you, I think so.
来源:https://stackoverflow.com/questions/24545931/creating-an-android-app-using-tutorial-does-not-show-a-fragment-layout-field