Advertisement
Guest User

Untitled

a guest
Jul 14th, 2015
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.43 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3.  
  4. <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. xmlns:tools="http://schemas.android.com/tools"
  7. android:id="@+id/main_content"
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:fitsSystemWindows="true">
  11.  
  12. <android.support.design.widget.AppBarLayout
  13. android:id="@+id/appbar"
  14. android:layout_width="match_parent"
  15. android:layout_height="256dp"
  16. android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
  17. android:fitsSystemWindows="true">
  18.  
  19. <android.support.design.widget.CollapsingToolbarLayout
  20. android:id="@+id/collapsing_toolbar"
  21. android:layout_width="match_parent"
  22. android:layout_height="match_parent"
  23. app:layout_scrollFlags="scroll|exitUntilCollapsed"
  24. android:fitsSystemWindows="true"
  25. app:contentScrim="?attr/colorPrimary"
  26. app:expandedTitleMarginStart="48dp"
  27. app:expandedTitleMarginEnd="64dp">
  28.  
  29. <ImageView
  30.  
  31.  
  32.  
  33.  
  34. android:src="@drawable/header1"
  35. android:id="@+id/backdrop"
  36. android:layout_width="match_parent"
  37. android:layout_height="match_parent"
  38. android:scaleType="centerCrop"
  39. android:fitsSystemWindows="true"
  40. app:layout_collapseMode="parallax" />
  41.  
  42. <android.support.v7.widget.Toolbar
  43. android:id="@+id/toolbar"
  44. android:layout_width="match_parent"
  45. android:layout_height="?attr/actionBarSize"
  46. app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
  47. app:layout_collapseMode="pin" />
  48.  
  49. </android.support.design.widget.CollapsingToolbarLayout>
  50.  
  51. </android.support.design.widget.AppBarLayout>
  52.  
  53. <android.support.v4.widget.NestedScrollView
  54. android:layout_width="match_parent"
  55. android:layout_height="match_parent"
  56. app:layout_behavior="@string/appbar_scrolling_view_behavior">
  57.  
  58. <LinearLayout
  59. android:layout_width="match_parent"
  60. android:layout_height="match_parent"
  61. android:orientation="vertical"
  62. android:paddingTop="24dp">
  63.  
  64. <android.support.v7.widget.CardView
  65. android:layout_width="match_parent"
  66. android:layout_height="wrap_content"
  67. android:layout_margin="16dp">
  68.  
  69. <LinearLayout
  70. style="@style/Widget.CardContent"
  71. android:layout_width="match_parent"
  72. android:layout_height="wrap_content">
  73.  
  74. <TextView
  75. android:layout_width="match_parent"
  76. android:layout_height="wrap_content"
  77. android:text="Info"
  78. android:textAppearance="@style/TextAppearance.AppCompat.Title" />
  79.  
  80. <TextView
  81. android:layout_width="match_parent"
  82. android:layout_height="wrap_content"
  83. android:text="meh" />
  84.  
  85. </LinearLayout>
  86.  
  87. </android.support.v7.widget.CardView>
  88.  
  89. <android.support.v7.widget.CardView
  90. android:layout_width="match_parent"
  91. android:layout_height="wrap_content"
  92. android:layout_marginBottom="16dp"
  93. android:layout_marginLeft="16dp"
  94. android:layout_marginRight="16dp">
  95.  
  96. <LinearLayout
  97. style="@style/Widget.CardContent"
  98. android:layout_width="match_parent"
  99. android:layout_height="wrap_content">
  100.  
  101. <TextView
  102. android:layout_width="match_parent"
  103. android:layout_height="wrap_content"
  104. android:text="Friends"
  105. android:textAppearance="@style/TextAppearance.AppCompat.Title" />
  106.  
  107. <TextView
  108. android:layout_width="match_parent"
  109. android:layout_height="wrap_content"
  110. android:text="meh" />
  111.  
  112. </LinearLayout>
  113.  
  114. </android.support.v7.widget.CardView>
  115.  
  116. <android.support.v7.widget.CardView
  117. android:layout_width="match_parent"
  118. android:layout_height="wrap_content"
  119. android:layout_marginBottom="16dp"
  120. android:layout_marginLeft="16dp"
  121. android:layout_marginRight="16dp">
  122.  
  123. <LinearLayout
  124. style="@style/Widget.CardContent"
  125. android:layout_width="match_parent"
  126. android:layout_height="wrap_content">
  127.  
  128. <TextView
  129. android:layout_width="match_parent"
  130. android:layout_height="wrap_content"
  131. android:text="Related"
  132. android:textAppearance="@style/TextAppearance.AppCompat.Title" />
  133.  
  134. <TextView
  135. android:layout_width="match_parent"
  136. android:layout_height="wrap_content"
  137. android:text="meh" />
  138.  
  139. </LinearLayout>
  140.  
  141.  
  142.  
  143. </android.support.v7.widget.CardView>
  144.  
  145. <android.support.v7.widget.CardView
  146. android:layout_width="match_parent"
  147. android:layout_height="wrap_content"
  148. android:layout_margin="16dp">
  149.  
  150. <LinearLayout
  151. style="@style/Widget.CardContent"
  152. android:layout_width="match_parent"
  153. android:layout_height="wrap_content">
  154.  
  155. <TextView
  156. android:layout_width="match_parent"
  157. android:layout_height="wrap_content"
  158. android:text="Info"
  159. android:textAppearance="@style/TextAppearance.AppCompat.Title" />
  160.  
  161. <TextView
  162. android:layout_width="match_parent"
  163. android:layout_height="wrap_content"
  164. android:text="meh" />
  165.  
  166. </LinearLayout>
  167.  
  168. </android.support.v7.widget.CardView>
  169.  
  170. </LinearLayout>
  171.  
  172. </android.support.v4.widget.NestedScrollView>
  173.  
  174.  
  175.  
  176. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement