aboutsummaryrefslogtreecommitdiff
path: root/dists/android/res/layout
diff options
context:
space:
mode:
authorMax Horn2010-06-06 09:34:36 +0000
committerMax Horn2010-06-06 09:34:36 +0000
commit46155b2c3678784f6333eed1d65a35eefdcb2001 (patch)
tree1f570683935a5bede0e2475493a4f48b1548d320 /dists/android/res/layout
parent3efec5720de2c46355c323763dee96b719ed5aa1 (diff)
downloadscummvm-rg350-46155b2c3678784f6333eed1d65a35eefdcb2001.tar.gz
scummvm-rg350-46155b2c3678784f6333eed1d65a35eefdcb2001.tar.bz2
scummvm-rg350-46155b2c3678784f6333eed1d65a35eefdcb2001.zip
Add Android backend from patch #2603856
svn-id: r49449
Diffstat (limited to 'dists/android/res/layout')
-rw-r--r--dists/android/res/layout/main.xml10
-rw-r--r--dists/android/res/layout/splash.xml19
2 files changed, 29 insertions, 0 deletions
diff --git a/dists/android/res/layout/main.xml b/dists/android/res/layout/main.xml
new file mode 100644
index 0000000000..f5276ce41b
--- /dev/null
+++ b/dists/android/res/layout/main.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<org.inodes.gus.scummvm.EditableSurfaceView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent" android:layout_height="fill_parent"
+ android:id="@+id/main_surface"
+ android:gravity="center"
+ android:keepScreenOn="true"
+ android:focusable="true"
+ android:focusableInTouchMode="true"
+/>
diff --git a/dists/android/res/layout/splash.xml b/dists/android/res/layout/splash.xml
new file mode 100644
index 0000000000..e9fd5f70e7
--- /dev/null
+++ b/dists/android/res/layout/splash.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:gravity="center"
+ android:background="@drawable/gradient"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:adjustViewBounds="true"
+ android:scaleType="fitCenter"
+ android:src="@drawable/scummvm_big" />
+ <ProgressBar android:id="@+id/progress"
+ style="?android:attr/progressBarStyleHorizontal"
+ android:layout_width="300dip"
+ android:layout_height="wrap_content"
+ android:padding="20dip"/>
+</LinearLayout>