more information in the logfile
[saartuer.git] / AndTuer / res / layout / door.xml
index d19b2249f51f5d17064d6172f2a080a35a5c4e15..8133e922f943be4ad0e7a2d9c926245da9266eb3 100644 (file)
@@ -1,21 +1,19 @@
 <?xml version="1.0" encoding="utf-8"?>
 
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent">
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
+              android:orientation="vertical" android:layout_height="match_parent">
 
-    <LinearLayout android:layout_height="wrap_content" android:layout_width="wrap_content"
-                  android:layout_centerInParent="true" android:orientation="vertical">
-        <Button android:layout_height="wrap_content" android:layout_width="wrap_content"
-                android:id="@+id/connect_button"
-                android:text="@string/connect"/>
-        <Button android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/buzz_button"
-                android:text="@string/buzz" android:enabled="false"/>
-        <Button android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/open_button"
-                android:text="@string/open_door" android:enabled="false"/>
-        <Button android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/close_button"
-                android:text="@string/close_door" android:enabled="false"/>
-        <Button android:layout_height="wrap_content" android:layout_width="wrap_content"
+    <LinearLayout android:layout_height="64sp" android:layout_width="match_parent"
+                  android:orientation="horizontal">
+        <Button android:layout_height="match_parent" android:layout_width="0dip" android:layout_weight="1"
+                android:id="@+id/connect_button" android:text="@string/connect"/>
+        <Button android:layout_height="match_parent" android:layout_width="0dip" android:id="@+id/buzz_button"
+                android:layout_weight="1" android:text="@string/buzz" android:enabled="false"/>
+        <Button android:layout_height="match_parent" android:layout_width="0dip" android:id="@+id/unlock_button"
+                android:layout_weight="1" android:text="@string/unlock_door" android:enabled="false"/>
+        <Button android:layout_height="match_parent" android:layout_width="0dip" android:layout_weight="1"
                 android:id="@+id/disconnect_button" android:text="@string/disconnect" android:enabled="false"/>
     </LinearLayout>
-</RelativeLayout>
\ No newline at end of file
+    <TextView android:id="@+id/logout" android:layout_height="0dip" android:layout_width="match_parent"
+              android:layout_weight="1"/>
+</LinearLayout>
\ No newline at end of file