/android/import-contacts

To get this branch, use:
bzr branch http://bzr.ed.am/android/import-contacts

« back to all changes in this revision

Viewing changes to res/layout/doit.xml

  • Committer: edam
  • Date: 2009-01-11 16:47:01 UTC
  • Revision ID: edam@waxworlds.org-20090111164701-tvnnv5axo6jd7ck0
- added GPL header comments to all files
- added GPLv3 to project as COPYING

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
27
27
 
28
 
        <ScrollView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" >
29
 
                <LinearLayout android:layout_height="fill_parent" android:orientation="vertical" android:layout_width="fill_parent">
30
 
 
31
 
                        <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/doit_title" android:textAppearance="?android:attr/textAppearanceMedium" />
32
 
                        <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="20dp"/>
33
 
 
34
 
                        <LinearLayout android:id="@+id/doit_page_1" android:layout_height="wrap_content" android:layout_width="fill_parent" android:orientation="vertical">
35
 
 
36
 
                                <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/doit_ready" />
37
 
 
38
 
                                <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" />
39
 
                                <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center" android:weightSum="3">
40
 
                                        <Button android:text="@string/doit_begin" android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_weight="1" android:id="@+id/doit_begin" />
41
 
                                </LinearLayout>
42
 
 
 
28
        <LinearLayout android:layout_height="wrap_content" android:orientation="vertical" android:layout_weight="1" android:layout_width="fill_parent">
 
29
 
 
30
                <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/doit_title" android:textAppearance="?android:attr/textAppearanceMedium" />
 
31
                <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="20dp"/>
 
32
 
 
33
                <LinearLayout android:id="@+id/doit_page_1" android:layout_height="wrap_content" android:layout_width="fill_parent" android:orientation="vertical">
 
34
 
 
35
                        <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/doit_ready" />
 
36
 
 
37
                        <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" />
 
38
                        <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center" android:weightSum="3">
 
39
                                <Button android:text="@string/doit_begin" android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_weight="1" android:id="@+id/doit_begin" />
43
40
                        </LinearLayout>
44
41
 
45
 
                        <RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/doit_page_2" android:layout_marginLeft="10dp" android:layout_marginRight="10dp">
46
 
 
47
 
                                <ProgressBar android:id="@+id/doit_progress" style="?android:attr/progressBarStyleHorizontal" android:layout_height="wrap_content" android:layout_width="fill_parent" />
48
 
                                <TextView android:id="@+id/doit_percentage" android:layout_below="@id/doit_progress" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
49
 
                                <TextView android:id="@+id/doit_outof" android:layout_below="@id/doit_progress" android:layout_alignRight="@id/doit_progress" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
50
 
 
51
 
                                <LinearLayout android:layout_below="@id/doit_percentage" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical">
52
 
                                        <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" />
53
 
 
54
 
                                        <TableLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
55
 
                                                <TableRow android:layout_width="wrap_content" android:layout_height="wrap_content">
56
 
                                                        <TextView android:paddingRight="20dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/doit_creates" />
57
 
                                                        <TextView android:id="@+id/doit_creates" android:layout_width="wrap_content" android:layout_height="wrap_content" />
58
 
                                                </TableRow>
59
 
                                                <TableRow android:layout_width="wrap_content" android:layout_height="wrap_content">
60
 
                                                        <TextView android:paddingRight="20dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/doit_overwrites" />
61
 
                                                        <TextView android:id="@+id/doit_overwrites" android:layout_width="wrap_content" android:layout_height="wrap_content" />
62
 
                                                </TableRow>
63
 
                                                <TableRow android:layout_width="wrap_content" android:layout_height="wrap_content">
64
 
                                                        <TextView android:paddingRight="20dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/doit_merges" />
65
 
                                                        <TextView android:id="@+id/doit_merges" android:layout_width="wrap_content" android:layout_height="wrap_content" />
66
 
                                                </TableRow>
67
 
                                                <TableRow android:layout_width="wrap_content" android:layout_height="wrap_content">
68
 
                                                        <TextView android:paddingRight="20dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/doit_skips" />
69
 
                                                        <TextView android:id="@+id/doit_skips" android:layout_width="wrap_content" android:layout_height="wrap_content" />
70
 
                                                </TableRow>
71
 
                                        </TableLayout>
72
 
 
73
 
                                        <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" />
74
 
 
75
 
                                        <LinearLayout android:id="@+id/doit_closedisplay" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:visibility="gone" >
76
 
                                                <TextView android:id="@+id/doit_alldone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/doit_alldone" android:gravity="center" android:textAppearance="?android:attr/textAppearanceMedium" android:paddingBottom="10dp" android:visibility="gone" />
77
 
                                                <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center" android:weightSum="3">
78
 
                                                        <Button android:text="@string/doit_close" android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_weight="1" android:id="@+id/doit_close" />
79
 
                                                </LinearLayout>
 
42
                </LinearLayout>
 
43
 
 
44
                <RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/doit_page_2" android:layout_marginLeft="10dp" android:layout_marginRight="10dp">
 
45
 
 
46
                        <ProgressBar android:id="@+id/doit_progress" style="?android:attr/progressBarStyleHorizontal" android:layout_height="wrap_content" android:layout_width="fill_parent" />
 
47
                        <TextView android:id="@+id/doit_percentage" android:layout_below="@id/doit_progress" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
 
48
                        <TextView android:id="@+id/doit_outof" android:layout_below="@id/doit_progress" android:layout_alignRight="@id/doit_progress" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
 
49
 
 
50
                        <LinearLayout android:layout_below="@id/doit_percentage" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical">
 
51
                                <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" />
 
52
 
 
53
                                <TableLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
 
54
                                        <TableRow android:layout_width="wrap_content" android:layout_height="wrap_content">
 
55
                                                <TextView android:paddingRight="20dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/doit_creates" />
 
56
                                                <TextView android:id="@+id/doit_creates" android:layout_width="wrap_content" android:layout_height="wrap_content" />
 
57
                                        </TableRow>
 
58
                                        <TableRow android:layout_width="wrap_content" android:layout_height="wrap_content">
 
59
                                                <TextView android:paddingRight="20dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/doit_overwrites" />
 
60
                                                <TextView android:id="@+id/doit_overwrites" android:layout_width="wrap_content" android:layout_height="wrap_content" />
 
61
                                        </TableRow>
 
62
                                        <TableRow android:layout_width="wrap_content" android:layout_height="wrap_content">
 
63
                                                <TextView android:paddingRight="20dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/doit_merges" />
 
64
                                                <TextView android:id="@+id/doit_merges" android:layout_width="wrap_content" android:layout_height="wrap_content" />
 
65
                                        </TableRow>
 
66
                                        <TableRow android:layout_width="wrap_content" android:layout_height="wrap_content">
 
67
                                                <TextView android:paddingRight="20dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/doit_skips" />
 
68
                                                <TextView android:id="@+id/doit_skips" android:layout_width="wrap_content" android:layout_height="wrap_content" />
 
69
                                        </TableRow>
 
70
                                </TableLayout>
 
71
 
 
72
                                <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" />
 
73
 
 
74
                                <LinearLayout android:id="@+id/doit_closedisplay" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:visibility="gone" >
 
75
                                        <TextView android:id="@+id/doit_alldone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/doit_alldone" android:gravity="center" android:textAppearance="?android:attr/textAppearanceMedium" android:paddingBottom="10dp" android:visibility="gone" />
 
76
                                        <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center" android:weightSum="3">
 
77
                                                <Button android:text="@string/doit_close" android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_weight="1" android:id="@+id/doit_close" />
80
78
                                        </LinearLayout>
81
 
 
82
79
                                </LinearLayout>
83
80
 
84
 
                        </RelativeLayout>
85
 
 
86
 
                </LinearLayout>
87
 
        </ScrollView>
 
81
                        </LinearLayout>
 
82
 
 
83
                </RelativeLayout>
 
84
 
 
85
        </LinearLayout>
88
86
 
89
87
        <LinearLayout android:orientation="horizontal" android:layout_height="wrap_content" android:layout_width="fill_parent" android:gravity="right" android:background="@android:drawable/bottom_bar" android:weightSum="3">
90
88
                <Button android:id="@+id/back" android:text="@string/back" android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_weight="1" android:enabled="false"/>