Blank activity with fragment not in android studio

前端 未结 5 915
抹茶落季
抹茶落季 2021-02-07 05:02

Hi my problem is that when I want to create a new project in Android studio and I want to choose blank activity with fragment is not in add an activity to mobile window. Any sol

5条回答
  •  南旧
    南旧 (楼主)
    2021-02-07 05:46

    With version 2.1, select "Basic Activity" instead of Blank Activity. You will see the "Use a Fragment" checkbox. Click on it, there you go...

提交回复
热议问题