res/layout/create_account.xml
author Da Risk <da_risk@beem-project.com>
Sat, 22 Sep 2012 03:21:58 +0200
changeset 986 2c85a0f62ab0
parent 952 0867bf998775
child 995 6318bee856fd
permissions -rw-r--r--
Rework the account wizard using fragments.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
212
bbc0b169cdf0 Issues #124, #67, #88
dasilvj
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
986
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
     2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
506
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 489
diff changeset
     3
	android:layout_width="fill_parent" android:layout_height="fill_parent"
986
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
     4
	android:orientation="vertical" >
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
     5
	
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
     6
	<ScrollView android:layout_width="fill_parent" android:layout_height="0dip"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
     7
	    android:layout_weight="1" >
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
     8
	<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
     9
	    android:orientation="vertical" >
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    10
	    <ImageView android:id="@+id/logo"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    11
		android:layout_width="fill_parent" android:layout_height="wrap_content"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    12
		android:layout_marginTop="15dp"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    13
		android:layout_marginBottom="30dp"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    14
		android:src="@drawable/logo"/>
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    15
	    
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    16
		<TextView
256
35f81983d351 Feature #143
nikita@localhost
parents: 230
diff changeset
    17
			android:layout_width="fill_parent" android:layout_height="wrap_content"
35f81983d351 Feature #143
nikita@localhost
parents: 230
diff changeset
    18
			android:text="@string/create_account_username" style="@style/Label" />
212
bbc0b169cdf0 Issues #124, #67, #88
dasilvj
parents:
diff changeset
    19
		<EditText android:id="@+id/create_account_username"
489
77c573c8217e some improvements about input methods
Da Risk <darisk972@gmail.com>
parents: 256
diff changeset
    20
			android:inputType="textEmailAddress" android:imeOptions="actionNext"
256
35f81983d351 Feature #143
nikita@localhost
parents: 230
diff changeset
    21
			android:layout_width="fill_parent" android:layout_height="wrap_content"
767
74a987c3efb5 Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents: 506
diff changeset
    22
			android:singleLine="true"
950
364045ee3d8e add an hint about account jid
Nikita Kozlov <nikita@elyzion.net>
parents: 767
diff changeset
    23
			android:hint="beem@beem-project.com "
767
74a987c3efb5 Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents: 506
diff changeset
    24
			android:contentDescription="@string/create_account_username"/>
986
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    25
		<TextView
256
35f81983d351 Feature #143
nikita@localhost
parents: 230
diff changeset
    26
			android:layout_width="fill_parent" android:layout_height="wrap_content"
35f81983d351 Feature #143
nikita@localhost
parents: 230
diff changeset
    27
			android:text="@string/create_account_password" style="@style/Label" />
212
bbc0b169cdf0 Issues #124, #67, #88
dasilvj
parents:
diff changeset
    28
		<EditText android:id="@+id/create_account_password"
256
35f81983d351 Feature #143
nikita@localhost
parents: 230
diff changeset
    29
			android:layout_width="fill_parent" android:layout_height="wrap_content"
489
77c573c8217e some improvements about input methods
Da Risk <darisk972@gmail.com>
parents: 256
diff changeset
    30
			android:inputType="textPassword" android:imeOptions="actionNext"
986
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    31
			android:singleLine="true"
767
74a987c3efb5 Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents: 506
diff changeset
    32
			android:contentDescription="@string/create_account_password"/>
986
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    33
		<TextView
256
35f81983d351 Feature #143
nikita@localhost
parents: 230
diff changeset
    34
			android:layout_width="fill_parent" android:layout_height="wrap_content"
35f81983d351 Feature #143
nikita@localhost
parents: 230
diff changeset
    35
			android:text="@string/create_account_confirm_password" style="@style/Label" />
212
bbc0b169cdf0 Issues #124, #67, #88
dasilvj
parents:
diff changeset
    36
		<EditText android:id="@+id/create_account_confirm_password"
256
35f81983d351 Feature #143
nikita@localhost
parents: 230
diff changeset
    37
			android:layout_width="fill_parent" android:layout_height="wrap_content"
489
77c573c8217e some improvements about input methods
Da Risk <darisk972@gmail.com>
parents: 256
diff changeset
    38
			android:inputType="textPassword" android:imeOptions="actionNext"
986
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    39
			android:singleLine="true"
767
74a987c3efb5 Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents: 506
diff changeset
    40
			android:contentDescription="@string/create_account_confirm_password"/>
986
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    41
212
bbc0b169cdf0 Issues #124, #67, #88
dasilvj
parents:
diff changeset
    42
	</LinearLayout>
986
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    43
	</ScrollView>
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    44
	
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    45
	<RelativeLayout
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    46
	android:gravity="right|center_vertical"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    47
	android:layout_height="wrap_content"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    48
	android:layout_width="fill_parent"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    49
	android:background="@drawable/bottombar" >
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    50
	<Button
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    51
	    android:id="@+id/next"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    52
	    android:text="@string/Continue"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    53
	    android:minWidth="100dp"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    54
	    android:layout_height="wrap_content"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    55
	    android:layout_width="wrap_content"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    56
	    android:drawableRight="@drawable/button_indicator_next"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    57
	    android:layout_alignParentRight="true"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    58
	    android:layout_centerVertical="true"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    59
	    android:enabled="false"
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    60
	    />
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    61
    </RelativeLayout>
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    62
	
2c85a0f62ab0 Rework the account wizard using fragments.
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    63
</LinearLayout>