diff options
author | John Reck <jreck@google.com> | 2013-03-06 16:36:45 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2013-03-06 16:38:37 -0800 |
commit | 8ee44cd00a15c442f7b64de3459d3efb58111777 (patch) | |
tree | 2cc8b330a9c0105e250aa33ee0ca482e2e48df35 | |
parent | f2ce69e2ef6395313d0a361f3849e338a7cf6969 (diff) | |
download | android_packages_apps_Snap-8ee44cd00a15c442f7b64de3459d3efb58111777.tar.gz android_packages_apps_Snap-8ee44cd00a15c442f7b64de3459d3efb58111777.tar.bz2 android_packages_apps_Snap-8ee44cd00a15c442f7b64de3459d3efb58111777.zip |
Data provider shim
Bolt the new UI framework on top of the old data model temporarily
to unblock UI work
Change-Id: I2f61f70647faca1f6a95b1f02f719ec4277fa5fb
-rw-r--r-- | res/layout/photo_set.xml | 10 | ||||
-rw-r--r-- | res/layout/photo_set_item.xml | 7 |
2 files changed, 15 insertions, 2 deletions
diff --git a/res/layout/photo_set.xml b/res/layout/photo_set.xml index f6ff637d6..d929cadfb 100644 --- a/res/layout/photo_set.xml +++ b/res/layout/photo_set.xml @@ -5,12 +5,18 @@ android:paddingLeft="8dp" android:paddingRight="8dp" > - <com.android.photos.views.GalleryThumbnailView + <GridView android:id="@id/android:list" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1" - android:drawSelectorOnTop="true" /> + android:drawSelectorOnTop="true" + android:numColumns="auto_fit" + android:stretchMode="columnWidth" + android:columnWidth="200dip" + android:horizontalSpacing="4dip" + android:verticalSpacing="4dip" + android:padding="4dip" /> <TextView android:id="@id/android:empty" diff --git a/res/layout/photo_set_item.xml b/res/layout/photo_set_item.xml new file mode 100644 index 000000000..b56184e59 --- /dev/null +++ b/res/layout/photo_set_item.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?> +<ImageView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="200dip" + android:id="@+id/thumbnail"> + +</ImageView>
\ No newline at end of file |