App_MVNOnoRoaming/res/layout/activity_mvno.xml
2013-12-09 12:32:07 +00:00

67 lines
2.4 KiB
XML

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MVNORoamingStatusChanger" >
<TextView
android:id="@+id/textViewDescription"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:text="@string/description" />
<EditText
android:id="@+id/editTextProvider"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/textViewDescription"
android:layout_alignRight="@+id/textViewDescription"
android:layout_below="@+id/textViewDescription"
android:ems="10"
android:inputType="text"
android:hint="@string/inputHint" >
<requestFocus />
</EditText>
<Button
android:id="@+id/buttonUpdate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/editTextProvider"
android:layout_below="@+id/editTextProvider"
android:layout_marginTop="24dp"
android:text="@string/update" />
<TextView
android:id="@+id/textView2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/buttonUpdate"
android:layout_centerVertical="true"
android:text="@string/enableOnBoot" />
<Switch
android:id="@+id/switchReboot"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/textView2"
android:layout_below="@+id/textView2"
android:text="@string/rebootSwitch"
android:checked="true" />
<TextView
android:id="@+id/textView3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:text="@string/copyright" />
</RelativeLayout>