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