Advertisement
Guest User

Untitled

a guest
May 26th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.74 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:id="@+id/content_profile"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:paddingBottom="@dimen/activity_vertical_margin"
  9. android:paddingLeft="@dimen/activity_horizontal_margin"
  10. android:paddingRight="@dimen/activity_horizontal_margin"
  11. android:paddingTop="@dimen/activity_vertical_margin"
  12. android:background="#f3f3f6"
  13. app:layout_behavior="@string/appbar_scrolling_view_behavior"
  14. tools:context="com.xevica.grajdanite.profile.ProfileActivity"
  15. tools:showIn="@layout/activity_profile">
  16.  
  17. <ImageView
  18. android:id="@+id/profile_header"
  19. android:layout_width="match_parent"
  20. android:layout_height="120dp"
  21. android:adjustViewBounds="true"
  22. android:scaleType="centerCrop"
  23. android:layout_alignParentTop="true"
  24. android:layout_alignParentStart="true" />
  25.  
  26. <TextView
  27. android:id="@+id/display_name"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_below="@+id/profile_header"
  31. android:layout_centerHorizontal="true"
  32. android:paddingBottom="8dp"
  33. android:text="Иван Митов"
  34. android:textAppearance="@style/TextAppearance.AppCompat"
  35. android:textColor="#000"
  36. android:textSize="28sp" />
  37.  
  38. <LinearLayout
  39. android:layout_height="wrap_content"
  40. android:orientation="horizontal"
  41. android:layout_width="fill_parent"
  42. android:weightSum="3"
  43. android:id="@+id/linearLayoutrang"
  44. android:layout_below="@+id/display_name"
  45. android:layout_alignParentStart="true">
  46.  
  47. <TextView
  48. android:id="@+id/rang_name"
  49. android:layout_width="0px"
  50. android:layout_height="wrap_content"
  51. android:layout_alignParentStart="true"
  52. android:layout_weight="1.495"
  53. android:paddingRight="15dp"
  54. android:text="Главен Секретар"
  55. android:textAlignment="viewEnd"
  56. android:textAppearance="@style/TextAppearance.AppCompat"
  57. android:textColor="#000"
  58. android:textSize="16sp" />
  59.  
  60. <TextView
  61. android:id="@+id/rang_devider"
  62. android:layout_width="0px"
  63. android:layout_height="wrap_content"
  64. android:layout_alignParentStart="true"
  65. android:layout_weight="0.01"
  66. android:background="#000"
  67. android:text="" />
  68.  
  69. <TextView
  70. android:id="@+id/amount_points"
  71. android:layout_width="0px"
  72. android:layout_height="wrap_content"
  73. android:layout_alignParentStart="true"
  74. android:layout_weight="1.495"
  75. android:paddingLeft="15dp"
  76. android:text="10 875 точки"
  77. android:textAppearance="@style/TextAppearance.AppCompat"
  78. android:textColor="#000"
  79. android:textSize="16sp" />
  80.  
  81. </LinearLayout>
  82.  
  83. <Button
  84. android:id="@+id/button3"
  85. android:layout_width="170dp"
  86. android:layout_height="wrap_content"
  87. android:background="#fff"
  88. android:drawableTop="@drawable/ic_collections_bookmark_black_32dp"
  89. android:paddingBottom="20dp"
  90. android:paddingTop="20dp"
  91. android:paddingLeft="5dp"
  92. android:paddingRight="5dp"
  93. android:text="Заснети от мен
  94. сигнали"
  95. android:textAppearance="@android:style/TextAppearance.Widget.Button"
  96. android:layout_centerVertical="true"
  97. android:layout_alignParentEnd="true" />
  98.  
  99. <Button
  100. android:id="@+id/button4"
  101. android:layout_width="170dp"
  102. android:layout_height="wrap_content"
  103. android:background="#fff"
  104. android:drawableTop="@drawable/ic_star_black_32dp"
  105. android:paddingBottom="20dp"
  106. android:paddingTop="20dp"
  107. android:paddingLeft="5dp"
  108. android:paddingRight="5dp"
  109. android:text="Всички рангове по
  110. брой точки"
  111. android:textAppearance="@android:style/TextAppearance.Widget.Button"
  112. android:layout_alignBaseline="@+id/button6"
  113. android:layout_alignBottom="@+id/button6"
  114. android:layout_alignParentEnd="true" />
  115.  
  116. <Button
  117. android:id="@+id/register_radar"
  118. android:layout_width="160dp"
  119. android:layout_height="120dp"
  120. android:layout_alignStart="@+id/followed_by_me"
  121. android:layout_below="@+id/followed_by_me"
  122. android:layout_marginTop="21dp"
  123. android:background="#fff"
  124. android:drawableTop="@drawable/ic_gps_fixed_black_32dp"
  125. android:paddingBottom="20dp"
  126. android:paddingTop="20dp"
  127. android:paddingLeft="5dp"
  128. android:paddingRight="5dp"
  129. android:text="Регистрирайте до 2
  130. МПС-та в 'Радар'"
  131. android:textAppearance="@android:style/TextAppearance.Widget.Button" />
  132.  
  133. <Button
  134. android:id="@+id/captured_by_me"
  135. android:layout_width="160dp"
  136. android:layout_height="120dp"
  137.  
  138.  
  139. android:background="#fff"
  140. android:drawableTop="@drawable/ic_collections_bookmark_black_32dp"
  141. android:paddingBottom="20dp"
  142. android:paddingTop="20dp"
  143. android:paddingLeft="5dp"
  144. android:paddingRight="5dp"
  145. android:text="Заснети от мен
  146. сигнали"
  147. android:textAppearance="@android:style/TextAppearance.Widget.Button"
  148. android:layout_marginTop="55dp"
  149. android:layout_below="@+id/linearLayoutrang"
  150. android:layout_alignParentEnd="true" />
  151.  
  152. <Button
  153. android:id="@+id/followed_by_me"
  154. android:layout_width="160dp"
  155. android:layout_height="120dp"
  156. android:background="#fff"
  157. android:drawableTop="@drawable/ic_add_to_photos_black_24dp"
  158. android:paddingBottom="20dp"
  159. android:paddingTop="20dp"
  160. android:paddingLeft="5dp"
  161. android:paddingRight="5dp"
  162. android:text="Подкрепени от мен
  163. сигнали"
  164. android:paddingLeft="5dp"
  165. android:paddingRight="5dp"
  166. android:textAppearance="@android:style/TextAppearance.Widget.Button"
  167. android:layout_alignTop="@+id/captured_by_me"
  168. android:layout_alignParentStart="true" />
  169.  
  170.  
  171. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement