model for file representation
[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:textColor="@android:color/black"
78 android:singleLine="true" >
79
80 <requestFocus>
81 </requestFocus>
82 </EditText>
83 </TableRow>
84
85 <TableRow
86 android:id="@+id/tableRow3"
87 android:layout_width="wrap_content"
88 android:layout_height="wrap_content"
89 android:gravity="center_horizontal"
90 android:weightSum="1.0" >
91
92 <EditText
93 android:id="@+id/account_username"
94 android:layout_width="fill_parent"
95 android:layout_height="wrap_content"
96 android:layout_weight=".75"
97 android:hint="@string/setup_hint_username"
98 android:singleLine="true"
99 android:textColor="@android:color/black" >
100
101 </EditText>
102 </TableRow>
103
104 <TableRow
105 android:id="@+id/tableRow4"
106 android:layout_width="fill_parent"
107 android:layout_height="wrap_content"
108 android:gravity="center_horizontal"
109 android:weightSum="1.0" >
110
111 <EditText
112 android:id="@+id/account_password"
113 android:layout_width="fill_parent"
114 android:layout_height="wrap_content"
115 android:layout_weight=".75"
116 android:hint="@string/setup_hint_password"
117 android:inputType="textPassword"
118 android:singleLine="true"
119 android:textColor="@android:color/black" >
120
121 </EditText>
122 </TableRow>
123 <TableRow android:id="@+id/tableRow5"
124 android:layout_width="fill_parent"
125 android:layout_height="wrap_content"
126 android:gravity="center_horizontal"
127 android:weightSum="1.0">
128
129 <CheckBox
130 android:id="@+id/show_password"
131 android:layout_width="fill_parent"
132 android:layout_height="wrap_content"
133 android:layout_weight=".75"
134 android:hint="@string/setup_hint_show_password"
135 android:textColor="@android:color/black"
136 android:onClick="onCheckboxClick"/>
137
138 </TableRow>
139 </TableLayout>
140
141 <LinearLayout
142 android:id="@+id/linearLayout1"
143 android:layout_width="fill_parent"
144 android:layout_height="wrap_content"
145 android:gravity="center_horizontal"
146 android:orientation="horizontal"
147 android:weightSum="1.0" >
148
149 <Button
150 android:id="@+id/buttonOK"
151 android:layout_width="wrap_content"
152 android:layout_height="wrap_content"
153 android:layout_weight=".50"
154 android:onClick="onOkClick"
155 android:textColor="@android:color/black"
156 android:text="@string/setup_btn_connect" >
157 </Button>
158 </LinearLayout>
159 </LinearLayout>
160
161 </LinearLayout>