summaryrefslogtreecommitdiffstats
path: root/res/layout/album_set_item.xml
blob: ad0e0db2070578f0d43b068e98ad015dea988e25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_height="wrap_content"
    android:layout_width="match_parent"
    android:orientation="vertical"
    android:background="?android:attr/activatedBackgroundIndicator"
    android:padding="2dp" >

    <LinearLayout
        android:layout_height="wrap_content"
        android:layout_width="match_parent"
        android:orientation="vertical"
        android:padding="10dp"
        android:background="#FFF" >

        <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:scaleType="centerCrop" />
</LinearLayout>