1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:orientation="vertical" android:layout_width="fill_parent"
4 android:layout_height="fill_parent">
7 Here is where we put the SurfaceView, in a frame so that we can stack
8 other views on top of it.
10 <FrameLayout android:layout_width="fill_parent"
11 android:layout_height="0px" android:layout_weight="1">
13 <com.parrot.ARDrone.DemoGLSurfaceView android:id="@+id/glsurfaceview"
14 android:layout_width="fill_parent" android:layout_height="fill_parent" />
16 <RelativeLayout android:id="@+id/layoutView"
17 android:layout_width="wrap_content" android:layout_height="wrap_content"
20 <com.parrot.ARDrone.RotatedButton android:id="@+id/takeOffButton"
21 android:text="Take off"
22 android:layout_width="80dp"
23 android:layout_height="wrap_content"
24 android:layout_alignParentRight="true"
25 android:layout_alignParentTop="true">
26 </com.parrot.ARDrone.RotatedButton>
28 <!-- com.parrot.ARDrone.RotatedButton android:text="Use Acc"
29 android:id="@+id/useAccSteeringButton"
30 android:layout_width="80dp"
31 android:layout_height="100dp"
32 android:layout_alignParentRight="true"
33 android:layout_centerInParent="true">
34 </com.parrot.ARDrone.RotatedButton -->
36 <com.parrot.ARDrone.RotatedButton android:text="Halt"
37 android:id="@+id/emergLandingButton"
38 android:layout_width="80dp"
39 android:layout_height="wrap_content"
40 android:layout_alignParentRight="true"
41 android:layout_alignParentBottom="true" >
42 </com.parrot.ARDrone.RotatedButton>
44 <com.parrot.ARDrone.RotatedButton android:text="Up"
45 android:id="@+id/moveUpButton"
46 android:layout_width="80dp"
47 android:layout_height="wrap_content"
48 android:layout_alignParentLeft="true"
49 android:layout_alignParentBottom="true" >
50 </com.parrot.ARDrone.RotatedButton>
53 <com.parrot.ARDrone.RotatedButton android:text="Down"
54 android:id="@+id/moveDownButton"
55 android:layout_width="80dp"
56 android:layout_height="wrap_content"
57 android:layout_alignParentLeft="true"
58 android:layout_alignParentTop="true" >
59 </com.parrot.ARDrone.RotatedButton>