2012-08-06 17:04:38 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-10-22 22:48:49 -07:00
|
|
|
<com.froop.app.kegs.SpecialRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2012-08-06 17:04:38 -07:00
|
|
|
android:id="@+id/mainview"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2012-10-16 19:41:28 -07:00
|
|
|
<com.froop.app.kegs.KegsViewGL
|
2012-08-12 16:23:49 -07:00
|
|
|
android:id="@+id/kegsview"
|
2012-09-20 22:02:01 -07:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2012-08-12 16:23:49 -07:00
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
/>
|
2012-08-06 17:04:38 -07:00
|
|
|
|
2012-08-12 16:23:49 -07:00
|
|
|
<LinearLayout android:id="@+id/b1" android:layout_below="@id/kegsview"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2012-08-21 03:41:05 -07:00
|
|
|
android:layout_gravity="bottom"
|
2012-10-19 17:10:20 -07:00
|
|
|
android:visibility="gone"
|
2012-08-12 16:23:49 -07:00
|
|
|
android:gravity="center">
|
|
|
|
|
|
|
|
<Button android:id="@+id/key_escape" android:text="Esc" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left|bottom" android:layout_below="@id/kegsview" />
|
|
|
|
|
|
|
|
<Button android:id="@+id/key_return" android:text="Return" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left|bottom" android:layout_below="@id/kegsview" />
|
|
|
|
|
|
|
|
<Button android:id="@+id/key_tab" android:text="Tab" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left|bottom" android:layout_below="@id/kegsview" />
|
2012-08-06 17:04:38 -07:00
|
|
|
|
2012-10-19 17:10:20 -07:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/b2" android:layout_below="@id/b1"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:gravity="center">
|
2012-08-06 17:04:38 -07:00
|
|
|
|
|
|
|
<ToggleButton android:id="@+id/key_control"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="left|bottom"
|
|
|
|
android:textOn="Ctrl"
|
2012-08-12 16:23:49 -07:00
|
|
|
android:textOff="Ctrl" android:layout_below="@id/kegsview" />
|
2012-08-06 17:04:38 -07:00
|
|
|
|
2012-08-12 16:23:49 -07:00
|
|
|
<ToggleButton android:id="@+id/key_closed_apple"
|
2012-08-06 17:04:38 -07:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="left|bottom"
|
2012-08-12 16:23:49 -07:00
|
|
|
android:textOn="Opt"
|
|
|
|
android:textOff="Opt" android:layout_below="@id/kegsview" />
|
2012-08-06 17:04:38 -07:00
|
|
|
|
2012-08-12 16:23:49 -07:00
|
|
|
<ToggleButton android:id="@+id/key_open_apple"
|
2012-08-06 17:04:38 -07:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="left|bottom"
|
2012-08-12 16:23:49 -07:00
|
|
|
android:textOn="Cmd"
|
|
|
|
android:textOff="Cmd" android:layout_below="@id/kegsview" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2012-10-19 17:10:20 -07:00
|
|
|
<LinearLayout android:id="@+id/b3" android:layout_below="@id/b2"
|
2012-08-12 16:23:49 -07:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2012-10-19 17:10:20 -07:00
|
|
|
android:visibility="gone"
|
2012-08-12 16:23:49 -07:00
|
|
|
android:gravity="center">
|
2012-08-06 17:04:38 -07:00
|
|
|
|
2012-08-12 16:23:49 -07:00
|
|
|
<Button android:id="@+id/key_left" android:text="Left" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left|bottom" android:layout_below="@id/kegsview" />
|
2012-08-06 17:04:38 -07:00
|
|
|
|
2012-08-12 16:23:49 -07:00
|
|
|
<Button android:id="@+id/key_right" android:text="Right" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left|bottom" android:layout_below="@id/kegsview" />
|
2012-08-06 17:04:38 -07:00
|
|
|
|
2012-08-12 16:23:49 -07:00
|
|
|
<Button android:id="@+id/key_up" android:text="Up" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left|bottom" android:layout_below="@id/kegsview" />
|
2012-08-06 17:04:38 -07:00
|
|
|
|
2012-08-12 16:23:49 -07:00
|
|
|
<Button android:id="@+id/key_down" android:text="Down" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left|bottom" android:layout_below="@id/kegsview" />
|
2012-08-06 17:04:38 -07:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2012-10-22 22:48:49 -07:00
|
|
|
</com.froop.app.kegs.SpecialRelativeLayout>
|