Revision 054fbee1
Added by Leszek Koltunski almost 4 years ago
src/main/res/layout/dialog_pattern_group_item.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="utf-8"?> |
2 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2 |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3 | 3 |
android:layout_width="fill_parent" |
4 | 4 |
android:layout_height="match_parent" |
5 |
android:orientation="vertical" >
|
|
5 |
android:orientation="horizontal">
|
|
6 | 6 |
|
7 | 7 |
<TextView |
8 | 8 |
android:id="@+id/heading" |
9 | 9 |
android:layout_width="wrap_content" |
10 | 10 |
android:layout_height="wrap_content" |
11 |
android:layout_alignParentLeft="true" |
|
12 |
android:layout_alignParentTop="true" |
|
13 |
android:gravity="left" |
|
11 | 14 |
android:paddingLeft="35sp" |
12 |
android:textStyle="bold" /> |
|
15 |
android:textStyle="bold" |
|
16 |
/> |
|
13 | 17 |
|
14 |
</LinearLayout> |
|
18 |
<TextView |
|
19 |
android:id="@+id/counter" |
|
20 |
android:layout_width="wrap_content" |
|
21 |
android:layout_height="wrap_content" |
|
22 |
android:layout_alignParentRight="true" |
|
23 |
android:gravity="right" |
|
24 |
android:layout_toRightOf="@id/heading" |
|
25 |
android:paddingRight="10sp" |
|
26 |
android:textStyle="bold" |
|
27 |
/> |
|
28 |
|
|
29 |
</RelativeLayout> |
Also available in: Unified diff
Reinvent the Pattern Dialog (Part 2)