Android Question How to rename activity module?

Beja

Expert
Licensed User
Longtime User
I want to merge two projects but I can't have two activities with the same name 'main'.
I couldn't change the name of the main activity into another name.. I searched the forum but
there was 0 hits.
Any help appreciated.
 

stevel05

Expert
Licensed User
Longtime User
I assume by merging you mean copying each module from one project to another. The you need to decide which of the two main modules really is the new main module, and copy the second one to a module with a different name.
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
How can you copy, Steve? I thought it is rename, then add.
thank you
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
You can use import existing modules for those that have different names, for the main module open the two projects at once, create a new module in the new project named whatever you decide and use copy and paste from the old main in the original project to the new module in the new project.
 
Upvote 0
Top