diff options
author | Winson Chung <winsonc@google.com> | 2011-10-11 17:53:58 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-10-11 18:20:33 -0700 |
commit | 5fc72b31863639e70b3d944a3b650f42e46932a6 (patch) | |
tree | 75e8e206dc0673dc4c8253075a811d5f45ee9f42 /res/values | |
parent | 3a02e82cfff354ba5e4444114b1ae2a1d5ac2862 (diff) | |
download | packages_apps_trebuchet-5fc72b31863639e70b3d944a3b650f42e46932a6.zip packages_apps_trebuchet-5fc72b31863639e70b3d944a3b650f42e46932a6.tar.gz packages_apps_trebuchet-5fc72b31863639e70b3d944a3b650f42e46932a6.tar.bz2 |
Fixing some issues with AppsCustomize
- Tweaking the widget page to make it a little tighter
- Altering the way we generate widget previews to make them more consistent
- Making the Apps page two line titles
Change-Id: I7bce420466c1d41fb87b423f259472482803a406
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/dimens.xml | 6 | ||||
-rw-r--r-- | res/values/styles.xml | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 7973ca8..faad606 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -55,11 +55,11 @@ <dimen name="apps_customize_tab_bar_height">56dp</dimen> <dimen name="app_icon_size">48dp</dimen> <!-- The width can be 72dp because we don't have L/R padding --> - <dimen name="apps_customize_cell_width">72dp</dimen> - <dimen name="apps_customize_cell_height">80dp</dimen> + <dimen name="apps_customize_cell_width">74dp</dimen> + <dimen name="apps_customize_cell_height">82dp</dimen> <dimen name="apps_customize_max_gap">18dp</dimen> <dimen name="apps_customize_widget_cell_width_gap">10dp</dimen> - <dimen name="apps_customize_widget_cell_height_gap">10dp</dimen> + <dimen name="apps_customize_widget_cell_height_gap">8dp</dimen> <dimen name="title_texture_width">120px</dimen> <!-- height of the bottom row of controls --> diff --git a/res/values/styles.xml b/res/values/styles.xml index 05a83b2..8368388 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -95,12 +95,14 @@ </style> <style name="WorkspaceIcon.Portrait.AppsCustomize"> + <item name="android:singleLine">false</item> + <item name="android:maxLines">2</item> <item name="android:background">@null</item> - <item name="android:paddingTop">4dp</item> + <item name="android:paddingTop">0dp</item> <item name="android:paddingBottom">0dp</item> <item name="android:paddingLeft">0dp</item> <item name="android:paddingRight">0dp</item> - <item name="android:drawablePadding">8dp</item> + <item name="android:drawablePadding">2dp</item> </style> <style name="WorkspaceIcon.Landscape.AppsCustomize"> <item name="android:background">@null</item> |