proper file list handling, file basic stuff dispaying
[pub/Android/ownCloud.git] / res / layout / account_setup.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="fill_parent"
4 android:layout_height="fill_parent"
5 android:background="#F7F7F7"
6 android:focusable="true"
7 android:orientation="vertical" >
8
9 <LinearLayout
10 android:id="@+id/linearLayout7"
11 android:layout_width="fill_parent"
12 android:layout_height="wrap_content"
13 android:layout_gravity="top"
14 android:background="#1D2D44"
15 android:gravity="center_vertical|top"
16 android:orientation="vertical"
17 android:paddingBottom="2pt"
18 android:paddingTop="2pt" >
19
20 <ImageView
21 android:id="@+id/main_header_small"
22 android:layout_width="wrap_content"
23 android:layout_height="wrap_content"
24 android:layout_gravity="center|center_vertical|center_horizontal"
25 android:focusable="true"
26 android:src="@drawable/owncloud_logo_small_white" >
27 </ImageView>
28 </LinearLayout>
29
30 <LinearLayout
31 android:id="@+id/linearLayout2"
32 android:layout_width="fill_parent"
33 android:layout_height="fill_parent"
34 android:layout_gravity="center|center_vertical"
35 android:gravity="center_vertical"
36 android:orientation="vertical" >
37
38 <TableLayout
39 android:id="@+id/tableLayout1"
40 android:layout_width="fill_parent"
41 android:layout_height="wrap_content"
42 android:gravity="center_horizontal" >
43
44 <TableRow
45 android:id="@+id/tableRow1"
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:gravity="center_horizontal" >
49
50 <TextView
51 android:id="@+id/textView1"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:layout_marginBottom="15dip"
55 android:layout_marginTop="15dip"
56 android:text="@string/setup_title"
57 android:textColor="@android:color/black"
58 android:textSize="7pt"
59 android:textStyle="bold" >
60 </TextView>
61 </TableRow>
62
63 <TableRow
64 android:id="@+id/tableRow2"
65 android:layout_width="wrap_content"
66 android:layout_height="wrap_content"
67 android:gravity="center_horizontal"
68 android:weightSum="1.0" >
69
70 <EditText
71 android:id="@+id/host_URL"
72 android:layout_width="fill_parent"
73 android:layout_height="wrap_content"
74 android:layout_weight="0.75"
75 android:hint="@string/setup_hint_address"
76 android:inputType="textUri"
77 android:singleLine="true" >
78
79 <requestFocus>
80 </requestFocus>
81 </EditText>
82 </TableRow>
83
84 <TableRow
85 android:id="@+id/tableRow3"
86 android:layout_width="wrap_content"
87 android:layout_height="wrap_content"
88 android:gravity="center_horizontal"
89 android:weightSum="1.0" >
90
91 <EditText
92 android:id="@+id/account_username"
93 android:layout_width="fill_parent"
94 android:layout_height="wrap_content"
95 android:layout_weight=".75"
96 android:hint="@string/setup_hint_username"
97 android:singleLine="true"
98 android:textColor="@android:color/black" >
99
100 </EditText>
101 </TableRow>
102
103 <TableRow
104 android:id="@+id/tableRow4"
105 android:layout_width="fill_parent"
106 android:layout_height="wrap_content"
107 android:gravity="center_horizontal"
108 android:weightSum="1.0" >
109
110 <EditText
111 android:id="@+id/account_password"
112 android:layout_width="fill_parent"
113 android:layout_height="wrap_content"
114 android:layout_weight=".75"
115 android:hint="@string/setup_hint_password"
116 android:inputType="textPassword"
117 android:singleLine="true"
118 android:textColor="@android:color/black" >
119
120 </EditText>
121 </TableRow>
122 </TableLayout>
123
124 <LinearLayout
125 android:id="@+id/linearLayout1"
126 android:layout_width="fill_parent"
127 android:layout_height="wrap_content"
128 android:gravity="center_horizontal"
129 android:orientation="horizontal"
130 android:weightSum="1.0" >
131
132 <Button
133 android:id="@+id/buttonOK"
134 android:layout_width="wrap_content"
135 android:layout_height="wrap_content"
136 android:layout_weight=".50"
137 android:onClick="onOkClick"
138 android:text="@string/setup_btn_connect" >
139 </Button>
140 </LinearLayout>
141 </LinearLayout>
142
143 </LinearLayout>