android - Custom ActionBar resulting in overlapping default ActionBar -
hello wanted add custom actionbar application in android using method:
linearlayout ll_q = (linearlayout) findviewbyid(r.id.qtitlebar); getsupportactionbar().setdisplayoptions(actionbar.display_show_custom | actionbar.display_use_logo); getsupportactionbar().setcustomview(r.layout.question_titlebar); the result is:

how rid of grey area in actionbar , menu button?
if using android studio following:
- extend class activity instead of actionbaractivity.
open app's manifest file , change
android:theme="@android:style/theme.black.notitlebar.fullscreen"
Comments
Post a Comment