blob: 6e87eb60e48090aa8b65ed2da909bba5aec8c765 [file] [log] [blame]
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
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=".MainActivity" >
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:context=".MainActivity">
<TextView
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:layout_weight="1"
android:text="@string/port_input"/>
<EditText
android:id="@+id/portNumber"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:layout_weight="1"
android:inputType="number"
android:text="@string/port_number_initial"/>
</LinearLayout>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:context=".MainActivity">
<Button
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:layout_weight="1"
android:text="@string/epm_attach"
android:id="@+id/attachButton"
android:onClick="attachEpm" />
<Button
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:layout_weight="1"
android:id="@+id/detachButton"
android:text="@string/epm_detach"
android:onClick="detachEpm" />
</LinearLayout>
<TextView
android:id="@+id/statusText"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:layout_weight="1"
android:text="@string/status_text_initial"/>
</LinearLayout>