Advertisement
Guest User

activity_post_details.xml

a guest
Aug 4th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.27 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent">
  6.  
  7.     <android.support.design.widget.AppBarLayout
  8.        android:id="@+id/app_bar_layout"
  9.        android:layout_width="match_parent"
  10.        android:layout_height="wrap_content"
  11.        android:fitsSystemWindows="true"
  12.        android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
  13.  
  14.         <LinearLayout
  15.            android:layout_width="match_parent"
  16.            android:layout_height="wrap_content"
  17.            android:orientation="vertical"
  18.            app:layout_scrollFlags="scroll|enterAlways">
  19.  
  20.             <include layout="@layout/toolbar" />
  21.  
  22.             <TextView
  23.                android:id="@+id/title"
  24.                android:layout_width="match_parent"
  25.                android:layout_height="wrap_content"
  26.                android:paddingTop="@dimen/spacing_medium"
  27.                android:paddingLeft="@dimen/spacing_large"
  28.                android:paddingRight="@dimen/spacing_large"
  29.                android:paddingBottom="@dimen/spacing_large"
  30.                android:text="Post Title Will be Show Here"
  31.                android:textAppearance="@style/TextAppearance.AppCompat.Title"
  32.                android:textColor="@color/grey_soft" />
  33.         </LinearLayout>
  34.  
  35.     </android.support.design.widget.AppBarLayout>
  36.  
  37.     <android.support.v4.widget.SwipeRefreshLayout
  38.        android:id="@+id/swipe_refresh_layout"
  39.        android:layout_width="match_parent"
  40.        android:layout_height="match_parent"
  41.        android:layout_below="@+id/app_bar_layout"
  42.        android:background="@android:color/white"
  43.        app:layout_behavior="@string/appbar_scrolling_view_behavior">
  44.  
  45.         <RelativeLayout
  46.            android:layout_width="match_parent"
  47.            android:layout_height="match_parent">
  48.  
  49.             <include
  50.                android:id="@+id/lyt_main_content"
  51.                layout="@layout/include_post_content" />
  52.  
  53.         </RelativeLayout>
  54.  
  55.     </android.support.v4.widget.SwipeRefreshLayout>
  56.  
  57.  
  58. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement