Changeset View
Changeset View
Standalone View
Standalone View
res/layout/list_item_category.xml
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
---|---|---|---|---|---|
2 | <LinearLayout | 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | xmlns:android="http://schemas.android.com/apk/res/android" | | |||
4 | android:layout_width="fill_parent" | 3 | android:layout_width="fill_parent" | ||
5 | android:layout_height="wrap_content" | 4 | android:layout_height="wrap_content" | ||
6 | android:orientation="vertical"> | 5 | android:orientation="vertical"> | ||
7 | 6 | | |||
8 | <TextView xmlns:android="http://schemas.android.com/apk/res/android" | 7 | <TextView xmlns:android="http://schemas.android.com/apk/res/android" | ||
9 | android:drawableBottom="@drawable/text_section_header" | 8 | android:id="@+id/list_item_category_text" | ||
10 | android:textStyle="bold" | 9 | android:layout_width="match_parent" | ||
10 | android:layout_height="wrap_content" | ||||
11 | android:layout_marginTop="8dp" | 11 | android:layout_marginTop="8dp" | ||
12 | android:textColor="?android:textColorSecondary" | 12 | android:drawableBottom="@drawable/text_section_header" | ||
13 | android:drawablePadding="4dp" | 13 | android:drawablePadding="4dp" | ||
14 | android:textSize="14sp" | | |||
15 | android:textAllCaps="true" | | |||
16 | android:paddingLeft="8dip" | 14 | android:paddingLeft="8dip" | ||
17 | android:paddingRight="8dip" | 15 | android:paddingRight="8dip" | ||
18 | android:layout_height="wrap_content" | 16 | android:textAllCaps="true" | ||
19 | android:layout_width="match_parent" | 17 | android:textColor="?android:textColorSecondary" | ||
20 | android:id="@+id/list_item_category_text" | 18 | android:textSize="14sp" | ||
21 | /> | 19 | android:textStyle="bold" /> | ||
22 | 20 | | |||
23 | <TextView | 21 | <TextView | ||
22 | android:id="@+id/list_item_category_empty_placeholder" | ||||
24 | android:layout_width="wrap_content" | 23 | android:layout_width="wrap_content" | ||
25 | android:layout_height="wrap_content" | 24 | android:layout_height="wrap_content" | ||
25 | android:layout_gravity="center" | ||||
26 | android:layout_margin="10dip" | 26 | android:layout_margin="10dip" | ||
27 | android:visibility="gone" | | |||
28 | android:textAppearance="?android:attr/textAppearanceSmall" | | |||
29 | android:text="@string/device_list_empty" | 27 | android:text="@string/device_list_empty" | ||
30 | android:id="@+id/list_item_category_empty_placeholder" | 28 | android:textAppearance="?android:attr/textAppearanceSmall" | ||
31 | android:layout_gravity="center" /> | 29 | android:visibility="gone" /> | ||
32 | | ||||
33 | 30 | | |||
34 | </LinearLayout> | 31 | </LinearLayout> |