This question has been deleted and is no more available to answer.
1
I am creating custom Toolbar and want to set its height exact same as the default Actionbar in android. Can anyone tell what is the standard height of the Actionbar in android? Thanks!!!

Share using link:

Direct share:

Aug 6 at 6:36:53
Yellow
Yellow
391

1 Answer

1
If you want to set the height of your Toolbar exactly same as the standard height of the android Actionbar simple set the android:layout_height="?android:attr/actionBarSize" in your Toolbar. It will set the height of your Toolbar exactly same as the height of the android primary Actionbar and users will not feel the difference. Hope it helps
Aug 6 at 6:39:57
Jude
Jude
476

thanks million times. It works for me.Yellow Daddy Aug 6 at 6:41:22

I am glad it works.Jude Ak Aug 6 at 6:41:37

Asked
4 months ago
Viewed
131 times