diff options
author | Bobby Georgescu <georgescu@google.com> | 2013-03-15 14:38:04 -0700 |
---|---|---|
committer | Bobby Georgescu <georgescu@google.com> | 2013-03-15 15:49:11 -0700 |
commit | 301059e8e1b39fdcdd52d85c7cf93355f68d9ccc (patch) | |
tree | 1bc144b7d7e953d29988f54890a011c190048d10 /res/layout/album_set_item.xml | |
parent | 856b1d5b519f0bed32f5e95146e306248a18c288 (diff) | |
download | android_packages_apps_Snap-301059e8e1b39fdcdd52d85c7cf93355f68d9ccc.tar.gz android_packages_apps_Snap-301059e8e1b39fdcdd52d85c7cf93355f68d9ccc.tar.bz2 android_packages_apps_Snap-301059e8e1b39fdcdd52d85c7cf93355f68d9ccc.zip |
Improve AlbumSet UI in new gallery
Change-Id: I31cbf7cf8c0c7b5f5f3413a59ad94142b13870d2
Diffstat (limited to 'res/layout/album_set_item.xml')
-rw-r--r-- | res/layout/album_set_item.xml | 57 |
1 files changed, 27 insertions, 30 deletions
diff --git a/res/layout/album_set_item.xml b/res/layout/album_set_item.xml index bdecd5fd1..ad0e0db20 100644 --- a/res/layout/album_set_item.xml +++ b/res/layout/album_set_item.xml @@ -1,42 +1,39 @@ <?xml version="1.0" encoding="utf-8"?> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="wrap_content" android:layout_width="match_parent" - android:background="#FFF" > + android:orientation="vertical" + android:background="?android:attr/activatedBackgroundIndicator" + android:padding="2dp" > - <TextView - android:id="@+id/album_set_item_title" - android:layout_width="wrap_content" + <LinearLayout android:layout_height="wrap_content" - android:layout_alignParentLeft="true" - android:layout_alignParentTop="true" - android:layout_marginLeft="10dp" - android:layout_marginTop="10dp" - android:ellipsize="end" - android:singleLine="true" - android:textAppearance="?android:attr/textAppearanceMedium" /> + android:layout_width="match_parent" + android:orientation="vertical" + android:padding="10dp" + android:background="#FFF" > - <TextView - android:id="@+id/album_set_item_date" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignLeft="@+id/album_set_item_title" - android:layout_below="@+id/album_set_item_title" - android:layout_marginBottom="10dp" - android:textAppearance="?android:attr/textAppearanceSmall" /> + <TextView + android:id="@+id/album_set_item_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:ellipsize="end" + android:singleLine="true" + android:textAppearance="?android:attr/textAppearanceMedium" /> + + <TextView + android:id="@+id/album_set_item_count" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:ellipsize="end" + android:singleLine="true" + android:textAppearance="?android:attr/textAppearanceSmall" + android:textColor="#AAA" /> + </LinearLayout> <ImageView android:id="@+id/album_set_item_image" android:layout_width="match_parent" android:layout_height="@dimen/album_set_item_image_height" - android:layout_below="@+id/album_set_item_date" android:scaleType="centerCrop" /> - - <ProgressBar - android:id="@+id/album_set_item_upload_progress" - style="?android:attr/progressBarStyleHorizontal" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:visibility="invisible" - android:layout_alignParentBottom="true" /> -</RelativeLayout>
\ No newline at end of file +</LinearLayout>
\ No newline at end of file |