summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2012-04-16 14:34:46 +0800
committerChih-Chung Chang <chihchung@google.com>2012-04-16 14:34:46 +0800
commitaced34ca03fbd76b072dcdce26f4883ac4d1b25c (patch)
treea25edd3c559b8f59a14d32c4eb7842c86621ea8c
parent483203d37da239d9c455239791c1defe2acdfa37 (diff)
downloadandroid_packages_apps_Gallery2-aced34ca03fbd76b072dcdce26f4883ac4d1b25c.tar.gz
android_packages_apps_Gallery2-aced34ca03fbd76b072dcdce26f4883ac4d1b25c.tar.bz2
android_packages_apps_Gallery2-aced34ca03fbd76b072dcdce26f4883ac4d1b25c.zip
Reduce padding between photos, from 96 pixels to 16 dp.
Change-Id: I62b0013da45b7d7495b34e9e4e1e791bac9c9c1f
-rw-r--r--src/com/android/gallery3d/ui/PositionController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/ui/PositionController.java b/src/com/android/gallery3d/ui/PositionController.java
index d190e04ec..0afcad71a 100644
--- a/src/com/android/gallery3d/ui/PositionController.java
+++ b/src/com/android/gallery3d/ui/PositionController.java
@@ -81,7 +81,7 @@ class PositionController {
// about this many boxes on each side.
private static final int BOX_MAX = PhotoView.SCREEN_NAIL_MAX;
- public static final int IMAGE_GAP = 96;
+ public static final int IMAGE_GAP = GalleryUtils.dpToPixel(16);
private static final int HORIZONTAL_SLACK = GalleryUtils.dpToPixel(12);
private Listener mListener;