Project

General

Profile

« Previous | Next » 

Revision 054fbee1

Added by Leszek Koltunski almost 4 years ago

Reinvent the Pattern Dialog (Part 2)

View differences:

src/main/res/layout/dialog_pattern_child_item.xml
1 1
<?xml version="1.0" encoding="utf-8"?>
2
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="match_parent"
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="fill_parent"
4 4
    android:layout_height="match_parent"
5
    android:orientation="vertical">
5
    android:orientation="vertical" >
6 6

  
7 7
    <TextView
8
        android:id="@+id/sequence"
8
        android:id="@+id/child"
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:paddingLeft="35sp"
14
        />
11
        android:layout_marginTop="5sp"
12
        android:layout_marginBottom="5sp"
13
        android:paddingLeft="35sp"/>
15 14

  
16
    <TextView
17
        android:id="@+id/childItem"
18
        android:layout_width="wrap_content"
19
        android:layout_height="wrap_content"
20
        android:layout_alignParentTop="true"
21
        android:layout_toRightOf="@id/sequence"
22
        />
23

  
24
</RelativeLayout>
15
</LinearLayout>

Also available in: Unified diff