6.6.2 - Alpha4 - 导航栏设置为透明或半透明以增强视觉体验
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
<enum name="single" value="0" />
|
||||
<enum name="multiple" value="1" />
|
||||
</attr>
|
||||
|
||||
<attr name="alwaysExtended" format="boolean" />
|
||||
<attr name="list" format="reference" />
|
||||
</declare-styleable>
|
||||
@@ -27,10 +26,12 @@
|
||||
<attr name="positiveText" format="string" />
|
||||
<attr name="onConfirmPrompt" format="string" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="MaterialPreference">
|
||||
<attr name="longClickPrompt" format="string" />
|
||||
<attr name="longClickPromptMore" format="string" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="MaterialListPreference">
|
||||
<attr name="dialogTitle" />
|
||||
<attr name="dialogContent" />
|
||||
@@ -88,5 +89,7 @@
|
||||
<attr name="color_warn" format="reference|color" />
|
||||
<attr name="color_error" format="reference|color" />
|
||||
<attr name="color_assert" format="reference|color" />
|
||||
<attr name="excludeFromNavigationBar" format="boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
||||
@@ -22,6 +22,8 @@
|
||||
<color name="text_color_primary_full">@color/day_night_full</color>
|
||||
<color name="text_color_primary_alpha_70">@color/day_night_alpha_70</color>
|
||||
<color name="text_color_secondly">#9DA0A2</color>
|
||||
<color name="black_alpha_40">#66000000</color>
|
||||
<color name="black_alpha_44">#70000000</color>
|
||||
|
||||
<color name="colorAccent">#03A9F4</color>
|
||||
<color name="colorPrimary">@color/theme_color_default</color>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
<item name="android:textColorPrimary">@color/text_color_primary</item>
|
||||
<item name="android:textColorSecondary">@color/text_color_secondly</item>
|
||||
<item name="android:windowBackground">@color/window_background</item>
|
||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
@@ -108,6 +109,7 @@
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="android:navigationBarColor">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
<style name="MtAppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.DayNight.ActionBar" />
|
||||
|
||||
Reference in New Issue
Block a user