Initial commit
[mustard2:mustard2.git] / res / layout / account_setup_basics.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- 
3  * MUSTARD: Android's Client for StatusNet
4  * 
5  * Copyright (C) 2009-2010 macno.org, Michele Azzolari
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15  * for more details.
16  *
17  * You should have received a copy of the GNU General Public License along
18  * with this program; if not, write to the Free Software Foundation, Inc.,
19  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 -->
21
22 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
23     android:layout_width="fill_parent"
24     android:layout_height="fill_parent"
25     android:orientation="vertical"
26       >
27       <TextView
28         android:text="@string/account_setup_basics_instructions"
29         android:layout_height="wrap_content"
30         android:layout_width="fill_parent"
31         android:textAppearance="?android:attr/textAppearanceMedium"
32         android:textColor="?android:attr/textColorPrimary"
33           />
34     <EditText
35         android:id="@+id/account_nickname"
36         android:hint="@string/account_setup_basics_nickname_hint"
37         android:inputType="text"
38         android:imeOptions="actionNext"
39         android:layout_height="wrap_content"
40         android:layout_width="fill_parent"
41         />
42     <EditText
43         android:id="@+id/account_password"
44         android:hint="@string/account_setup_basics_password_hint"
45         android:inputType="textPassword"
46         android:imeOptions="actionNext"
47         android:layout_height="wrap_content"
48         android:layout_width="fill_parent"
49         />
50     <EditText
51         android:id="@+id/account_instance"
52         android:hint="@string/account_setup_basics_instance_hint"
53         android:inputType="textUri"
54         android:imeOptions="actionDone"
55         android:layout_height="wrap_content"
56         android:layout_width="fill_parent"
57         android:nextFocusDown="@+id/next"
58         />
59     <View
60         android:layout_width="fill_parent"
61         android:layout_height="0px"
62         android:layout_weight="1"
63         />
64     <RelativeLayout
65         android:layout_width="fill_parent"
66         android:layout_height="54dip"
67         android:background="@android:drawable/bottom_bar"
68         >
69         <Button
70             android:id="@+id/oauth_setup"
71             android:text="@string/account_setup_basics_oauth_setup_action"
72             android:layout_height="wrap_content"
73             android:layout_width="wrap_content"
74             android:minWidth="@dimen/button_minWidth"
75             android:layout_alignParentLeft="true"
76             android:layout_centerVertical="true"
77             />
78         <Button
79             android:id="@+id/next"
80             android:text="@string/btn_next_action"
81             android:layout_height="wrap_content"
82             android:layout_width="wrap_content"
83             android:minWidth="@dimen/button_minWidth"
84             android:drawableRight="@drawable/button_indicator_next"
85             android:layout_alignParentRight="true"
86             android:layout_centerVertical="true"
87             />
88     </RelativeLayout>
89 </LinearLayout>