Last active
November 3, 2022 09:58
-
-
Save tshrkmd/6159846 to your computer and use it in GitHub Desktop.
Theme.AppCompat.Light.NoActionBar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if (Build.VERSION.SDK_INT < 11){ getSupportActionBar().hide(); }