]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/Robot_Demo/res/layout/hokuyo_view.xml
ROBOT_DEMO: change name to RoboDruid and add CTU logo
[orte.git] / orte / Robot_Demo / res / layout / hokuyo_view.xml
index ae553b99850ecf2d388a5ecc47a18f0e1de52d4e..40f1bc2908ff57257bc7c747309b3813aa71b334 100644 (file)
@@ -1,12 +1,24 @@
 <?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="fill_parent"
-    android:layout_height="fill_parent"
-    android:orientation="vertical" >
+    android:layout_height="fill_parent" >
 
-    <org.ocera.orte.demo.HokuyoView 
+    <ImageView
+        android:id="@+id/hokuyo_view_bg"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_alignParentRight="true"
+        android:layout_alignParentTop="true"
+        android:adjustViewBounds="true"
+        android:maxHeight="100dp"
+        android:scaleType="fitXY"
+        android:src="@drawable/logo_cvut" />
+    
+       <org.ocera.orte.demo.HokuyoView 
         android:id="@+id/hokuyo_view"
         android:layout_width="fill_parent"
-        android:layout_height="fill_parent"/>
+        android:layout_height="fill_parent" />
+       
 
-</LinearLayout>
+</RelativeLayout>