Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2016
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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="wrap_content"
  6. android:orientation="vertical">
  7.  
  8. <android.support.design.widget.CoordinatorLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="0dp"
  11. android:layout_weight="1">
  12.  
  13. <android.support.design.widget.AppBarLayout
  14. android:id="@+id/app_bar_layout"
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:fitsSystemWindows="true"
  18. android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
  19.  
  20. <LinearLayout
  21. android:layout_width="match_parent"
  22. android:layout_height="wrap_content"
  23. android:orientation="vertical"
  24. app:layout_scrollFlags="scroll|enterAlways">
  25.  
  26. <include layout="@layout/toolbar" />
  27.  
  28. <TextView
  29. android:id="@+id/title"
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:paddingBottom="@dimen/spacing_large"
  33. android:paddingLeft="@dimen/spacing_large"
  34. android:paddingRight="@dimen/spacing_large"
  35. android:paddingTop="@dimen/spacing_medium"
  36. android:text="Post Title Will be Show Here"
  37. android:textAppearance="@style/TextAppearance.AppCompat.Title"
  38. android:textColor="@color/grey_soft" />
  39. </LinearLayout>
  40.  
  41. </android.support.design.widget.AppBarLayout>
  42.  
  43. <android.support.v4.widget.SwipeRefreshLayout
  44. android:id="@+id/swipe_refresh_layout"
  45. android:layout_width="match_parent"
  46. android:layout_height="match_parent"
  47. android:layout_below="@+id/app_bar_layout"
  48. android:background="@android:color/white"
  49. app:layout_behavior="@string/appbar_scrolling_view_behavior">
  50.  
  51. <RelativeLayout
  52. android:layout_width="match_parent"
  53. android:layout_height="match_parent">
  54.  
  55. <include
  56. android:id="@+id/lyt_main_content"
  57. layout="@layout/include_post_content" />
  58.  
  59. <include
  60. android:id="@+id/lyt_failed"
  61. layout="@layout/include_failed"
  62. android:visibility="gone" />
  63.  
  64. </RelativeLayout>
  65.  
  66. </android.support.v4.widget.SwipeRefreshLayout>
  67.  
  68. </android.support.design.widget.CoordinatorLayout>
  69.  
  70. <RelativeLayout
  71. android:id="@+id/banner_layout"
  72. android:layout_width="match_parent"
  73. android:layout_height="wrap_content"
  74. android:layout_gravity="bottom">
  75.  
  76. <include layout="@layout/include_ad_large_banner" />
  77.  
  78. </RelativeLayout>
  79. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement