2012-08-07 00:04:38 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-08-12 23:23:49 +00:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2012-08-07 00:04:38 +00:00
|
|
|
android:id="@+id/mainview"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2012-08-12 23:23:49 +00:00
|
|
|
<com.froop.app.kegs.KegsView
|
|
|
|
android:id="@+id/kegsview"
|
|
|
|
android:layout_width="704px"
|
|
|
|
android:layout_height="462px"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
/>
|
2012-08-07 00:04:38 +00:00
|
|
|
|
2012-08-21 10:41:05 +00:00
|
|
|
<Button android:id="@+id/key_settings" android:drawableStart="@drawable/settings" android:drawablePadding="0px" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left|bottom" android:layout_below="@id/kegsview" android:onClick="showPopup" />
|
|
|
|
|
2012-08-12 23:23:49 +00:00
|
|
|
<LinearLayout android:id="@+id/b1" android:layout_below="@id/kegsview"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2012-08-21 10:41:05 +00:00
|
|
|
android:layout_gravity="bottom"
|
2012-08-12 23:23:49 +00: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-07 00:04:38 +00:00
|
|
|
|
2012-08-12 23:23:49 +00:00
|
|
|
<Button android:id="@+id/key_f4" android:text="F4" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left|bottom" android:layout_below="@id/kegsview" />
|
2012-08-07 00:04:38 +00: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 23:23:49 +00:00
|
|
|
android:textOff="Ctrl" android:layout_below="@id/kegsview" />
|
2012-08-07 00:04:38 +00:00
|
|
|
|
2012-08-12 23:23:49 +00:00
|
|
|
<ToggleButton android:id="@+id/key_closed_apple"
|
2012-08-07 00:04:38 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="left|bottom"
|
2012-08-12 23:23:49 +00:00
|
|
|
android:textOn="Opt"
|
|
|
|
android:textOff="Opt" android:layout_below="@id/kegsview" />
|
2012-08-07 00:04:38 +00:00
|
|
|
|
2012-08-12 23:23:49 +00:00
|
|
|
<ToggleButton android:id="@+id/key_open_apple"
|
2012-08-07 00:04:38 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="left|bottom"
|
2012-08-12 23:23:49 +00:00
|
|
|
android:textOn="Cmd"
|
|
|
|
android:textOff="Cmd" android:layout_below="@id/kegsview" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/b2" android:layout_below="@id/b1"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center">
|
2012-08-07 00:04:38 +00:00
|
|
|
|
2012-08-12 23:23:49 +00: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-07 00:04:38 +00:00
|
|
|
|
2012-08-12 23:23:49 +00: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-07 00:04:38 +00:00
|
|
|
|
2012-08-12 23:23:49 +00: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-07 00:04:38 +00:00
|
|
|
|
2012-08-12 23:23:49 +00: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-07 00:04:38 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2012-08-12 23:23:49 +00:00
|
|
|
</RelativeLayout>
|