summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2013-03-12 16:11:18 -0700
committerJohn Reck <jreck@google.com>2013-03-12 16:11:47 -0700
commit967d6c8c9723b925900d389acfbd6391e6060614 (patch)
treed96db1bac5b4f466eb946dc39fd064f531fb058a /res
parent9654b9a7d990241781b6bd03a6926671e7c4257b (diff)
downloadandroid_packages_apps_Snap-967d6c8c9723b925900d389acfbd6391e6060614.tar.gz
android_packages_apps_Snap-967d6c8c9723b925900d389acfbd6391e6060614.tar.bz2
android_packages_apps_Snap-967d6c8c9723b925900d389acfbd6391e6060614.zip
basic activated support
Change-Id: If1c1faf42311ddbc76b617bff5f3c6bdafdef5d1
Diffstat (limited to 'res')
-rw-r--r--res/layout/photo_set.xml9
-rw-r--r--res/layout/photo_set_item.xml13
2 files changed, 14 insertions, 8 deletions
diff --git a/res/layout/photo_set.xml b/res/layout/photo_set.xml
index d929cadfb..3e3d99a04 100644
--- a/res/layout/photo_set.xml
+++ b/res/layout/photo_set.xml
@@ -2,8 +2,8 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:paddingLeft="8dp"
- android:paddingRight="8dp" >
+ android:paddingLeft="4dip"
+ android:paddingRight="4dip">
<GridView
android:id="@id/android:list"
@@ -14,9 +14,8 @@
android:numColumns="auto_fit"
android:stretchMode="columnWidth"
android:columnWidth="200dip"
- android:horizontalSpacing="4dip"
- android:verticalSpacing="4dip"
- android:padding="4dip" />
+ android:horizontalSpacing="1dip"
+ android:verticalSpacing="1dip" />
<TextView
android:id="@id/android:empty"
diff --git a/res/layout/photo_set_item.xml b/res/layout/photo_set_item.xml
index e80957d5e..0f740fad9 100644
--- a/res/layout/photo_set_item.xml
+++ b/res/layout/photo_set_item.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
-<com.android.photos.views.SquareImageView xmlns:android="http://schemas.android.com/apk/res/android"
+<FrameLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:id="@+id/thumbnail">
+ android:background="?android:attr/activatedBackgroundIndicator"
+ android:padding="2dip">
-</com.android.photos.views.SquareImageView> \ No newline at end of file
+ <com.android.photos.views.SquareImageView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/thumbnail" />
+
+</FrameLayout> \ No newline at end of file