aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout/about_version_page.xml
blob: 53f9927b6dacb0ef911045baacb4567674e1870d (plain)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?xml version="1.0" encoding="UTF-8"?>
<ScrollView 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="vertical"
    android:padding="4dip"
    tools:context=".AboutActivity$VersionViewCreator" >

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical" >

        <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_marginTop="10dip"
            android:orientation="vertical" >

            <ImageView
                android:layout_width="200dip"
                android:layout_height="200dip"
                android:layout_gravity="center"
                android:layout_margin="10dip"
                android:gravity="center"
                android:scaleType="fitXY"
                android:src="@drawable/cgeo_logo" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="left"
                android:layout_marginLeft="10dip"
                android:layout_marginRight="10dip"
                android:layout_marginTop="5dip"
                android:text="@string/quote"
                android:textColor="?text_color"
                android:textSize="14sp" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="right"
                android:layout_marginBottom="5dip"
                android:layout_marginLeft="10dip"
                android:layout_marginRight="10dip"
                android:text="@string/powered_by"
                android:textColor="?text_color"
                android:textSize="14sp" />
        </LinearLayout>

        <RelativeLayout style="@style/separator_horizontal_layout" >

            <View style="@style/separator_horizontal" />

            <TextView
                style="@style/separator_horizontal_headline"
                android:text="@string/about_version" />
        </RelativeLayout>

        <TextView
            android:id="@+id/about_version_string"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="left"
            android:layout_marginBottom="5dip"
            android:layout_marginLeft="10dip"
            android:layout_marginRight="10dip"
            android:textColor="?text_color"
            android:textIsSelectable="true"
            android:textSize="14sp"
            android:textStyle="bold" />

        <RelativeLayout style="@style/separator_horizontal_layout" >

            <View style="@style/separator_horizontal" />

            <TextView
                style="@style/separator_horizontal_headline"
                android:text="@string/about_donate" />
        </RelativeLayout>

        <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dip"
            android:baselineAligned="false"
            android:gravity="center_horizontal"
            android:orientation="horizontal" >

            <Button
                android:id="@+id/donate"
                style="@style/button_full"
                android:layout_width="280dip"
                android:lines="2"
                android:singleLine="false"
                android:text="@string/about_donation_more" />
        </LinearLayout>
    </LinearLayout>

</ScrollView>