How to add new activity to existing project in Android Studio? -


in eclipse clicked new button , select android activity add new activity. android studio bit diferent; couldn't find out how add new activity project.

to add activity using android studio.

this step same adding fragment, service, widget, , etc.. screenshots provided.

[update] in android studio 0.5.4

  1. in main application project, go src folder.

    enter image description here

  2. double click src expand.

    enter image description here

  3. right click main or java folder. new > activity.

    enter image description here


[android studio 0.5.3 , below]

  1. on project, go java folder (src > main) > right click either java folder or package name > new > android component.
  2. now, next step easy you. cheers! :)

to add service, application, remote interface or broadcastreceiver, same step.


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -