Android Studio 2.0 doesn’t have an “Activity Form” option to create

I Created a project using Android Studio 2.0, and now I want to create an empty operation, but there is no “Empty action" element in
(right-click on the project package, and then → Create → Activity).

when I click (New → Activity → Gallery ...), I encounter a window without the Blank Activity option. Create → Activity → Gallery ...

I want to have activity like this
Three-point menu activity

+6
source share
2 answers

The Primary Activity template is probably the closest to the previous “Empty Activity”.

Said:

  • Google can change templates at any time. Do not assume that there will always be patterns with magic names, such as "Empty action".

  • Does this mean that your work is "easier" depends entirely on what you think of the Google activity patterns.

+5
source

You can use the basic operation, just edit AndroidManifest.xml . Just change the default value of android:theme="@style/AppTheme" to android:theme="@style/Theme.Design.NoActionBar" .

0
source

All Articles