aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/plan_post_purchase_fragment.xml
blob: 4b301a8957c439633265ac2521177814e6bfacf8 (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
<?xml version="1.0" encoding="utf-8"?>
<android.support.percent.PercentRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/percent_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingLeft="@dimen/content_margin"
    android:paddingRight="@dimen/content_margin"
    tools:background="@color/blue_wordpress">

    <ImageView
        android:id="@+id/image"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        app:layout_marginBottomPercent="10%"
        app:layout_marginTopPercent="25%"
        tools:src="@drawable/plans_business_active" />

    <LinearLayout
        android:id="@+id/layout_content"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/image"
        android:layout_centerHorizontal="true"
        android:gravity="center_horizontal"
        android:orientation="vertical"
        app:layout_widthPercent="75%">

        <org.wordpress.android.widgets.WPTextView
            android:id="@+id/text_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/margin_extra_large"
            android:gravity="center_horizontal"
            android:textColor="@color/grey_light"
            android:textSize="@dimen/text_sz_double_extra_large"
            tools:text="text_title" />

        <org.wordpress.android.widgets.WPTextView
            android:id="@+id/text_description"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/margin_extra_large"
            android:layout_marginTop="@dimen/margin_extra_large"
            android:gravity="center_horizontal"
            android:textColor="@color/grey_light"
            android:textSize="@dimen/text_sz_large"
            tools:text="text_description_text_description_text_description_text_description_text_description_text_description" />

        <org.wordpress.android.widgets.WPButton
            android:id="@+id/button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/margin_extra_large"
            android:textColor="@color/blue_wordpress"
            tools:text="Button" />
    </LinearLayout>

</android.support.percent.PercentRelativeLayout>