mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-11 20:15:03 -05:00
5aa0dce062
Reworked the gui for the autoconfiguration activity.
76 lines
2.9 KiB
XML
76 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical" >
|
|
|
|
<ScrollView
|
|
android:id="@+id/scrollView1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_above="@+id/controls_group" >
|
|
|
|
<TextView
|
|
android:id="@+id/status_message"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:gravity="center_horizontal"
|
|
android:textSize="10dp"
|
|
android:paddingBottom="6dip" />
|
|
</ScrollView>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/controls_group"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="158dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginBottom="10dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:orientation="vertical" >
|
|
|
|
<LinearLayout
|
|
android:id="@+id/linearLayout1"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:gravity="center"
|
|
android:orientation="horizontal" >
|
|
|
|
<Button
|
|
android:id="@+id/autoconfig_button_cancel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/cancel_action" />
|
|
|
|
<Button
|
|
android:id="@+id/autoconfig_button_next"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:drawableRight="@drawable/button_indicator_next"
|
|
android:text="@string/next_action" />
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/autoconfig_warning"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/linearLayout1"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_marginBottom="20dp"
|
|
android:gravity="center"
|
|
android:text="@string/account_setup_autoconfig_unsafe_connection"
|
|
android:textColor="#C44141"
|
|
android:textStyle="bold" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/autoconfig_progress"
|
|
style="@android:style/Widget.ProgressBar.Large.Inverse"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignBottom="@+id/autoconfig_warning"
|
|
android:layout_centerHorizontal="true" />
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout> |