| <?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> |