summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2013-06-11 19:37:43 -0700
committernicolasroard <nicolasroard@google.com>2013-06-11 19:39:22 -0700
commit7c050f5d486e5a2ddd205a64d3abb1f64bc58637 (patch)
treeba6b94b8d606a845d98a99387b85b53145221d45 /res
parenta4165b172691b5e9eaff8ee853045f4720e65456 (diff)
downloadandroid_packages_apps_Snap-7c050f5d486e5a2ddd205a64d3abb1f64bc58637.zip
android_packages_apps_Snap-7c050f5d486e5a2ddd205a64d3abb1f64bc58637.tar.gz
android_packages_apps_Snap-7c050f5d486e5a2ddd205a64d3abb1f64bc58637.tar.bz2
Fix icon sizes and jaggies
bug:9105608 bug:8791729 Change-Id: I828e9d4daf4025f53d505a3412c27dd8c54a607e
Diffstat (limited to 'res')
-rw-r--r--res/layout/filtershow_category_panel_new.xml4
-rw-r--r--res/values-large/filtershow_values.xml6
-rw-r--r--res/values-xlarge/filtershow_values.xml6
-rw-r--r--res/values/filtershow_values.xml5
4 files changed, 19 insertions, 2 deletions
diff --git a/res/layout/filtershow_category_panel_new.xml b/res/layout/filtershow_category_panel_new.xml
index 0dce498..e98f29e 100644
--- a/res/layout/filtershow_category_panel_new.xml
+++ b/res/layout/filtershow_category_panel_new.xml
@@ -30,8 +30,8 @@
<com.android.gallery3d.filtershow.category.CategoryTrack
android:id="@+id/listItems"
android:layout_width="match_parent"
- android:layout_height="128dip"
- custom:iconSize="84dip"
+ android:layout_height="@dimen/category_panel_height"
+ custom:iconSize="@dimen/category_panel_icon_size"
android:divider="@android:color/transparent"
android:dividerPadding="8dip"
/>
diff --git a/res/values-large/filtershow_values.xml b/res/values-large/filtershow_values.xml
index 1098ee0..3b05c2c 100644
--- a/res/values-large/filtershow_values.xml
+++ b/res/values-large/filtershow_values.xml
@@ -17,4 +17,10 @@
<resources>
<!-- Specify the screen orientation -->
<bool name="only_use_portrait">false</bool>
+
+ <!-- Category Panel Height -->
+ <dimen name="category_panel_height">94dip</dimen>
+
+ <!-- Category Panel Icon Size -->
+ <dimen name="category_panel_icon_size">72dip</dimen>
</resources> \ No newline at end of file
diff --git a/res/values-xlarge/filtershow_values.xml b/res/values-xlarge/filtershow_values.xml
index 1098ee0..1b47f3f 100644
--- a/res/values-xlarge/filtershow_values.xml
+++ b/res/values-xlarge/filtershow_values.xml
@@ -17,4 +17,10 @@
<resources>
<!-- Specify the screen orientation -->
<bool name="only_use_portrait">false</bool>
+
+ <!-- Category Panel Height -->
+ <dimen name="category_panel_height">106dip</dimen>
+
+ <!-- Category Panel Icon Size -->
+ <dimen name="category_panel_icon_size">84dip</dimen>
</resources> \ No newline at end of file
diff --git a/res/values/filtershow_values.xml b/res/values/filtershow_values.xml
index 53971b8..a01197d 100644
--- a/res/values/filtershow_values.xml
+++ b/res/values/filtershow_values.xml
@@ -21,4 +21,9 @@
<!-- Text size for the state panel -->
<dimen name="state_panel_text_size">16dip</dimen>
+ <!-- Category Panel Height -->
+ <dimen name="category_panel_height">86dip</dimen>
+
+ <!-- Category Panel Icon Size -->
+ <dimen name="category_panel_icon_size">64dip</dimen>
</resources> \ No newline at end of file