Advertisement
Guest User

Untitled

a guest
May 26th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.71 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  4.  
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6.  
  7. xmlns:tools="http://schemas.android.com/tools"
  8.  
  9. android:id="@+id/content_profile"
  10.  
  11. android:layout_width="match_parent"
  12.  
  13. android:layout_height="match_parent"
  14.  
  15. android:paddingBottom="@dimen/activity_vertical_margin"
  16.  
  17. android:paddingLeft="@dimen/activity_horizontal_margin"
  18.  
  19. android:paddingRight="@dimen/activity_horizontal_margin"
  20.  
  21. android:paddingTop="@dimen/activity_vertical_margin"
  22.  
  23. android:background="#f3f3f6"
  24.  
  25. app:layout_behavior="@string/appbar_scrolling_view_behavior"
  26.  
  27. tools:context="com.xevica.grajdanite.profile.ProfileActivity"
  28.  
  29. tools:showIn="@layout/activity_profile">
  30.  
  31.  
  32. <ImageView
  33.  
  34. android:id="@+id/profile_header"
  35.  
  36. android:layout_width="match_parent"
  37.  
  38. android:layout_height="120dp"
  39.  
  40. android:adjustViewBounds="true"
  41.  
  42. android:scaleType="centerCrop"
  43.  
  44. android:layout_alignParentTop="true"
  45.  
  46. android:layout_alignParentStart="true" />
  47.  
  48.  
  49. <TextView
  50.  
  51. android:id="@+id/display_name"
  52.  
  53. android:layout_width="wrap_content"
  54.  
  55. android:layout_height="wrap_content"
  56.  
  57. android:layout_below="@+id/profile_header"
  58.  
  59. android:layout_centerHorizontal="true"
  60.  
  61. android:paddingBottom="8dp"
  62.  
  63. android:text="Иван Митов"
  64.  
  65. android:textAppearance="@style/TextAppearance.AppCompat"
  66.  
  67. android:textColor="#000"
  68.  
  69. android:textSize="28sp" />
  70.  
  71.  
  72. <LinearLayout
  73.  
  74. android:layout_height="wrap_content"
  75.  
  76. android:orientation="horizontal"
  77.  
  78. android:layout_width="fill_parent"
  79.  
  80. android:weightSum="3"
  81.  
  82. android:id="@+id/linearLayoutrang"
  83.  
  84. android:layout_below="@+id/display_name"
  85.  
  86. android:layout_alignParentStart="true">
  87.  
  88.  
  89. <TextView
  90.  
  91. android:id="@+id/rang_name"
  92.  
  93. android:layout_width="0px"
  94.  
  95. android:layout_height="wrap_content"
  96.  
  97. android:layout_alignParentStart="true"
  98.  
  99. android:layout_weight="1.495"
  100.  
  101. android:paddingRight="15dp"
  102.  
  103. android:text="Главен Секретар"
  104.  
  105. android:textAlignment="viewEnd"
  106.  
  107. android:textAppearance="@style/TextAppearance.AppCompat"
  108.  
  109. android:textColor="#000"
  110.  
  111. android:textSize="16sp" />
  112.  
  113.  
  114. <TextView
  115.  
  116. android:id="@+id/rang_devider"
  117.  
  118. android:layout_width="0px"
  119.  
  120. android:layout_height="wrap_content"
  121.  
  122. android:layout_alignParentStart="true"
  123.  
  124. android:layout_weight="0.01"
  125.  
  126. android:background="#000"
  127.  
  128. android:text="" />
  129.  
  130.  
  131. <TextView
  132.  
  133. android:id="@+id/amount_points"
  134.  
  135. android:layout_width="0px"
  136.  
  137. android:layout_height="wrap_content"
  138.  
  139. android:layout_alignParentStart="true"
  140.  
  141. android:layout_weight="1.495"
  142.  
  143. android:paddingLeft="15dp"
  144.  
  145. android:text="10 875 точки"
  146.  
  147. android:textAppearance="@style/TextAppearance.AppCompat"
  148.  
  149. android:textColor="#000"
  150.  
  151. android:textSize="16sp" />
  152.  
  153.  
  154. </LinearLayout>
  155.  
  156.  
  157. <Button
  158.  
  159. android:id="@+id/all_ranks"
  160.  
  161. android:layout_width="160dp"
  162.  
  163. android:layout_height="120dp"
  164.  
  165. android:layout_alignBaseline="@+id/register_radar"
  166.  
  167. android:layout_alignBottom="@+id/register_radar"
  168.  
  169. android:layout_alignParentEnd="true"
  170.  
  171. android:background="#fff"
  172.  
  173. android:drawableTop="@drawable/ic_star_black_32dp"
  174.  
  175. android:paddingBottom="20dp"
  176.  
  177. android:paddingTop="20dp"
  178.  
  179. android:paddingLeft="5dp"
  180.  
  181. android:paddingRight="5dp"
  182.  
  183. android:text="Всички рангове по
  184.  
  185. брой точки"
  186.  
  187. android:textAppearance="@android:style/TextAppearance.Widget.Button" />
  188.  
  189.  
  190. <Button
  191.  
  192. android:id="@+id/register_radar"
  193.  
  194. android:layout_width="160dp"
  195.  
  196. android:layout_height="120dp"
  197.  
  198. android:layout_alignStart="@+id/followed_by_me"
  199.  
  200. android:layout_below="@+id/followed_by_me"
  201.  
  202. android:layout_marginTop="21dp"
  203.  
  204. android:background="#fff"
  205.  
  206. android:drawableTop="@drawable/ic_gps_fixed_black_32dp"
  207.  
  208. android:paddingBottom="20dp"
  209.  
  210. android:paddingTop="20dp"
  211.  
  212. android:paddingLeft="5dp"
  213.  
  214. android:paddingRight="5dp"
  215.  
  216. android:text="Регистрирайте до 2
  217.  
  218. МПС-та в 'Радар'"
  219.  
  220. android:textAppearance="@android:style/TextAppearance.Widget.Button" />
  221.  
  222.  
  223. <Button
  224.  
  225. android:id="@+id/captured_by_me"
  226.  
  227. android:layout_width="160dp"
  228.  
  229. android:layout_height="120dp"
  230.  
  231.  
  232.  
  233. android:background="#fff"
  234.  
  235. android:drawableTop="@drawable/ic_collections_bookmark_black_32dp"
  236.  
  237. android:paddingBottom="20dp"
  238.  
  239. android:paddingTop="20dp"
  240.  
  241. android:paddingLeft="5dp"
  242.  
  243. android:paddingRight="5dp"
  244.  
  245. android:text="Заснети от мен
  246.  
  247. сигнали"
  248.  
  249. android:textAppearance="@android:style/TextAppearance.Widget.Button"
  250.  
  251. android:layout_marginTop="55dp"
  252.  
  253. android:layout_below="@+id/linearLayoutrang"
  254.  
  255. android:layout_alignParentEnd="true" />
  256.  
  257.  
  258. <Button
  259.  
  260. android:id="@+id/followed_by_me"
  261.  
  262. android:layout_width="160dp"
  263.  
  264. android:layout_height="120dp"
  265.  
  266. android:background="#fff"
  267.  
  268. android:drawableTop="@drawable/ic_add_to_photos_black_24dp"
  269.  
  270. android:paddingBottom="20dp"
  271.  
  272. android:paddingTop="20dp"
  273.  
  274. android:text="Подкрепени от мен
  275.  
  276. сигнали"
  277.  
  278. android:paddingLeft="5dp"
  279.  
  280. android:paddingRight="5dp"
  281.  
  282. android:textAppearance="@android:style/TextAppearance.Widget.Button"
  283.  
  284. android:layout_alignTop="@+id/captured_by_me"
  285.  
  286. android:layout_alignParentStart="true" />
  287.  
  288.  
  289.  
  290. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement