2011-07-20 08:52:42 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-03-03 09:36:08 -05:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent" >
|
2011-07-20 08:52:42 -04:00
|
|
|
|
2012-03-03 09:36:08 -05:00
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:orientation="vertical" >
|
2011-07-20 08:52:42 -04:00
|
|
|
|
2012-03-03 09:36:08 -05:00
|
|
|
<TableLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2011-07-25 11:09:02 -04:00
|
|
|
android:id="@+id/confirm_options"
|
|
|
|
android:layout_width="fill_parent"
|
2011-07-24 12:02:17 -04:00
|
|
|
android:layout_height="wrap_content"
|
2011-07-25 11:09:02 -04:00
|
|
|
android:layout_centerHorizontal="true"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:padding="15dp"
|
|
|
|
android:stretchColumns="3" >
|
|
|
|
|
2011-07-25 11:09:02 -04:00
|
|
|
<TableRow>
|
2012-03-03 09:36:08 -05:00
|
|
|
|
|
|
|
<TextView
|
2011-07-25 11:09:02 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:layout_column="1"
|
|
|
|
android:paddingRight="40dp"
|
2011-07-25 11:09:02 -04:00
|
|
|
android:text="Type:"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spinner_protocol"
|
2011-07-25 11:09:02 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:layout_column="2"
|
2011-07-25 11:09:02 -04:00
|
|
|
android:drawSelectorOnTop="true"
|
|
|
|
android:prompt="@string/account_setup_basics_email_hint" />
|
2012-03-03 09:36:08 -05:00
|
|
|
|
|
|
|
<TextView
|
2011-07-25 11:09:02 -04:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:layout_column="3"
|
|
|
|
android:gravity="center_vertical|center_horizontal"
|
|
|
|
android:text="Extra information" />
|
2011-07-25 11:09:02 -04:00
|
|
|
</TableRow>
|
2012-03-03 09:36:08 -05:00
|
|
|
|
2011-07-25 11:09:02 -04:00
|
|
|
<TableRow>
|
2012-03-03 09:36:08 -05:00
|
|
|
|
|
|
|
<TextView
|
2011-07-25 11:09:02 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:layout_column="1"
|
|
|
|
android:text="Security:"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spinner_sockettype"
|
2011-07-25 11:09:02 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:layout_column="2"
|
2011-07-25 11:09:02 -04:00
|
|
|
android:drawSelectorOnTop="true"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:prompt="@string/account_setup_basics_email_hint" />
|
|
|
|
|
|
|
|
<TextView
|
2011-07-25 11:09:02 -04:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:layout_column="3"
|
|
|
|
android:gravity="center_vertical|center_horizontal"
|
|
|
|
android:text="Extra information" />
|
2011-07-25 11:09:02 -04:00
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
2011-07-20 08:52:42 -04:00
|
|
|
|
2012-03-03 09:36:08 -05:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/server_information_header"
|
2011-07-25 11:09:02 -04:00
|
|
|
android:layout_width="fill_parent"
|
2011-07-24 12:02:17 -04:00
|
|
|
android:layout_height="wrap_content"
|
2011-07-25 11:09:02 -04:00
|
|
|
android:layout_below="@id/confirm_options"
|
|
|
|
android:layout_marginTop="3dp"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:background="#AAA"
|
2011-07-25 11:09:02 -04:00
|
|
|
android:padding="9dp"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:textSize="16sp" >
|
|
|
|
|
|
|
|
<TextView
|
2011-07-25 11:09:02 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:text="Server information" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/server_count_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/server_information"
|
|
|
|
android:layout_width="fill_parent"
|
2011-08-15 10:52:30 -04:00
|
|
|
android:layout_height="wrap_content"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:layout_below="@id/server_information_header"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingTop="8dp" />
|
|
|
|
|
|
|
|
<!-- ONLY SHOW WHEN USER HAS TO ENTER A USERNAME HIMSELF -->
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/account_custom_username"
|
|
|
|
android:layout_width="fill_parent"
|
2011-08-15 10:52:30 -04:00
|
|
|
android:layout_height="wrap_content"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="8dp" >
|
2011-07-25 11:09:02 -04:00
|
|
|
|
2012-03-03 09:36:08 -05:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/account_username_label"
|
2011-07-28 09:28:18 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:text="Please enter your username: " />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/account_username_field"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:hint="Username...... "
|
|
|
|
android:singleLine="true" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
SHOULD ONLY BE MADE VISIBLE WHEN THERE ARE MULTIPLE MATCHING SERVERS
|
|
|
|
NOTE: see note at beginning of AbstractSetupConfirmActivity class
|
|
|
|
-->
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/confirm_serverbrowse_buttons"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_below="@id/server_information" >
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/confirm_prev_server_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
2011-07-28 09:28:18 -04:00
|
|
|
android:text="Previous" />
|
2012-03-03 09:36:08 -05:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/confirm_next_server_button"
|
2011-07-28 09:28:18 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:layout_centerHorizontal="true"
|
2011-07-28 09:28:18 -04:00
|
|
|
android:layout_toRightOf="@id/confirm_prev_server_button"
|
|
|
|
android:text="Next" />
|
2012-03-03 09:36:08 -05:00
|
|
|
</RelativeLayout>
|
2011-07-25 11:09:02 -04:00
|
|
|
|
2012-03-03 09:36:08 -05:00
|
|
|
<!-- SHOULD ONLY BE MADE VISIBLE WHEN THE XML PROVIDES EXTRA INFORMATION LINKS -->
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/confirm_documentation_part"
|
2011-07-28 09:28:18 -04:00
|
|
|
android:layout_width="fill_parent"
|
2011-07-24 12:02:17 -04:00
|
|
|
android:layout_height="wrap_content"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:layout_below="@id/confirm_serverbrowse_buttons"
|
2012-04-28 08:10:40 -04:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:visibility="gone" >
|
2012-03-03 09:36:08 -05:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/server_documentation_header"
|
2011-07-28 09:28:18 -04:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:layout_alignParentLeft="true"
|
2011-07-28 09:28:18 -04:00
|
|
|
android:background="#AAA"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:padding="9dp"
|
|
|
|
android:text="Server documentation"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/server_documentation_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/server_documentation_header"
|
|
|
|
android:padding="8dp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent" >
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/confirm_ok_button"
|
2011-07-28 09:28:18 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
2012-03-03 09:36:08 -05:00
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:text="Ok go" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|