Updating theme to use the light theme by default, instead of wallpaper theme
> This allows us to use all the goodness of material theme > Cursor in folder edit text is no longer 1px wide Change-Id: I705f5472ff71969ae45747dd127a8ba5253df44d
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<item name="android:windowTranslucentNavigation">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme" parent="@android:style/Theme.DeviceDefault.Wallpaper.NoTitleBar">
|
||||
<style name="Theme" parent="@style/BaseWallpaperTheme">
|
||||
<item name="android:windowTranslucentStatus">true</item>
|
||||
<item name="android:windowTranslucentNavigation">true</item>
|
||||
</style>
|
||||
|
||||
@@ -33,4 +33,11 @@
|
||||
<item name="android:background">?android:attr/selectableItemBackgroundBorderless</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme" parent="@style/BaseWallpaperTheme">
|
||||
<item name="android:windowTranslucentStatus">true</item>
|
||||
<item name="android:windowTranslucentNavigation">true</item>
|
||||
<item name="android:colorControlActivated">@color/launcher_accent_color</item>
|
||||
<item name="android:colorAccent">@color/launcher_accent_color</item>
|
||||
<item name="android:colorPrimary">@color/launcher_accent_color</item>
|
||||
</style>
|
||||
</resources>
|
||||
@@ -19,4 +19,6 @@
|
||||
-->
|
||||
<resources>
|
||||
<color name="wallpaper_picker_translucent_gray">#66000000</color>
|
||||
|
||||
<color name="launcher_accent_color">#ff009688</color>
|
||||
</resources>
|
||||
|
||||
@@ -35,9 +35,15 @@
|
||||
<item name="android:background">#88000000</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme" parent="@android:style/Theme.DeviceDefault.Wallpaper.NoTitleBar">
|
||||
<style name="BaseWallpaperTheme" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar">
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:colorBackgroundCacheHint">@null</item>
|
||||
<item name="android:windowShowWallpaper">true</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme" parent="@style/BaseWallpaperTheme"></style>
|
||||
|
||||
<style name="ActionBarSetWallpaperStyle" parent="@android:style/Widget.DeviceDefault.ActionButton">
|
||||
<item name="android:textColor">#ffffffff</item>
|
||||
<item name="android:background">?android:attr/selectableItemBackground</item>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
android:paddingRight="16dp"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#009688"
|
||||
android:textColor="@color/launcher_accent_color"
|
||||
android:textAllCaps="true"
|
||||
android:focusable="false"
|
||||
android:background="@drawable/all_apps_search_market_bg" />
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
android:gravity="center_horizontal"
|
||||
android:text="@string/wallpaper_button_text"
|
||||
android:textAllCaps="true"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
@@ -45,6 +46,7 @@
|
||||
android:gravity="center_horizontal"
|
||||
android:text="@string/widget_button_text"
|
||||
android:textAllCaps="true"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
@@ -58,6 +60,7 @@
|
||||
android:gravity="center_horizontal"
|
||||
android:text="@string/settings_button_text"
|
||||
android:textAllCaps="true"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="12sp" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -70,7 +70,6 @@
|
||||
android:textColor="#ff777777"
|
||||
android:textColorHighlight="#ffCCCCCC"
|
||||
android:textColorHint="#ff808080"
|
||||
android:textCursorDrawable="@null"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<include
|
||||
|
||||
Reference in New Issue
Block a user