Open the space when the switch is toggled while we are closed
[saartuer.git] / AndTuer / res / layout / door.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
4                 android:layout_width="match_parent"
5                 android:layout_height="match_parent">
6
7     <LinearLayout android:layout_height="wrap_content" android:layout_width="wrap_content"
8                   android:layout_centerInParent="true" android:orientation="vertical">
9         <Button android:layout_height="wrap_content" android:layout_width="wrap_content"
10                 android:id="@+id/connect_button"
11                 android:text="@string/connect"/>
12         <Button android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/buzz_button"
13                 android:text="@string/buzz" android:enabled="false"/>
14         <Button android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/open_button"
15                 android:text="@string/open_door" android:enabled="false"/>
16         <Button android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/close_button"
17                 android:text="@string/close_door" android:enabled="false"/>
18         <Button android:layout_height="wrap_content" android:layout_width="wrap_content"
19                 android:id="@+id/disconnect_button" android:text="@string/disconnect" android:enabled="false"/>
20     </LinearLayout>
21 </RelativeLayout>