OSDN Git Service

Reduce padding between photos, from 96 pixels to 16 dp.
authorChih-Chung Chang <chihchung@google.com>
Mon, 16 Apr 2012 06:34:46 +0000 (14:34 +0800)
committerChih-Chung Chang <chihchung@google.com>
Mon, 16 Apr 2012 06:34:46 +0000 (14:34 +0800)
Change-Id: I62b0013da45b7d7495b34e9e4e1e791bac9c9c1f

src/com/android/gallery3d/ui/PositionController.java

index d190e04..0afcad7 100644 (file)
@@ -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;