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

<RelativeLayout 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:layout_width="match_parent"
    android:layout_height="match_parent">

    <android.support.design.widget.AppBarLayout
        android:id="@+id/appbar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <include
            android:id="@+id/toolbar"
            layout="@layout/toolbar" />

        <android.support.design.widget.TabLayout
            android:id="@+id/tab_layout"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/toolbar"
            android:background="@color/tab_background"
            android:visibility="gone"
            app:tabIndicatorColor="@color/tab_indicator"
            app:tabMode="scrollable"
            tools:visibility="visible" />

    </android.support.design.widget.AppBarLayout>

    <org.wordpress.android.widgets.WPViewPager
        android:id="@+id/viewpager"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_above="@+id/frame_manage"
        android:layout_below="@+id/appbar"
        android:visibility="gone"
        tools:visibility="visible" />

    <ProgressBar
        android:id="@+id/progress_loading_plans"
        style="@style/PlansProgressBar"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        android:visibility="gone"
        tools:visibility="visible" />

    <FrameLayout
        android:id="@+id/frame_manage"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:background="@color/color_primary"
        android:elevation="@dimen/appbar_elevation"
        android:visibility="gone"
        tools:visibility="visible">

        <org.wordpress.android.widgets.WPTextView
            android:id="@+id/text_manage"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:autoLink="web"
            android:gravity="center"
            android:linksClickable="false"
            android:minHeight="@dimen/toolbar_height"
            android:paddingLeft="@dimen/content_margin"
            android:paddingRight="@dimen/content_margin"
            android:text="@string/plans_manage"
            android:textColor="@color/white"
            android:textColorLink="@color/blue_light"
            android:textSize="@dimen/text_sz_large" />
    </FrameLayout>

</RelativeLayout>