diff options
author | Cameron Cawley | 2019-08-18 22:58:13 +0100 |
---|---|---|
committer | Filippos Karapetis | 2019-08-20 14:32:50 +0300 |
commit | 12c232eefc7c78f7d40da9894e395dee4ce6d8c2 (patch) | |
tree | 5a00b4bb1754d4fe6d2f6608851312206475f313 /dists/android/res/layout | |
parent | c2054682f0f20ad284582b0717d0298df401a228 (diff) | |
download | scummvm-rg350-12c232eefc7c78f7d40da9894e395dee4ce6d8c2.tar.gz scummvm-rg350-12c232eefc7c78f7d40da9894e395dee4ce6d8c2.tar.bz2 scummvm-rg350-12c232eefc7c78f7d40da9894e395dee4ce6d8c2.zip |
ANDROID: Add a button to show the virtual keyboard
Diffstat (limited to 'dists/android/res/layout')
-rw-r--r-- | dists/android/res/layout/main.xml | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/dists/android/res/layout/main.xml b/dists/android/res/layout/main.xml index 8b0d515d62..fa4bb66af9 100644 --- a/dists/android/res/layout/main.xml +++ b/dists/android/res/layout/main.xml @@ -1,12 +1,29 @@ <?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent"> + <org.scummvm.scummvm.EditableSurfaceView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/main_surface" - android:layout_width="fill_parent" - android:layout_height="fill_parent" + android:layout_width="match_parent" + android:layout_height="match_parent" android:gravity="center" android:keepScreenOn="true" android:focusable="true" android:focusableInTouchMode="true" /> + +<ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ic_action_settings" + android:id="@+id/show_keyboard" + android:layout_alignParentTop="true" + android:layout_alignParentRight="true" + android:layout_marginRight="10dp" + android:layout_marginTop="10dp" /> + +</RelativeLayout> |