summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-11-17 14:58:51 -0800
committerWinson Chung <winsonc@google.com>2011-11-18 10:13:04 -0800
commit3f4e1423804d64a38cb69e4511d7b80783564827 (patch)
tree005900e0f74f6c4cecd43a594df46141a31b7276 /res/values
parentb0736fac73b0df95f18234a0494aea3f3fc6c735 (diff)
downloadandroid_packages_apps_Trebuchet-3f4e1423804d64a38cb69e4511d7b80783564827.tar.gz
android_packages_apps_Trebuchet-3f4e1423804d64a38cb69e4511d7b80783564827.tar.bz2
android_packages_apps_Trebuchet-3f4e1423804d64a38cb69e4511d7b80783564827.zip
Minor fixes to Launcher
- Tweaking the AllApps tab padding - Fixing issue where the cling punch out might be in the wrong location - Removing unused dragging code related to drop/scroll area overlap - Tweaking padding so that picking up an icon on the top row does not automatically hover over delete (Bug 5636264) - Fixing issue where multiple bgs in AllApps tab bar line makes it look blurry (Bug 5523822) Change-Id: I707397c231188a9feee8c0856374e0483cf37296
Diffstat (limited to 'res/values')
-rw-r--r--res/values/dimens.xml6
-rw-r--r--res/values/styles.xml4
2 files changed, 5 insertions, 5 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 87c9be8d9..a744ccefb 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -79,9 +79,6 @@
<dimen name="button_bar_width_right_padding">0dp</dimen>
<dimen name="button_bar_height_plus_padding">70dp</dimen>
- <!-- Drag padding to add to the drop targets -->
- <dimen name="drop_target_drag_padding">40dp</dimen>
-
<!-- extra horizontal spacing between mini screen thumbnails ie. in all
apps and in customization mode -->
<dimen name="smallScreenExtraSpacing">0dip</dimen>
@@ -91,6 +88,9 @@
<dimen name="allAppsSmallScreenVerticalMarginLandscape">30dip</dimen>
<dimen name="allAppsSmallScreenVerticalMarginPortrait">60dip</dimen>
+ <!-- Drag padding to add to the bottom of drop targets -->
+ <dimen name="drop_target_drag_padding">14dp</dimen>
+
<!-- padding between the delete zone drawable and text -->
<dimen name="delete_zone_drawable_padding">8dip</dimen>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index ddbdb349f..502a8368c 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -161,8 +161,8 @@
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">match_parent</item>
<item name="android:gravity">center</item>
- <item name="android:paddingLeft">30dp</item>
- <item name="android:paddingRight">30dp</item>
+ <item name="android:paddingLeft">24dp</item>
+ <item name="android:paddingRight">24dp</item>
<item name="android:background">@drawable/tab_widget_indicator_selector</item>
<item name="android:textColor">?android:attr/textColorPrimary</item>
<item name="android:textSize">12sp</item>