summaryrefslogtreecommitdiffstats
path: root/res/layout/album.xml
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2012-09-18 15:58:46 -0400
committerChris Wren <cwren@android.com>2012-09-19 13:26:30 -0400
commite38c0c80e3e9b3b835e5c2e014ccf23e29663396 (patch)
treee2f13ea1a56b9f2c3738c91a2986684a690bacc4 /res/layout/album.xml
parentc6175b1e065fb544ea3744a991a33304abc2f8ed (diff)
downloadandroid_packages_screensavers_PhotoTable-e38c0c80e3e9b3b835e5c2e014ccf23e29663396.tar.gz
android_packages_screensavers_PhotoTable-e38c0c80e3e9b3b835e5c2e014ccf23e29663396.tar.bz2
android_packages_screensavers_PhotoTable-e38c0c80e3e9b3b835e5c2e014ccf23e29663396.zip
Segment album list by account.
Bug: 7162806 Change-Id: I3a7f2c1a9e9d0ff299f4d5a8536013b9ec8f52ba
Diffstat (limited to 'res/layout/album.xml')
-rw-r--r--res/layout/album.xml35
1 files changed, 31 insertions, 4 deletions
diff --git a/res/layout/album.xml b/res/layout/album.xml
index 890d96c..ee96c6c 100644
--- a/res/layout/album.xml
+++ b/res/layout/album.xml
@@ -13,7 +13,34 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="horizontal" >
- <CheckBox android:id="@+id/enabled" />
-</LinearLayout >
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/widget_frame"
+ android:minHeight="48dp"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="?android:attr/selectableItemBackground" >
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="10dp"
+ android:layout_marginLeft="20dp"
+ android:layout_marginRight="6dp"
+ android:layout_marginTop="10dp"
+ android:layout_centerVertical="true"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <CheckBox
+ android:id="@+id/enabled"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_toRightOf="@android:id/title"
+ android:layout_marginRight="20dp"
+ android:duplicateParentState="true" />
+
+</RelativeLayout>