zidniryi

activity_profil.xml

Jan 28th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.61 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context=".MainActivity">
  8.  
  9. <ImageView
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"
  12. android:scaleType="centerCrop"
  13. android:src="@drawable/image" />
  14.  
  15. <ImageView
  16. android:layout_width="match_parent"
  17. android:layout_height="match_parent"
  18. android:src="@drawable/image_visivility" />
  19.  
  20. <android.support.constraint.ConstraintLayout
  21. android:layout_width="match_parent"
  22. android:layout_height="match_parent"
  23. android:orientation="vertical">
  24.  
  25. <TextView
  26. android:id="@+id/textView2"
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"
  29. android:layout_marginBottom="8dp"
  30. android:layout_marginEnd="8dp"
  31. android:layout_marginStart="8dp"
  32. android:layout_marginTop="8dp"
  33. android:text="ZIDNI \n RYI"
  34. android:textAlignment="center"
  35. android:textColor="#fff"
  36. android:textSize="35dp"
  37. android:textStyle="bold"
  38. app:layout_constraintBottom_toBottomOf="parent"
  39. app:layout_constraintEnd_toEndOf="parent"
  40. app:layout_constraintHorizontal_bias="0.0"
  41. app:layout_constraintStart_toStartOf="parent"
  42. app:layout_constraintTop_toTopOf="parent"
  43. app:layout_constraintVertical_bias="0.352" />
  44.  
  45. <RelativeLayout
  46. android:id="@+id/relativeLayout"
  47. android:layout_width="130dp"
  48. android:layout_height="8dp"
  49. android:layout_marginBottom="8dp"
  50. android:layout_marginEnd="8dp"
  51. android:layout_marginStart="8dp"
  52. android:layout_marginTop="8dp"
  53. android:background="@drawable/line_background"
  54. app:layout_constraintBottom_toBottomOf="parent"
  55. app:layout_constraintEnd_toEndOf="parent"
  56. app:layout_constraintStart_toStartOf="parent"
  57. app:layout_constraintTop_toBottomOf="@+id/textView2"
  58. app:layout_constraintVertical_bias="0.0" />
  59.  
  60. <LinearLayout
  61. android:id="@+id/linearLayout2"
  62. android:layout_width="match_parent"
  63. android:layout_height="100dp"
  64. android:layout_marginBottom="8dp"
  65. android:layout_marginTop="8dp"
  66. android:gravity="center"
  67. android:orientation="horizontal"
  68. app:layout_constraintBottom_toBottomOf="parent"
  69. app:layout_constraintEnd_toEndOf="parent"
  70. app:layout_constraintTop_toBottomOf="@+id/relativeLayout"
  71. app:layout_constraintVertical_bias="0.056">
  72.  
  73. <LinearLayout
  74. android:layout_width="100dp"
  75. android:layout_height="80dp"
  76. android:clickable="true"
  77. android:focusable="true"
  78. android:foreground="?android:attr/selectableItemBackground"
  79. android:gravity="center"
  80. android:orientation="vertical">
  81.  
  82. <TextView
  83. android:layout_width="wrap_content"
  84. android:layout_height="wrap_content"
  85. android:text="158"
  86. android:textColor="#fff"
  87. android:textSize="22sp"
  88. android:textStyle="bold" />
  89.  
  90. <TextView
  91. android:layout_width="wrap_content"
  92. android:layout_height="wrap_content"
  93. android:text="POST"
  94. android:textColor="#fff"
  95. android:textSize="12sp" />
  96.  
  97. <RelativeLayout
  98. android:layout_width="70dp"
  99. android:layout_height="4dp"
  100. android:layout_marginTop="8dp"
  101. android:background="@drawable/line_background" />
  102. </LinearLayout>
  103.  
  104. <LinearLayout
  105. android:layout_width="100dp"
  106. android:layout_height="80dp"
  107. android:clickable="true"
  108. android:focusable="true"
  109. android:foreground="?android:attr/selectableItemBackground"
  110. android:gravity="center"
  111. android:orientation="vertical">
  112.  
  113. <TextView
  114. android:layout_width="wrap_content"
  115. android:layout_height="wrap_content"
  116. android:text="169"
  117. android:textColor="#fff"
  118. android:textSize="22sp"
  119. android:textStyle="bold" />
  120.  
  121. <TextView
  122. android:layout_width="wrap_content"
  123. android:layout_height="wrap_content"
  124. android:text="FOLLOWERS"
  125. android:textColor="#fff"
  126. android:textSize="12sp" />
  127.  
  128. <RelativeLayout
  129. android:layout_width="70dp"
  130. android:layout_height="4dp"
  131. android:layout_marginTop="8dp"
  132. android:background="@drawable/line_background" />
  133. </LinearLayout>
  134.  
  135. <LinearLayout
  136. android:layout_width="100dp"
  137. android:layout_height="80dp"
  138. android:clickable="true"
  139. android:focusable="true"
  140. android:foreground="?android:attr/selectableItemBackground"
  141. android:gravity="center"
  142. android:orientation="vertical">
  143.  
  144. <TextView
  145. android:layout_width="wrap_content"
  146. android:layout_height="wrap_content"
  147. android:text="182"
  148. android:textColor="#fff"
  149. android:textSize="22sp"
  150. android:textStyle="bold" />
  151.  
  152. <TextView
  153. android:layout_width="wrap_content"
  154. android:layout_height="wrap_content"
  155. android:text="FOLLOWING"
  156. android:textColor="#fff"
  157. android:textSize="12sp" />
  158.  
  159. <RelativeLayout
  160. android:layout_width="70dp"
  161. android:layout_height="4dp"
  162. android:layout_marginTop="8dp"
  163. android:background="@drawable/line_background" />
  164. </LinearLayout>
  165.  
  166. </LinearLayout>
  167.  
  168. <Button
  169. android:id="@+id/button3"
  170. android:layout_width="300dp"
  171. android:layout_height="wrap_content"
  172. android:layout_marginBottom="8dp"
  173. android:layout_marginStart="8dp"
  174. android:layout_marginTop="8dp"
  175. android:background="@drawable/butoon_follow_background"
  176. android:foreground="?android:attr/selectableItemBackground"
  177. android:text="F O L L O W"
  178. android:textColor="#03ae7d"
  179. android:textSize="18sp"
  180. android:textStyle="bold"
  181. app:layout_constraintBottom_toBottomOf="parent"
  182. app:layout_constraintEnd_toEndOf="parent"
  183. app:layout_constraintStart_toStartOf="parent"
  184. app:layout_constraintTop_toBottomOf="@+id/linearLayout2"
  185. app:layout_constraintVertical_bias="0.19999999" />
  186.  
  187. <Button
  188. android:id="@+id/btnMessage"
  189. android:layout_width="300dp"
  190. android:layout_height="wrap_content"
  191. android:layout_marginBottom="8dp"
  192. android:layout_marginEnd="8dp"
  193. android:layout_marginStart="8dp"
  194. android:layout_marginTop="24dp"
  195. android:background="@drawable/button_message_background"
  196. android:foreground="?android:attr/selectableItemBackground"
  197. android:text="M E S S A G E"
  198. android:textColor="#fff"
  199. android:textSize="18sp"
  200. android:textStyle="bold"
  201. app:layout_constraintBottom_toBottomOf="parent"
  202. app:layout_constraintEnd_toEndOf="parent"
  203. app:layout_constraintHorizontal_bias="0.51"
  204. app:layout_constraintStart_toStartOf="parent"
  205. app:layout_constraintTop_toBottomOf="@+id/button3"
  206. app:layout_constraintVertical_bias="0.0" />
  207.  
  208. </android.support.constraint.ConstraintLayout>
  209. </RelativeLayout>
Add Comment
Please, Sign In to add comment