Back button on ActionBar/Toolbar | Android Studio | Kotlin

Опубликовано: 03 Октябрь 2024
на канале: Atif Pervaiz
19,785
172

This tutorial is about how to add back button in ActionBar/Toolbar and go to previous activity on pressed.
We will create a button in MainActivity to move to NewActivity, and add back button in action bar of New Activity to move to previous activity(NewActivity).

Buy Me a Coffee: https://paypal.me/atifsayings

Source Code: http://devofandroid.blogspot.com/2018...

Feel free to comment in case of any problem

Chanel:
   / mohammadatif1  
Websites:
https://technifysoft.com/
https://devofandroid.blogspot.com
Apps/Games on PlayStore:
https://play.google.com/store/apps/de...

If u like this video, Like, Comment, Subscribe to support us...