<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical"
android:layout_margin="10dp">
<RelativeLayout
android:layout_height="wrap_content"
android:layout_width="match_parent">
<TextView
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_width="match_parent"
android:text="SERVER"
android:gravity="center"
android:layout_margin="10dp"
android:width="10dp"/>
</RelativeLayout>
<RelativeLayout
android:layout_height="50dp"
android:layout_width="match_parent">
<Spinner
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:id="@+id/servers"/>
</RelativeLayout>
<RelativeLayout
android:layout_height="wrap_content"
android:layout_width="match_parent">
<TextView
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_width="match_parent"
android:text="PROMO"
android:gravity="center"
android:layout_margin="10dp"/>
</RelativeLayout>
<RelativeLayout
android:layout_height="50dp"
android:layout_width="match_parent">
<Spinner
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:id="@+id/network"/>
</RelativeLayout>
<TextView
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_width="match_parent"
android:text="username"
android:gravity="center"/>
<EditText
android:layout_height="wrap_content"
android:inputType="textEmailAddress"
android:layout_width="match_parent"
android:ems="10"
android:id="@+id/username"/>
<TextView
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_width="match_parent"
android:text="PASSWORD"
android:gravity="center"/>
<EditText
android:layout_height="wrap_content"
android:inputType="textPassword"
android:layout_width="match_parent"
android:ems="10"
android:id="@+id/password"/>
<CheckBox
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:id="@+id/show_password"/>
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="SAVE"/>
<RelativeLayout
android:layout_height="50dp"
android:layout_width="match_parent"
android:background="#703B38">
<Button
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="CONNECT"
android:id="@+id/btnConnect"/>
<Button
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="DISCONNECT"
android:id="@+id/btnDisconnect"/>
</RelativeLayout>
</LinearLayout>