| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout 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:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- tools:background="@color/colorPrimaryDark"
- tools:ignore="ContentDescription">
- <android.support.v7.widget.Toolbar
- android:id="@+id/profileToolbar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
- app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
- <View
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="5" />
- <ImageView
- android:id="@+id/profileAvatar"
- android:layout_width="128dp"
- android:layout_height="128dp"
- android:layout_gravity="center_horizontal"
- tools:src="@drawable/oval_placeholder_background" />
- <TextView
- android:id="@+id/profileNickname"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:gravity="center"
- android:padding="16dp"
- android:textColor="@color/white"
- android:textSize="28sp"
- tools:text="Павел Дуров" />
- <View
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1" />
- <!-- TODO: visible -->
- <include
- layout="@layout/profile_contact_item"
- android:visibility="invisible" />
- <View
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="5" />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#BBFFFFFF" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <TextView
- android:id="@+id/profileBooksCount"
- style="@style/ProfileCaptionItem" />
- <TextView
- android:id="@+id/profileWishesCount"
- style="@style/ProfileCaptionItem" />
- <TextView
- android:id="@+id/profileReviewsCount"
- style="@style/ProfileCaptionItem" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#BBFFFFFF" />
- <View
- android:layout_width="match_parent"
- android:layout_height="56dp" />
- </LinearLayout>
|