How to create custom Toolbar in Android studio |Learning bot|

Опубликовано: 21 Октябрь 2024
на канале: Learning Bot
1,989
36

Hello Dosto
In this video, we will discuss on how to create and Use Toolbar in Android studio and toolbar is better
Replacement to an ActionBar in Android studio. The toolBar is easy to customize and more flexible Then ActionBar.
The Toolbar is a kind of ViewGroup that can be placed in the XML layouts of an activity. It was introduced by the Google Android team during the release of Android Lollipop(API 21). The Toolbar is basically the advanced successor of the ActionBar. It is much more flexible and customizable in terms of appearance and functionality. Unlike ActionBar, its position is not hardcoded i.e., not at the top of an activity. Developers can place it anywhere in the activity according to the need just like any other View in android. Toolbar use material design theme features of Android and thus it provides backward compatibility up to API 7(Android 2.1). Features supported by the Toolbar are much more focused and customizable than the ActionBar. Following are the components that can be added to a Toolbar:
A navigation button/drawer or an Up button
Brand logo/App icon
Title and Subtitle
ActionMenu items
Multiple custom views such as TextView, ImageView, etc.
------------------------------------------------------------------
Related to action bar and option menu
   • Related to Actionbar and Optionmenu/ ...  

I hope you like the video
-------------------------------------------------------------------
Subscribe to our channel to get new video updates
   / @learning_bot  
If you face any problems feel free to ask in the comment section

----------------
Thank You
#androidstudio #toolbar #learningbot #actionbar