Creating an Android app using tutorial does not show a fragment layout field

▼魔方 西西 提交于 2019-12-13 05:02:07

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!