diff options
author | Wilhelm Fitzpatrick <rafial@cyngn.com> | 2014-10-16 14:42:15 -0700 |
---|---|---|
committer | linus_lee <llee@cyngn.com> | 2014-11-20 12:51:33 -0800 |
commit | b54c63fb2afa84d4cdc3003bd5e3b63884127212 (patch) | |
tree | 77a0ba49f8535b8325024e4b25d6375806fdba91 /res/values | |
parent | 71009ac868432fef9891ff0957c8c2dd061c5238 (diff) | |
download | android_packages_apps_Eleven-b54c63fb2afa84d4cdc3003bd5e3b63884127212.tar.gz android_packages_apps_Eleven-b54c63fb2afa84d4cdc3003bd5e3b63884127212.tar.bz2 android_packages_apps_Eleven-b54c63fb2afa84d4cdc3003bd5e3b63884127212.zip |
Eleven: updated Album Tab to v2 redlines
Had to partially redo the AlbumAdapter to get the top padding to
scroll correctly, since GridView doesn't natively support headers
Change-Id: I856712a5d215d0a684fff87187fce8d37e519d5a
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/colors.xml | 2 | ||||
-rw-r--r-- | res/values/dimens.xml | 8 | ||||
-rw-r--r-- | res/values/styles.xml | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml index 08a96aa..4c8b9c6 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -84,7 +84,7 @@ <color name="list_item_text_color">@color/default_text_color</color> <color name="list_item_text_color_light">@color/default_text_color_light</color> <color name="list_item_divider_color">#4c231f20</color> - <color name="grid_list_item_text_color">#cc231f20</color> + <color name="grid_list_item_text_color">#b3231f20</color> <!-- Top title page colors --> <color name="tpi_background_color">#fff4f4f4</color> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 82aea64..da8b015 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -33,6 +33,7 @@ <!-- List and grid view padding --> <dimen name="list_preferred_item_padding">10.0dip</dimen> + <dimen name="list_outer_edge_padding">16.0dp</dimen> <dimen name="list_menu_item_padding_right">2.0dip</dimen> <dimen name="list_item_general_margin">16.0dip</dimen> <dimen name="list_item_menu_button_width">24.0dip</dimen> @@ -50,16 +51,17 @@ <!-- List view fast scroll padding right --> <dimen name="fast_scroll_padding_right">8.0dip</dimen> <!-- grid view vertical and horizontal spacing --> - <dimen name="grid_item_horizontal_spacing">4.0dip</dimen> - <dimen name="grid_item_vertical_spacing">6.0dip</dimen> + <dimen name="grid_item_horizontal_spacing">8.0dip</dimen> + <dimen name="grid_item_vertical_spacing">8.0dip</dimen> <!-- List item detailed height --> <dimen name="list_item_detailed_height">120.0dip</dimen> <!-- Top margin of "line_two" --> <dimen name="list_item_line_two_margin_top">8.0dip</dimen> <!-- Left padding in the grid text --> <dimen name="grid_item_padding_left">8.0dip</dimen> + <dimen name="grid_item_padding_right">5.0dip</dimen> <!-- Left padding in the grid text --> - <dimen name="grid_bottom_height">40dip</dimen> + <dimen name="grid_bottom_height">44dip</dimen> <!-- Grid and list item normal height --> <dimen name="item_normal_height">70.0dip</dimen> <dimen name="item_short_height">60.0dip</dimen> diff --git a/res/values/styles.xml b/res/values/styles.xml index 4b4f0d3..1e51710 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -115,6 +115,7 @@ </style> <style name="ListItemMainText.Grid.Single" parent="ListItemMainText.Single"> + <item name="android:textSize">@dimen/text_size_micro</item> <item name="android:textColor">@color/grid_list_item_text_color</item> </style> @@ -132,6 +133,7 @@ </style> <style name="ListItemSecondaryText.Grid.Single" parent="ListItemSecondaryText.Single"> + <item name="android:textSize">@dimen/text_size_extra_micro</item> <item name="android:textColor">@color/grid_list_item_text_color</item> </style> |