Background
I have two android modules - A & B within a single project.
Each module has their own layouts
What I want to achieve
When I click a button in module A, it will start the main activity in module B and display the module B layout.
What I had tried - Not successful
- include module B in module A
- create Intent to start module B activity
Question
How can I achieve this? What are the possible ways?
ps: in the end I want one apk file .
Thank you very much for your time and assistance on this matter.