aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/about_activity.xml
blob: 4ddbc212565c5d15fadcd5cc070f3e303876606b (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
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/main_view"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/nux_background"
    android:fillViewport="true">

    <org.wordpress.android.widgets.WPLinearLayoutSizeBound
        app:maxWidth="@dimen/nux_width"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:gravity="center">

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="16dp"
            android:layout_marginRight="16dp"
            android:orientation="vertical"
            android:gravity="center">

            <ImageView
                android:id="@+id/nux_fragment_icon"
                android:layout_width="50dp"
                android:layout_height="50dp"
                app:srcCompat="@drawable/nux_icon_wp"
                android:layout_marginTop="@dimen/margin_medium"/>

            <org.wordpress.android.widgets.WPTextView
                style="@style/WordPress.NUXTitle"
                android:id="@+id/about_first_line"
                android:text="@string/app_title"
                android:fontFamily="sans-serif-light"
                android:layout_marginTop="@dimen/margin_extra_large"
                android:layout_marginBottom="@dimen/margin_small"/>

            <org.wordpress.android.widgets.WPTextView
                style="@style/WordPress.NUXGreyButtonNoBg"
                android:id="@+id/about_version"
                android:text="@string/version"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"/>

            <org.wordpress.android.widgets.WPTextView
                style="@style/WordPress.NUXGreyButtonNoBg"
                android:id="@+id/about_publisher"
                android:text="@string/publisher"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/margin_extra_large"/>

            <org.wordpress.android.widgets.WPTextView
                style="@style/WordPress.NUXGreyButtonNoBg"
                android:id="@+id/about_copyright"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"/>

            <org.wordpress.android.widgets.WPTextView
                style="@style/WordPress.NUXPrimaryButton"
                android:id="@+id/about_privacy"
                android:text="@string/privacy_policy"
                android:layout_width="match_parent"
                android:gravity="center"
                android:layout_marginTop="@dimen/margin_medium"/>

            <org.wordpress.android.widgets.WPTextView
                style="@style/WordPress.NUXPrimaryButton"
                android:id="@+id/about_tos"
                android:text="@string/tos"
                android:layout_width="match_parent"
                android:gravity="center"/>

            <org.wordpress.android.widgets.WPTextView
                style="@style/WordPress.NUXGreyButtonNoBg"
                android:id="@+id/about_url"
                android:text="@string/automattic_url"
                android:clickable="true"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/margin_medium"
                android:layout_marginBottom="@dimen/margin_medium"/>
        </LinearLayout>

    </org.wordpress.android.widgets.WPLinearLayoutSizeBound>
</ScrollView>