android:windowNoTitle will not hide actionbar with appcompat-v7 21.0.0 -
i updated appcompat-v7 lollipop version(21.0.0)
then can't hide actionbar following style worked before.
<style name="apptheme.noactionbar">     <item name="android:windowactionbar">false</item>     <item name="android:windownotitle">true</item> </style> i set specific activity.
<activity android:name=".noactionbaractivity"         android:theme="@style/apptheme.noactionbar"/> when use appcompat-v7 20.0.0 version, actionbar hidden intended.
how can hide actionbar custom style appcompat version 21 library?
@chk0ndanger answer true should use below code :
<style name="theme.appcompat.noactionbar" parent="theme.appcompat.light">    <item name="windowactionbar">false</item>    <item name="android:windownotitle">true</item> </style>  without parent element, white color (textviews,buttons,chekcboxs, etc)!
in manifest.xml file :
    <activity android:name=".myclass"         android:theme="@style/theme.appcompat.noactionbar"         /> updated 2015 29 july
make sure android:windownotitle should replaced windownotitle when upgraded appcompat v22.1.0 
Comments
Post a Comment