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 | |
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')
-rwxr-xr-x | dists/android/res/drawable-hdpi/ic_action_settings.png | bin | 0 -> 437 bytes | |||
-rwxr-xr-x | dists/android/res/drawable-mdpi/ic_action_settings.png | bin | 0 -> 310 bytes | |||
-rwxr-xr-x | dists/android/res/drawable-xhdpi/ic_action_settings.png | bin | 0 -> 471 bytes | |||
-rwxr-xr-x | dists/android/res/drawable-xxhdpi/ic_action_settings.png | bin | 0 -> 672 bytes | |||
-rw-r--r-- | dists/android/res/layout/main.xml | 21 |
5 files changed, 19 insertions, 2 deletions
diff --git a/dists/android/res/drawable-hdpi/ic_action_settings.png b/dists/android/res/drawable-hdpi/ic_action_settings.png Binary files differnew file mode 100755 index 0000000000..d9733250f5 --- /dev/null +++ b/dists/android/res/drawable-hdpi/ic_action_settings.png diff --git a/dists/android/res/drawable-mdpi/ic_action_settings.png b/dists/android/res/drawable-mdpi/ic_action_settings.png Binary files differnew file mode 100755 index 0000000000..8987358021 --- /dev/null +++ b/dists/android/res/drawable-mdpi/ic_action_settings.png diff --git a/dists/android/res/drawable-xhdpi/ic_action_settings.png b/dists/android/res/drawable-xhdpi/ic_action_settings.png Binary files differnew file mode 100755 index 0000000000..fb8f3343c8 --- /dev/null +++ b/dists/android/res/drawable-xhdpi/ic_action_settings.png diff --git a/dists/android/res/drawable-xxhdpi/ic_action_settings.png b/dists/android/res/drawable-xxhdpi/ic_action_settings.png Binary files differnew file mode 100755 index 0000000000..51f7527789 --- /dev/null +++ b/dists/android/res/drawable-xxhdpi/ic_action_settings.png 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> |