java - how to remove actionbar from dialog activity -
i have dialog activity , want remove action bar , , anther dialog activity want change color of action bar >>
i tried change theme , style nothing change also.
<style name ="dialog" parent="theme.appcompat.dialog"> <item name="windowactionbar">false</item> </style> and other style
<style name ="coloreddialog" parent="theme.appcompat.dialog"> <!-- customize theme here. --> <item name="colorprimary">@color/colorprimary</item> <item name="colorprimarydark">@color/colorprimarydark</item> <item name="coloraccent">@color/coloraccent</item> <item name="windowactionbar">false</item> </style> also have tried use
getsupportactionbar().hide()
but error , app closed
Comments
Post a Comment