summaryrefslogtreecommitdiffstats
path: root/android/xscreensaver/res/layout-land/activity_xscreensaver.xml
blob: d9094b9082c0dcc6a735173cbbcad1083a2c8a91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="utf-8"?>
<!-- TODO: Remove action bar; it's redundant. -->
<LinearLayout 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"
    android:orientation="horizontal"
    android:gravity="center_horizontal"
    tools:context="org.jwz.xscreensaver.Activity">

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="fill_parent"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        android:gravity="center_vertical"
        android:orientation="vertical">

        <ImageView
            android:layout_width="256sp"
            android:layout_height="256sp"
            android:layout_centerHorizontal="true"
            android:src="@drawable/thumbnail" />
        <!-- TODO: Version number! -->
    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="fill_parent"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        android:gravity="center_vertical"
        android:orientation="vertical">


        <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>
</LinearLayout>