fix remove action bar in android

pull/19/head
Niko PLP 1 year ago
parent 8c15729ada
commit ba151ff702
  1. 4
      ng-app/src-tauri/gen/android/app/src/main/res/values-night/themes.xml
  2. 4
      ng-app/src-tauri/gen/android/app/src/main/res/values/themes.xml

@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools"> <resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. --> <!-- Base application theme. -->
<style name="Theme.ng_app_native" parent="Theme.MaterialComponents.DayNight.DarkActionBar"> <style name="Theme.ng_app_native" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Primary brand color. --> <!-- Primary brand color. -->
<item name="colorPrimary">@color/blue_600</item> <item name="colorPrimary">@color/blue_600</item>
<item name="colorPrimaryVariant">@color/blue_700</item> <item name="colorPrimaryVariant">@color/blue_700</item>
@ -12,5 +12,7 @@
<!-- Status bar color. --> <!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item> <item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. --> <!-- Customize your theme here. -->
<item name="android:windowNoTitle">true</item>
<item name="android:windowActionBar">false</item>
</style> </style>
</resources> </resources>

@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools"> <resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. --> <!-- Base application theme. -->
<style name="Theme.ng_app_native" parent="Theme.MaterialComponents.DayNight.DarkActionBar"> <style name="Theme.ng_app_native" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Primary brand color. --> <!-- Primary brand color. -->
<item name="colorPrimary">@color/blue_600</item> <item name="colorPrimary">@color/blue_600</item>
<item name="colorPrimaryVariant">@color/blue_700</item> <item name="colorPrimaryVariant">@color/blue_700</item>
@ -12,5 +12,7 @@
<!-- Status bar color. --> <!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item> <item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. --> <!-- Customize your theme here. -->
<item name="android:windowNoTitle">true</item>
<item name="android:windowActionBar">false</item>
</style> </style>
</resources> </resources>

Loading…
Cancel
Save