From http://www.jwz.org/xscreensaver/xscreensaver-5.38.tar.gz
[xscreensaver] / android / xscreensaver / res / layout / activity_xscreensaver.xml
diff --git a/android/xscreensaver/res/layout/activity_xscreensaver.xml b/android/xscreensaver/res/layout/activity_xscreensaver.xml
new file mode 100644 (file)
index 0000000..8adfa00
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- TODO: Flip layout orientation on rotation. And maybe make scrollable? -->
+<!-- TODO: Remove action bar; it's redundant. -->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:tools="http://schemas.android.com/tools"
+    android:layout_width="fill_parent"
+    android:layout_height="fill_parent"
+    tools:context="org.jwz.xscreensaver.XScreenSaverActivity">
+    <LinearLayout
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_centerHorizontal="true"
+        android:layout_centerVertical="true"
+        android:orientation="vertical">
+        <ImageView
+            android:layout_width="256sp"
+            android:layout_height="256sp"
+            android:layout_centerHorizontal="true"
+            android:src="@drawable/thumbnail" />
+        <!-- TODO: Version number! -->
+        <TextView
+            android:layout_width="fill_parent"
+            android:layout_height="wrap_content"
+            android:gravity="center"
+            android:text="XScreenSaver"
+            android:textSize="32sp" />
+        <Button
+            android:id="@+id/apply_wallpaper"
+            android:layout_width="fill_parent"
+            android:layout_height="wrap_content"
+            android:text="Open live wallpaper list" />
+        <Button
+            android:id="@+id/apply_daydream"
+            android:layout_width="fill_parent"
+            android:layout_height="wrap_content"
+            android:text="Open Daydream list" />
+        <TextView
+            android:layout_width="fill_parent"
+            android:layout_height="wrap_content"
+            android:autoLink="web"
+            android:gravity="center"
+            android:text="https://www.jwz.org/xscreensaver/" />
+    </LinearLayout>
+</RelativeLayout>