Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/content_profile"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingBottom="@dimen/activity_vertical_margin"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- android:background="#f3f3f6"
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
- tools:context="com.xevica.grajdanite.profile.ProfileActivity"
- tools:showIn="@layout/activity_profile">
- <ImageView
- android:id="@+id/profile_header"
- android:layout_width="match_parent"
- android:layout_height="120dp"
- android:adjustViewBounds="true"
- android:scaleType="centerCrop"
- android:layout_alignParentTop="true"
- android:layout_alignParentStart="true" />
- <TextView
- android:id="@+id/display_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/profile_header"
- android:layout_centerHorizontal="true"
- android:paddingBottom="8dp"
- android:text="Иван Митов"
- android:textAppearance="@style/TextAppearance.AppCompat"
- android:textColor="#000"
- android:textSize="28sp" />
- <LinearLayout
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:weightSum="3"
- android:id="@+id/linearLayoutrang"
- android:layout_below="@+id/display_name"
- android:layout_alignParentStart="true">
- <TextView
- android:id="@+id/rang_name"
- android:layout_width="0px"
- android:layout_height="wrap_content"
- android:layout_alignParentStart="true"
- android:layout_weight="1.495"
- android:paddingRight="15dp"
- android:text="Главен Секретар"
- android:textAlignment="viewEnd"
- android:textAppearance="@style/TextAppearance.AppCompat"
- android:textColor="#000"
- android:textSize="16sp" />
- <TextView
- android:id="@+id/rang_devider"
- android:layout_width="0px"
- android:layout_height="wrap_content"
- android:layout_alignParentStart="true"
- android:layout_weight="0.01"
- android:background="#000"
- android:text="" />
- <TextView
- android:id="@+id/amount_points"
- android:layout_width="0px"
- android:layout_height="wrap_content"
- android:layout_alignParentStart="true"
- android:layout_weight="1.495"
- android:paddingLeft="15dp"
- android:text="10 875 точки"
- android:textAppearance="@style/TextAppearance.AppCompat"
- android:textColor="#000"
- android:textSize="16sp" />
- </LinearLayout>
- <Button
- android:id="@+id/all_ranks"
- android:layout_width="160dp"
- android:layout_height="120dp"
- android:layout_alignBaseline="@+id/register_radar"
- android:layout_alignBottom="@+id/register_radar"
- android:layout_alignParentEnd="true"
- android:background="#fff"
- android:drawableTop="@drawable/ic_star_black_32dp"
- android:paddingBottom="20dp"
- android:paddingTop="20dp"
- android:paddingLeft="5dp"
- android:paddingRight="5dp"
- android:text="Всички рангове по
- брой точки"
- android:textAppearance="@android:style/TextAppearance.Widget.Button" />
- <Button
- android:id="@+id/register_radar"
- android:layout_width="160dp"
- android:layout_height="120dp"
- android:layout_alignStart="@+id/followed_by_me"
- android:layout_below="@+id/followed_by_me"
- android:layout_marginTop="21dp"
- android:background="#fff"
- android:drawableTop="@drawable/ic_gps_fixed_black_32dp"
- android:paddingBottom="20dp"
- android:paddingTop="20dp"
- android:paddingLeft="5dp"
- android:paddingRight="5dp"
- android:text="Регистрирайте до 2
- МПС-та в 'Радар'"
- android:textAppearance="@android:style/TextAppearance.Widget.Button" />
- <Button
- android:id="@+id/captured_by_me"
- android:layout_width="160dp"
- android:layout_height="120dp"
- android:background="#fff"
- android:drawableTop="@drawable/ic_collections_bookmark_black_32dp"
- android:paddingBottom="20dp"
- android:paddingTop="20dp"
- android:paddingLeft="5dp"
- android:paddingRight="5dp"
- android:text="Заснети от мен
- сигнали"
- android:textAppearance="@android:style/TextAppearance.Widget.Button"
- android:layout_marginTop="55dp"
- android:layout_below="@+id/linearLayoutrang"
- android:layout_alignParentEnd="true" />
- <Button
- android:id="@+id/followed_by_me"
- android:layout_width="160dp"
- android:layout_height="120dp"
- android:background="#fff"
- android:drawableTop="@drawable/ic_add_to_photos_black_24dp"
- android:paddingBottom="20dp"
- android:paddingTop="20dp"
- android:text="Подкрепени от мен
- сигнали"
- android:paddingLeft="5dp"
- android:paddingRight="5dp"
- android:textAppearance="@android:style/TextAppearance.Widget.Button"
- android:layout_alignTop="@+id/captured_by_me"
- android:layout_alignParentStart="true" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement