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.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="fill_parent" android:layout_height="fill_parent"
	android:orientation="vertical" >
	
	<ScrollView android:layout_width="fill_parent" android:layout_height="0dip"
	    android:layout_weight="1" >
	<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent"
	    android:orientation="vertical" >
	    <ImageView android:id="@+id/logo"
		android:layout_width="fill_parent" android:layout_height="wrap_content"
		android:layout_marginTop="15dp"
		android:layout_marginBottom="30dp"
		android:src="@drawable/logo"/>
	    
		<TextView
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:text="@string/create_account_username" style="@style/Label" />
		<EditText android:id="@+id/create_account_username"
			android:inputType="textEmailAddress" android:imeOptions="actionNext"
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:singleLine="true"
			android:hint="beem@beem-project.com "
			android:contentDescription="@string/create_account_username"/>
		<TextView
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:text="@string/create_account_password" style="@style/Label" />
		<EditText android:id="@+id/create_account_password"
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:inputType="textPassword" android:imeOptions="actionNext"
			android:singleLine="true"
			android:contentDescription="@string/create_account_password"/>
		<TextView
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:text="@string/create_account_confirm_password" style="@style/Label" />
		<EditText android:id="@+id/create_account_confirm_password"
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:inputType="textPassword" android:imeOptions="actionNext"
			android:singleLine="true"
			android:contentDescription="@string/create_account_confirm_password"/>

	</LinearLayout>
	</ScrollView>
	
	<RelativeLayout
	android:gravity="right|center_vertical"
	android:layout_height="wrap_content"
	android:layout_width="fill_parent"
	android:background="@drawable/bottombar" >
	<Button
	    android:id="@+id/next"
	    android:text="@string/Continue"
	    android:minWidth="100dp"
	    android:layout_height="wrap_content"
	    android:layout_width="wrap_content"
	    android:drawableRight="@drawable/button_indicator_next"
	    android:layout_alignParentRight="true"
	    android:layout_centerVertical="true"
	    android:enabled="false"
	    />
    </RelativeLayout>
	
</LinearLayout>