136 lines
4.9 KiB
XML
136 lines
4.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView 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"
|
|
tools:context=".ui.ServerActivity">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="@dimen/layout_margin_top_height">
|
|
|
|
<include layout="@layout/layout_address_port" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/layout_margin_top_height"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/server_lab_secret_key" />
|
|
|
|
<EditText
|
|
android:id="@+id/et_id"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/edit_height"
|
|
android:inputType="text" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/layout_margin_top_height"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/server_lab_public_key" />
|
|
|
|
|
|
<EditText
|
|
android:id="@+id/et_public_key"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/edit_height"
|
|
android:inputType="text" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/layout_margin_top_height"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/server_lab_reserved" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<EditText
|
|
android:id="@+id/et_reserved1"
|
|
android:layout_width="60dp"
|
|
android:layout_height="@dimen/edit_height"
|
|
android:inputType="number" />
|
|
|
|
<EditText
|
|
android:id="@+id/et_reserved2"
|
|
android:layout_width="60dp"
|
|
android:layout_height="@dimen/edit_height"
|
|
android:inputType="number" />
|
|
|
|
<EditText
|
|
android:id="@+id/et_reserved3"
|
|
android:layout_width="60dp"
|
|
android:layout_height="@dimen/edit_height"
|
|
android:inputType="number" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/layout_margin_top_height"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/server_lab_local_address" />
|
|
|
|
<EditText
|
|
android:id="@+id/et_local_address"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/edit_height"
|
|
android:inputType="text" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/layout_margin_top_height"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/server_lab_local_mtu" />
|
|
|
|
<EditText
|
|
android:id="@+id/et_local_mtu"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/edit_height"
|
|
android:inputType="number" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/layout_margin_top_height"
|
|
android:layout_marginBottom="@dimen/layout_margin_top_height"
|
|
android:orientation="vertical" />
|
|
|
|
</LinearLayout>
|
|
</ScrollView> |