![]() Step 2) In res > layout > activity_main.xml we will add a button which will open a new other activity. Step 1) Here I will give an example of simple Empty Activity new project. To enter a new activity we create an Intent then start a new Activity using that intent instance using the startActivity method.Īfter we enter the new activity we add a listener on action bar instance to finish other activity to come back to MainActivity. you start with these before trying to implement your widgets, even if you need something with a more custom look and feel. com Powered by Odoo Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale. ![]() Here is a simple method to add a back arrow to other Activity to come back to MainActivity.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |