Set Action Bar to be Transparent
This commit is contained in:
parent
8ec7e52e59
commit
8bac2d412d
20
.idea/deploymentTargetDropDown.xml
generated
20
.idea/deploymentTargetDropDown.xml
generated
@ -4,9 +4,9 @@
|
||||
<value>
|
||||
<entry key="app">
|
||||
<State>
|
||||
<runningDeviceTargetSelectedWithDropDown>
|
||||
<targetSelectedWithDropDown>
|
||||
<Target>
|
||||
<type value="RUNNING_DEVICE_TARGET" />
|
||||
<type value="QUICK_BOOT_TARGET" />
|
||||
<deviceKey>
|
||||
<Key>
|
||||
<type value="VIRTUAL_DEVICE_PATH" />
|
||||
@ -14,20 +14,8 @@
|
||||
</Key>
|
||||
</deviceKey>
|
||||
</Target>
|
||||
</runningDeviceTargetSelectedWithDropDown>
|
||||
<timeTargetWasSelectedWithDropDown value="2024-02-15T16:39:47.619974727Z" />
|
||||
<multipleDevicesSelectedInDropDown value="true" />
|
||||
<runningDeviceTargetsSelectedWithDialog>
|
||||
<Target>
|
||||
<type value="RUNNING_DEVICE_TARGET" />
|
||||
<deviceKey>
|
||||
<Key>
|
||||
<type value="VIRTUAL_DEVICE_PATH" />
|
||||
<value value="$USER_HOME$/.android/avd/Pixel_3a_API_34_extension_level_7_x86_64.avd" />
|
||||
</Key>
|
||||
</deviceKey>
|
||||
</Target>
|
||||
</runningDeviceTargetsSelectedWithDialog>
|
||||
</targetSelectedWithDropDown>
|
||||
<timeTargetWasSelectedWithDropDown value="2024-02-16T23:14:28.483192164Z" />
|
||||
</State>
|
||||
</entry>
|
||||
</value>
|
||||
|
||||
@ -1,12 +1,22 @@
|
||||
|
||||
<resources>
|
||||
<!-- <style name="Theme.PasswordZebra" parent="Theme.AppCompat.DayNight.DarkActionBar"> -->
|
||||
<style name="Theme.PasswordZebra" parent="Theme.Material3.DayNight">
|
||||
|
||||
<!-- <style name="Theme.PasswordZebra" parent="Theme.Material3.DayNight.NoActionBar"> -->
|
||||
<item name="android:actionBarStyle">@android:color/transparent</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<!-- status bar font color -->
|
||||
<item name="android:windowLightStatusBar">false</item>
|
||||
<!-- true = status bar semi-transparent -->
|
||||
<item name="android:windowTranslucentStatus">false</item>
|
||||
|
||||
<!-- action bar -->
|
||||
<!-- defined in themes_overlays - item name="actionBarStyle" -->
|
||||
|
||||
<!-- navigation bar = bottom bar with navigation buttons -->
|
||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||
<item name="android:windowLightNavigationBar">true</item>
|
||||
<item name="android:windowTranslucentNavigation">false</item>
|
||||
|
||||
<item name="colorPrimary">@color/md_theme_dark_primary</item>
|
||||
<item name="colorOnPrimary">@color/md_theme_dark_onPrimary</item>
|
||||
@ -34,4 +44,9 @@
|
||||
<item name="colorSurfaceInverse">@color/md_theme_dark_inverseSurface</item>
|
||||
<item name="colorPrimaryInverse">@color/md_theme_dark_inversePrimary</item>
|
||||
</style>
|
||||
|
||||
<style name="MyActionBar" parent="@style/Widget.AppCompat.ActionBar">
|
||||
<item name="background">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
||||
@ -2,18 +2,24 @@
|
||||
<resources>
|
||||
<style name="Theme.PasswordZebra" parent="Theme.Material3.Light">
|
||||
<!-- <style name="Theme.PasswordZebra" parent="Theme.Material3.Light.NoActionBar"> -->
|
||||
|
||||
<!-- statusbar background color -->
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
|
||||
<!-- false = white statusbar text / true = black -->
|
||||
<item name="android:windowLightStatusBar">true</item>
|
||||
|
||||
<!-- true = status bar semi-transparent -->
|
||||
<item name="android:windowTranslucentStatus">false</item>
|
||||
|
||||
<item name="android:actionBarStyle">@android:color/transparent</item>
|
||||
|
||||
<!-- navigation bar = bottom bar with navigation buttons -->
|
||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||
<item name="android:windowLightNavigationBar">true</item>
|
||||
<item name="android:windowTranslucentNavigation">false</item>
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
<style name="MyActionBar" parent="@style/Widget.AppCompat.ActionBar">
|
||||
<item name="background">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<style name="AppTheme.Overlay" parent="ThemeOverlay.Material3.DynamicColors.DayNight">
|
||||
<item name="actionBarStyle">@style/MyActionBar</item>
|
||||
<!-- <item name="actionBarStyle">@style/Widget.AppCompat.ActionBar</item> -->
|
||||
</style>
|
||||
</resources>
|
||||
Loading…
x
Reference in New Issue
Block a user