diff options
author | d34d <clark@cyngn.com> | 2015-04-01 15:04:19 -0700 |
---|---|---|
committer | Clark Scheff <clark@cyngn.com> | 2015-04-03 15:19:28 +0000 |
commit | 5e9cc5fa726d7e551fce94bf60afab869036fc62 (patch) | |
tree | 104573ea8fa13cda4b383f15180ab0c7bb2d5797 /res/values | |
parent | cc64be3a192244a89c3d6d7594618910b40d8a91 (diff) | |
download | packages_apps_ThemeChooser-5e9cc5fa726d7e551fce94bf60afab869036fc62.zip packages_apps_ThemeChooser-5e9cc5fa726d7e551fce94bf60afab869036fc62.tar.gz packages_apps_ThemeChooser-5e9cc5fa726d7e551fce94bf60afab869036fc62.tar.bz2 |
Adjust tag layouts to better accomodate multiple tags
If a theme has multiple tags enabled, they may end up being cut off
as they extend beyond the bounds of their container. This patch
reduces the text size to 12sp, wraps content instead of fixed size
and adds padding on sides.
Change-Id: If05d4d6c4efc666e1481773fbd1b1108a9a505b7
REF: CHOOSER-3
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/styles.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml index 1853066..71dd055 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -115,4 +115,14 @@ <item name="android:textColor">@color/customize_layout_text_color</item> <item name="android:textAllCaps">true</item> </style> + + <style name="tag_style"> + <item name="android:layout_marginEnd">8dp</item> + <item name="android:paddingStart">4dp</item> + <item name="android:paddingEnd">4dp</item> + <item name="android:gravity">center</item> + <item name="android:textSize">12sp</item> + <item name="android:textColor">@color/tag_text_color</item> + <item name="android:textAllCaps">true</item> + </style> </resources> |