Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <android.support.design.widget.CoordinatorLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1">
- <android.support.design.widget.AppBarLayout
- android:id="@+id/app_bar_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:fitsSystemWindows="true"
- android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_scrollFlags="scroll|enterAlways">
- <include layout="@layout/toolbar" />
- <TextView
- android:id="@+id/title"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingBottom="@dimen/spacing_large"
- android:paddingLeft="@dimen/spacing_large"
- android:paddingRight="@dimen/spacing_large"
- android:paddingTop="@dimen/spacing_medium"
- android:text="Post Title Will be Show Here"
- android:textAppearance="@style/TextAppearance.AppCompat.Title"
- android:textColor="@color/grey_soft" />
- </LinearLayout>
- </android.support.design.widget.AppBarLayout>
- <android.support.v4.widget.SwipeRefreshLayout
- android:id="@+id/swipe_refresh_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_below="@+id/app_bar_layout"
- android:background="@android:color/white"
- app:layout_behavior="@string/appbar_scrolling_view_behavior">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <include
- android:id="@+id/lyt_main_content"
- layout="@layout/include_post_content" />
- <include
- android:id="@+id/lyt_failed"
- layout="@layout/include_failed"
- android:visibility="gone" />
- </RelativeLayout>
- </android.support.v4.widget.SwipeRefreshLayout>
- </android.support.design.widget.CoordinatorLayout>
- <RelativeLayout
- android:id="@+id/banner_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom">
- <include layout="@layout/include_ad_large_banner" />
- </RelativeLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement