Guest User

Untitled

a guest
Jul 25th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.13 KB | None | 0 0
  1. <android.support.v4.widget.SwipeRefreshLayout
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:id="@+id/swipe_profile"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. tools:context=".fragment.ProfileFragment">
  9.  
  10. <android.support.v4.widget.NestedScrollView
  11. android:fillViewport="true"
  12. android:layout_width="match_parent"
  13. android:layout_height="match_parent">
  14.  
  15. <RelativeLayout
  16. android:layout_width="match_parent"
  17. android:layout_height="match_parent">
  18.  
  19. <LinearLayout
  20. android:id="@+id/linearLayout"
  21. android:layout_width="match_parent"
  22. android:layout_height="wrap_content"
  23. android:layout_marginBottom="-35dp"
  24. android:background="@drawable/gradient_profile"
  25. android:orientation="vertical"
  26. android:paddingBottom="35dp"
  27. android:weightSum="1">
  28.  
  29. <de.hdodenhof.circleimageview.CircleImageView
  30. android:id="@+id/profileAvatarIV"
  31. android:layout_width="120dp"
  32. android:layout_height="120dp"
  33. android:layout_gravity="center_horizontal"
  34. android:layout_marginTop="10dp"
  35. android:src="@drawable/backgroundpodcastcard"
  36. app:civ_border_color="#56B0FF"
  37. app:civ_border_width="2dp" />
  38.  
  39. <TextView
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:textAppearance="?android:attr/textAppearanceSmall"
  43. android:text="@string/NULL"
  44. android:id="@+id/userNameTV"
  45. android:layout_gravity="center_horizontal"
  46. android:textColor="#FFF"
  47. android:textSize="16dp"
  48. android:layout_marginTop="3dp" />
  49.  
  50. <TextView
  51. android:id="@+id/profileNameTV"
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"
  54. android:layout_gravity="center_horizontal"
  55. android:text="@string/NULL"
  56. android:textAppearance="?android:attr/textAppearanceMedium"
  57. android:textColor="#FFFFFF"
  58. android:textSize="25sp" />
  59.  
  60. <TextView
  61. android:id="@+id/profileAboutTV"
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:layout_gravity="center_horizontal"
  65. android:text="@string/NULL"
  66. android:textAlignment="center"
  67. android:textAppearance="?android:attr/textAppearanceMedium"
  68. android:textColor="#FFFFFF" />
  69.  
  70.  
  71. </LinearLayout>
  72.  
  73. <FrameLayout
  74. android:layout_width="match_parent"
  75. android:layout_height="wrap_content"
  76. android:layout_alignParentLeft="true"
  77. android:layout_alignParentStart="true"
  78. android:layout_below="@+id/linearLayout"
  79. android:layout_marginBottom="0dp"
  80. android:layout_marginTop="0dp"
  81. android:paddingBottom="8dp"
  82. android:paddingTop="8dp">
  83.  
  84. <Button
  85. android:id="@+id/editProfileBtn"
  86. android:layout_width="200dp"
  87. android:layout_height="40dp"
  88. android:layout_gravity="center_horizontal|top"
  89. android:layout_marginBottom="0dp"
  90. android:background="@drawable/blue_button_style"
  91. android:text="Редактировать профиль"
  92. android:textColor="#FFFFFF"
  93. android:textSize="13dp" />
  94. </FrameLayout>
  95.  
  96. <LinearLayout
  97. android:id="@+id/linearLayout2"
  98. android:layout_width="match_parent"
  99. android:layout_height="wrap_content"
  100. android:layout_below="@+id/linearLayout"
  101. android:layout_marginTop="45dp"
  102. android:orientation="horizontal"
  103. android:paddingTop="5dp">
  104.  
  105. <TextView
  106. android:layout_width="wrap_content"
  107. android:layout_height="wrap_content"
  108. android:layout_weight="1"
  109. android:text="Записей"
  110. android:textAlignment="center"
  111. android:textAppearance="?android:attr/textAppearanceMedium" />
  112.  
  113. <TextView
  114. android:id="@+id/followersTV"
  115. android:layout_width="wrap_content"
  116. android:layout_height="wrap_content"
  117. android:layout_weight="1"
  118. android:text="Подписчиков"
  119. android:textAlignment="center"
  120. android:textAppearance="?android:attr/textAppearanceMedium" />
  121.  
  122. <TextView
  123. android:id="@+id/subscriptionTV"
  124. android:layout_width="wrap_content"
  125. android:layout_height="wrap_content"
  126. android:layout_weight="1"
  127. android:text="Подписок"
  128. android:textAlignment="center"
  129. android:textAppearance="?android:attr/textAppearanceMedium" />
  130. </LinearLayout>
  131.  
  132. <LinearLayout
  133. android:id="@+id/linearLayout3"
  134. android:layout_width="match_parent"
  135. android:layout_height="wrap_content"
  136. android:layout_below="@+id/linearLayout2"
  137. android:orientation="horizontal">
  138.  
  139. <TextView
  140. android:layout_width="wrap_content"
  141. android:layout_height="wrap_content"
  142. android:layout_weight="1"
  143. android:text="@string/NULL"
  144. android:textAlignment="center"
  145. android:textAppearance="?android:attr/textAppearanceMedium"
  146. android:textSize="30sp" />
  147.  
  148. <TextView
  149. android:id="@+id/followersCountTV"
  150. android:layout_width="wrap_content"
  151. android:layout_height="wrap_content"
  152. android:layout_weight="1"
  153. android:text="@string/NULL"
  154. android:textAlignment="center"
  155. android:textAppearance="?android:attr/textAppearanceMedium"
  156. android:textSize="30sp" />
  157.  
  158. <TextView
  159. android:id="@+id/subscriptionCountTV"
  160. android:layout_width="wrap_content"
  161. android:layout_height="wrap_content"
  162. android:layout_weight="1"
  163. android:text="@string/NULL"
  164. android:textAlignment="center"
  165. android:textAppearance="?android:attr/textAppearanceMedium"
  166. android:textSize="30sp" />
  167. </LinearLayout>
  168.  
  169.  
  170. <LinearLayout
  171. android:layout_width="match_parent"
  172. android:layout_height="wrap_content"
  173. android:layout_below="@+id/linearLayout3">
  174. <android.support.v7.widget.RecyclerView
  175. android:id="@+id/rvProfileFragment"
  176. android:layout_width="match_parent"
  177. android:layout_height="wrap_content"
  178. android:clipToPadding="false"
  179. android:paddingBottom="88dp"
  180. android:scrollbars="vertical"/>
  181. </LinearLayout>
  182.  
  183. </RelativeLayout>
  184. </android.support.v4.widget.NestedScrollView>
Add Comment
Please, Sign In to add comment