ref: 1631ca601fc896c41dde746e34d18654a6a70d73
dir: /gui-android/res/layout/server_main.xml/
<?xml version="1.0" encoding="utf-8"?> <android.widget.FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="org.echoline.drawterm.MainActivity"> <LinearLayout android:layout_height="match_parent" android:layout_width="match_parent" android:orientation="vertical"> <EditText android:id="@+id/cpuServer" android:layout_width="match_parent" android:layout_height="wrap_content" android:ems="10" android:hint="CPU" /> <EditText android:id="@+id/authServer" android:layout_width="match_parent" android:layout_height="wrap_content" android:ems="10" android:hint="Auth" /> <EditText android:id="@+id/userName" android:layout_width="match_parent" android:layout_height="wrap_content" android:ems="10" android:hint="Username" /> <EditText android:id="@+id/passWord" android:layout_width="match_parent" android:layout_height="wrap_content" android:ems="10" android:password="true" android:hint="Password"/> <CheckBox android:id="@+id/aan" android:layout_width="wrap_content" android:layout_height="wrap_content" android:ems="10" android:checked="true" android:text="AAN" /> <CheckBox android:id="@+id/root" android:layout_width="wrap_content" android:layout_height="wrap_content" android:ems="10" android:checked="true" android:text="Local Files" /> <CheckBox android:id="@+id/cmd" android:layout_width="wrap_content" android:layout_height="wrap_content" android:ems="10" android:checked="true" android:text="Local Commands" /> <Button android:id="@+id/save" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Save" /> <Button android:id="@+id/connect" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Connect" /> </LinearLayout> </android.widget.FrameLayout>