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/layout/bottom_actions.xml | |
parent | bcd90a38b28f7c57bce8057d855e4c276aab2776 (diff) | |
download | packages_apps_ThemeChooser-550e88b1e62228124f22b2d70ce3bf45fe9a1314.tar.gz packages_apps_ThemeChooser-550e88b1e62228124f22b2d70ce3bf45fe9a1314.tar.bz2 packages_apps_ThemeChooser-550e88b1e62228124f22b2d70ce3bf45fe9a1314.zip |
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/layout/bottom_actions.xml')
-rw-r--r-- | res/layout/bottom_actions.xml | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/res/layout/bottom_actions.xml b/res/layout/bottom_actions.xml index 67f8461..ef4225d 100644 --- a/res/layout/bottom_actions.xml +++ b/res/layout/bottom_actions.xml @@ -34,7 +34,8 @@ android:id="@+id/per_app_theming" android:layout_width="80dp" android:layout_height="wrap_content" - android:orientation="vertical"> + android:orientation="vertical" + android:background="@drawable/bottom_action_item_background"> <FrameLayout android:layout_width="match_parent" @@ -45,13 +46,22 @@ android:layout_gravity="top|center_horizontal" android:layout_margin="8dp" android:src="@drawable/ic_appthemer"/> - <ImageView + <org.cyanogenmod.theme.widget.LatoTextView android:id="@+id/new_tag" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom|left" android:layout_marginLeft="6dp" - android:src="@drawable/tag_new" + android:paddingStart="4dp" + android:paddingEnd="4dp" + android:gravity="center" + android:text="@string/new_feature_label" + android:textAllCaps="true" + android:textSize="10dp" + android:textColor="@color/tag_text_color" + android:textStyle="bold" + android:fontFamily="sans-serif-condensed" + android:background="@drawable/bg_tag_new" android:visibility="gone"/> </FrameLayout> @@ -69,7 +79,8 @@ android:layout_width="80dp" android:layout_height="wrap_content" android:layout_marginLeft="20dp" - android:orientation="vertical"> + android:orientation="vertical" + android:background="@drawable/bottom_action_item_background"> <ImageView android:layout_width="30dp" @@ -89,7 +100,4 @@ </LinearLayout> - <org.cyanogenmod.theme.widget.NavBarSpace - android:layout_width="match_parent" - android:layout_height="@dimen/navigation_bar_height"/> </LinearLayout> |