-
-
Save tshrkmd/6159846 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<style name="Theme.AppCompat.Light.NoActionBar" parent="@style/Theme.AppCompat.Light"> | |
<item name="android:windowNoTitle">true</item> | |
<item name="windowActionBar">false</item> <!-- For 2.x version --> | |
</style> | |
</resources> |
Perfect... :) Thanks
Have been searching for this. Thanks
Great! Thanks
+1
Sounds like it's not working on Android 2.x
Thanks man
Not working on Android 2.x :(
if (Build.VERSION.SDK_INT < 11){ getSupportActionBar().hide(); }
Thanks!
Added a fork (https://gist.github.com/asifmujteba/0eae2249359744ff86bd) which would work on Android 2.x versions also!
excellent
Thanks
Great!
Thank you very match !
+1 Thank you!
And what about
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
this code not working, I am using :
my app is closed to open.
:(
en res/values/styles.xml
<style name="Theme.MyTheme" parent="@style/_MyTheme"/><style name="_MyTheme" parent="@style/Theme.AppCompat.Light">
<item name="android:windowNoTitle">true</item>
<item name="windowActionBar">false</item> <!-- For 2.x version -->
</style>
this works well
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">< style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar" >
worked for me! thanks a lot!
hi all
i have create my project in ionic v3
i have run my ionic app in android and i am getting error about Theme.AppCompat.Light.NoActionBar
- What went wrong:
Execution failed for task ':app:processDebugResources'.
Android resource linking failed
error: resource style/Theme.AppCompat.Light.NoActionBar (aka io.ionic.myapp:style/Theme.AppCompat.Light.NoActionBar) not found.
error: failed linking references.
plz help
thanks
thanks for the gist! :)