Blank activity with fragment not in android studio

前端 未结 5 846
抹茶落季
抹茶落季 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:45

    I had the same problem with the Android Studio 2.3 (today the latest version), here is the process:

    Create new Activity:

    Tell the activity to use a fragment:

    It worked for me. I wish for you as well.

提交回复
热议问题