summaryrefslogtreecommitdiffstats
path: root/android/xscreensaver/res/layout/activity_xscreensaver.xml
diff options
context:
space:
mode:
authorSimon Rettberg2018-10-16 10:08:48 +0200
committerSimon Rettberg2018-10-16 10:08:48 +0200
commitd3a98cf6cbc3bd0b9efc570f58e8812c03931c18 (patch)
treecbddf8e50f35a9c6e878a5bfe3c6d625d99e12ba /android/xscreensaver/res/layout/activity_xscreensaver.xml
downloadxscreensaver-d3a98cf6cbc3bd0b9efc570f58e8812c03931c18.tar.gz
xscreensaver-d3a98cf6cbc3bd0b9efc570f58e8812c03931c18.tar.xz
xscreensaver-d3a98cf6cbc3bd0b9efc570f58e8812c03931c18.zip
Original 5.40
Diffstat (limited to 'android/xscreensaver/res/layout/activity_xscreensaver.xml')
-rw-r--r--android/xscreensaver/res/layout/activity_xscreensaver.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/android/xscreensaver/res/layout/activity_xscreensaver.xml b/android/xscreensaver/res/layout/activity_xscreensaver.xml
new file mode 100644
index 0000000..88372e6
--- /dev/null
+++ b/android/xscreensaver/res/layout/activity_xscreensaver.xml
@@ -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.Activity">
+ <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>