69 lines
2.5 KiB
XML
69 lines
2.5 KiB
XML
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
tools:context=".MainActivity$PlaceholderFragment"
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentLeft="true">
|
|
|
|
|
|
<Switch
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/wlan_switcher"
|
|
android:id="@+id/switchWLAN"
|
|
android:layout_gravity="center_horizontal"
|
|
android:checked="false" />
|
|
|
|
<EditText
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/txtPass"
|
|
android:inputType="text" />
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<Button
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/button_outer_door"
|
|
android:id="@+id/button_buzzer"
|
|
android:enabled="false"
|
|
android:onClick="buttonOpenOuterDoor" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal">
|
|
|
|
<Button
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/button_inner_door"
|
|
android:id="@+id/button_door_unlock"
|
|
android:onClick="buttonOpenInnerDoor"
|
|
android:enabled="false" />
|
|
|
|
<Button
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/button_door_open"
|
|
android:text="@string/button_inner_door_open"
|
|
android:enabled="false"
|
|
android:onClick="buttonUnlockInnerDoor" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|