summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Cleron <mcleron@google.com>2009-09-24 23:57:54 -0700
committerJoe Onorato <joeo@android.com>2009-11-10 21:12:52 -0800
commitc23c549af8435a92830c36031fa3620a9824ed63 (patch)
treed4456ed363a16df4cb137021a94a8a847248c8c5
parent1325f557bb2646cbaf00ed7d1de42b47cf59b895 (diff)
downloadandroid_packages_apps_Trebuchet-c23c549af8435a92830c36031fa3620a9824ed63.tar.gz
android_packages_apps_Trebuchet-c23c549af8435a92830c36031fa3620a9824ed63.tar.bz2
android_packages_apps_Trebuchet-c23c549af8435a92830c36031fa3620a9824ed63.zip
Fix bug 2122011: Force a dimension for live folder icons
-rw-r--r--res/layout/application_list.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/res/layout/application_list.xml b/res/layout/application_list.xml
index 39639ba86..29f7400f1 100644
--- a/res/layout/application_list.xml
+++ b/res/layout/application_list.xml
@@ -26,11 +26,10 @@
android:orientation="horizontal">
<ImageView android:id="@+id/icon"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_width="@android:dimen/app_icon_size"
+ android:layout_height="@android:dimen/app_icon_size"
android:layout_gravity="center_vertical"
-
- android:scaleType="center" />
+ android:scaleType="fitCenter" />
<LinearLayout
android:layout_width="0dip"