aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/plan_fragment.xml
blob: 94034d56ed04453dc8cfdc2c2886b83607a6b3a2 (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
<?xml version="1.0" encoding="utf-8"?>

<org.wordpress.android.widgets.WPScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/scroll_view"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="@dimen/margin_large"
        android:layout_marginRight="@dimen/margin_large"
        android:orientation="vertical"
        android:paddingLeft="@dimen/content_margin"
        android:paddingRight="@dimen/content_margin">

        <com.android.volley.toolbox.NetworkImageView
            android:id="@+id/image_plan_icon"
            android:layout_width="@dimen/plan_icon_size"
            android:layout_height="@dimen/plan_icon_size"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="@dimen/margin_extra_large"
            tools:background="@drawable/penandink" />

        <org.wordpress.android.widgets.WPTextView
            android:id="@+id/text_product_name"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="@dimen/margin_medium"
            android:textColor="@color/blue_wordpress"
            android:textSize="@dimen/text_sz_extra_large"
            tools:text="text_product_name" />

        <org.wordpress.android.widgets.WPTextView
            android:id="@+id/text_tagline"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="@dimen/margin_medium"
            android:gravity="center_horizontal"
            android:textColor="@color/grey_darken_10"
            android:textSize="@dimen/text_sz_large"
            android:textStyle="italic"
            tools:text="text_tagline" />

        <!-- plan features are added to this container view -->
        <LinearLayout
            android:id="@+id/plan_container"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical" />

        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginBottom="@dimen/margin_extra_large"
            android:layout_marginTop="@dimen/margin_extra_large"
            android:background="@color/divider_grey" />

    </LinearLayout>
</org.wordpress.android.widgets.WPScrollView>