From http://www.jwz.org/xscreensaver/xscreensaver-5.37.tar.gz
[xscreensaver] / android / project / xscreensaver / res / layout / activity_xscreensaver.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- TODO: Flip layout orientation on rotation. And maybe make scrollable? -->
3 <!-- TODO: Remove action bar; it's redundant. -->
4 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
5     xmlns:tools="http://schemas.android.com/tools"
6     android:layout_width="fill_parent"
7     android:layout_height="fill_parent"
8     tools:context="org.jwz.xscreensaver.XScreenSaverActivity">
9     <LinearLayout
10         android:layout_width="wrap_content"
11         android:layout_height="wrap_content"
12         android:layout_centerHorizontal="true"
13         android:layout_centerVertical="true"
14         android:orientation="vertical">
15         <ImageView
16             android:layout_width="256sp"
17             android:layout_height="256sp"
18             android:layout_centerHorizontal="true"
19             android:src="@drawable/thumbnail" />
20         <!-- TODO: Version number! -->
21         <TextView
22             android:layout_width="fill_parent"
23             android:layout_height="wrap_content"
24             android:gravity="center"
25             android:text="XScreenSaver"
26             android:textSize="32sp" />
27         <Button
28             android:id="@+id/apply_wallpaper"
29             android:layout_width="fill_parent"
30             android:layout_height="wrap_content"
31             android:text="Open live wallpaper list" />
32         <Button
33             android:id="@+id/apply_daydream"
34             android:layout_width="fill_parent"
35             android:layout_height="wrap_content"
36             android:text="Open Daydream list" />
37         <TextView
38             android:layout_width="fill_parent"
39             android:layout_height="wrap_content"
40             android:autoLink="web"
41             android:gravity="center"
42             android:text="https://www.jwz.org/xscreensaver/" />
43     </LinearLayout>
44 </RelativeLayout>