Android Studio Blank Activity

后端 未结 6 1143
遇见更好的自我
遇见更好的自我 2021-01-15 02:25

I\'m using Android Studio 2.1 and there is no Blank Activity option. I\'ve seen people asking about this, and the general advice was \"make one yourself\". The thing is tha

6条回答
  •  暖寄归人
    2021-01-15 02:37

    Empty Activity is the same as Blank Activity. It will gives you .xml file that will be your layout where you put your Buttons or EditTexts and .java file where you will code your activity.
    But Basic Activity will gives you two .xml files, the main_activity.xml that contain FloatingActionButton and a ToolBar and it will include the second .xml where you will put your Buttons and one .java file .
    If you are new at android developing start with Empty Activity it's more simple to understand

提交回复
热议问题