|
|
@ -3,75 +3,76 @@
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent">
|
|
|
|
android:layout_height="fill_parent">
|
|
|
|
<LinearLayout
|
|
|
|
<ScrollView
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_weight="1">
|
|
|
|
android:layout_weight="1">
|
|
|
|
<TextView
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
android:layout_weight="3"
|
|
|
|
<TextView android:id="@+id/onboot_lab"
|
|
|
|
android:text="Start on boot"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
<CheckBox android:id="@+id/onboot"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:text="Start on boot"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
android:layout_weight="1"
|
|
|
|
<CheckBox android:id="@+id/onboot"
|
|
|
|
android:gravity="right" />
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
</LinearLayout>
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_alignParentRight="true" />
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
<TextView android:id="@+id/port_lab"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_weight="1">
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
<TextView
|
|
|
|
android:layout_below="@+id/onboot_lab"
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:text="Port"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
android:layout_weight="2"
|
|
|
|
<EditText android:id="@+id/port"
|
|
|
|
android:text="Port"
|
|
|
|
android:layout_width="100dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
<EditText android:id="@+id/port"
|
|
|
|
android:layout_below="@+id/onboot_lab"
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:inputType="numberDecimal" />
|
|
|
|
android:singleLine="true"
|
|
|
|
<TextView android:id="@+is/path_lab"
|
|
|
|
android:inputType="numberDecimal" />
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
</LinearLayout>
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
<TextView
|
|
|
|
android:layout_below="@+id/port_lab"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:text="Path to authorized_keys"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
android:text="Path to authorized_keys"
|
|
|
|
<EditText android:id="@+id/path"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
<EditText android:id="@+id/path"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_below="@+id/path_lab"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:singleLine="true" />
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
<TextView android:id="@+is/shell_lab"
|
|
|
|
android:singleLine="true" />
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
<TextView
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_below="@+id/path"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Login shell"
|
|
|
|
android:text="Login shell"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
<EditText android:id="@+id/shell"
|
|
|
|
<EditText android:id="@+id/shell"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_below="@+id/shell_lab"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:singleLine="true" />
|
|
|
|
android:singleLine="true" />
|
|
|
|
<TextView android:id="@+is/home_lab"
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/shell"
|
|
|
|
android:text="Home directory"
|
|
|
|
android:text="Home directory"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
<EditText android:id="@+id/home"
|
|
|
|
<EditText android:id="@+id/home"
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_below="@+id/home_lab"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:singleLine="true" />
|
|
|
|
android:singleLine="true" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
<Button android:id="@+id/startstop"
|
|
|
|
<Button android:id="@+id/startstop"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_height="1dp"
|
|
|
@ -80,4 +81,3 @@
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
|
|
android:onClick="starstop_clicked" />
|
|
|
|
android:onClick="starstop_clicked" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|