diff options
author | d34d <clark@cyngn.com> | 2016-08-29 15:41:02 -0700 |
---|---|---|
committer | d34d <clark@cyngn.com> | 2016-08-31 09:44:52 -0700 |
commit | 550e88b1e62228124f22b2d70ce3bf45fe9a1314 (patch) | |
tree | 91efd4126034e8b91c463da8bd02a00cf7ff9751 /res/values | |
parent | bcd90a38b28f7c57bce8057d855e4c276aab2776 (diff) | |
download | packages_apps_ThemeChooser-550e88b1e62228124f22b2d70ce3bf45fe9a1314.zip packages_apps_ThemeChooser-550e88b1e62228124f22b2d70ce3bf45fe9a1314.tar.gz packages_apps_ThemeChooser-550e88b1e62228124f22b2d70ce3bf45fe9a1314.tar.bz2 |
Fall cleaning
* Change package name to org.cyanogenmod.theme.chooser2
to avoid theme collisions with old OSS chooser
* Change parent theme to Theme.Material.Light
* Change minSdkVersion to 21 since we are going material
* Add selectors for bottom action buttons (app themer, shop themes)
* Add selector, using app themer color, for app themer list view
* Add selector for actions in theme cards
* Bring back OSS app icon
* Reduce log spam in ThemedTypefaceHelper
* Localize "new" tag using a TextView instead of an image
* Other random stuff
Change-Id: I73ef0b9c9370284e29ee00add87273cf54c83e0e
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/colors.xml | 9 | ||||
-rw-r--r-- | res/values/dimens.xml | 4 | ||||
-rw-r--r-- | res/values/strings.xml | 2 | ||||
-rw-r--r-- | res/values/styles.xml | 2 |
4 files changed, 16 insertions, 1 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml index bdc361a..90d2b75 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -77,9 +77,18 @@ <color name="per_app_theme_fab_bg_color">#00b1e5</color> <color name="per_app_theme_fab_icon_color">#ffffff</color> <color name="per_app_theme_qs_icon_color">#ffffff</color> + <color name="per_app_theme_list_item_bg_color">#00b1e5</color> + <color name="per_app_theme_list_item_bg_mask_color">#ffffff</color> + <color name="per_app_theme_applying_text_color">#f5f5f5</color> <color name="bottom_row_icon_color">#ffffff</color> <color name="edge_effect_color">#ffffff</color> + <color name="bottom_action_background_mask_color">#ffffff</color> + <color name="bottom_action_selected_background_color">#e9e8e8</color> + + <color name="theme_card_action_item_background_mask_color">#ffffff</color> + <color name="theme_card_action_item_background_color">#888888</color> + </resources> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 6f212e8..22c0dc7 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -113,4 +113,8 @@ <dimen name="animated_lock_screen_text_margin_right">3dp</dimen> <dimen name="animated_lock_screen_text_margin_bottom">3dp</dimen> <dimen name="animated_lock_screen_text_margin_left">3dp</dimen> + + <!-- Save and apply customized changes FAB dimensions --> + <dimen name="save_apply_fab_width">72dp</dimen> + <dimen name="save_apply_fab_height">72dp</dimen> </resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index 6cc115a..12b31f4 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -112,4 +112,6 @@ <string name="get_more_app_not_available">App not available</string> <string name="play_store_url" translatable="false">https://play.google.com/store/search?q=theme+engine&c=apps</string> <string name="wiki_url" translatable="false">http://wiki.cyanogenmod.org/w/Themes</string> + + <string name="new_feature_label">New</string> </resources> diff --git a/res/values/styles.xml b/res/values/styles.xml index 96fced3..8ac749c 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -19,7 +19,7 @@ <resources xmlns:android="http://schemas.android.com/apk/res/android"> <!-- Base application theme. --> - <style name="ThemeChooserTheme" parent="@android:style/Theme.Holo.Light"> + <style name="ThemeChooserTheme" parent="@android:style/Theme.Material.Light"> <item name="android:windowTranslucentStatus">true</item> <item name="android:windowTranslucentNavigation">true</item> <item name="android:popupMenuStyle">@style/popupMenuStyle</item> |