diff options
author | Bobby Georgescu <georgescu@google.com> | 2012-08-13 14:27:08 -0700 |
---|---|---|
committer | Bobby Georgescu <georgescu@google.com> | 2012-08-14 11:47:16 -0700 |
commit | f17dbdf94fb5534266336f99bdd8014ace672ea7 (patch) | |
tree | 7fbd06e834030b3bcb6e7f98dd04573ef8c60ad4 /src/com/android/gallery3d/app/Config.java | |
parent | bb99150a872a7265e44ae5bd9eb3ce3534ac12b3 (diff) | |
download | android_packages_apps_Snap-f17dbdf94fb5534266336f99bdd8014ace672ea7.tar.gz android_packages_apps_Snap-f17dbdf94fb5534266336f99bdd8014ace672ea7.tar.bz2 android_packages_apps_Snap-f17dbdf94fb5534266336f99bdd8014ace672ea7.zip |
Gallery reskin: album list spacing, action bar theme
Change-Id: Ic556f22bd25c57ddd0b659a7f43a7a1afbdcb8df
Diffstat (limited to 'src/com/android/gallery3d/app/Config.java')
-rw-r--r-- | src/com/android/gallery3d/app/Config.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/app/Config.java b/src/com/android/gallery3d/app/Config.java index bd4aed1d5..6fb24ec81 100644 --- a/src/com/android/gallery3d/app/Config.java +++ b/src/com/android/gallery3d/app/Config.java @@ -29,6 +29,8 @@ final class Config { public SlotView.Spec slotViewSpec; public AlbumSetSlotRenderer.LabelSpec labelSpec; + public int paddingTop; + public int paddingBottom; public static synchronized AlbumSetPage get(Context context) { if (sInstance == null) { @@ -45,6 +47,9 @@ final class Config { slotViewSpec.rowsPort = r.getInteger(R.integer.albumset_rows_port); slotViewSpec.slotGap = r.getDimensionPixelSize(R.dimen.albumset_slot_gap); + paddingTop = r.getDimensionPixelSize(R.dimen.albumset_padding_top); + paddingBottom = r.getDimensionPixelSize(R.dimen.albumset_padding_bottom); + labelSpec = new AlbumSetSlotRenderer.LabelSpec(); labelSpec.labelBackgroundHeight = r.getDimensionPixelSize( R.dimen.albumset_label_background_height); |