Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <android.support.v4.widget.SwipeRefreshLayout
- 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/swipe_profile"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".fragment.ProfileFragment">
- <android.support.v4.widget.NestedScrollView
- android:fillViewport="true"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:id="@+id/linearLayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="-35dp"
- android:background="@drawable/gradient_profile"
- android:orientation="vertical"
- android:paddingBottom="35dp"
- android:weightSum="1">
- <de.hdodenhof.circleimageview.CircleImageView
- android:id="@+id/profileAvatarIV"
- android:layout_width="120dp"
- android:layout_height="120dp"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="10dp"
- android:src="@drawable/backgroundpodcastcard"
- app:civ_border_color="#56B0FF"
- app:civ_border_width="2dp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:text="@string/NULL"
- android:id="@+id/userNameTV"
- android:layout_gravity="center_horizontal"
- android:textColor="#FFF"
- android:textSize="16dp"
- android:layout_marginTop="3dp" />
- <TextView
- android:id="@+id/profileNameTV"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:text="@string/NULL"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:textColor="#FFFFFF"
- android:textSize="25sp" />
- <TextView
- android:id="@+id/profileAboutTV"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:text="@string/NULL"
- android:textAlignment="center"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:textColor="#FFFFFF" />
- </LinearLayout>
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true"
- android:layout_below="@+id/linearLayout"
- android:layout_marginBottom="0dp"
- android:layout_marginTop="0dp"
- android:paddingBottom="8dp"
- android:paddingTop="8dp">
- <Button
- android:id="@+id/editProfileBtn"
- android:layout_width="200dp"
- android:layout_height="40dp"
- android:layout_gravity="center_horizontal|top"
- android:layout_marginBottom="0dp"
- android:background="@drawable/blue_button_style"
- android:text="Редактировать профиль"
- android:textColor="#FFFFFF"
- android:textSize="13dp" />
- </FrameLayout>
- <LinearLayout
- android:id="@+id/linearLayout2"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/linearLayout"
- android:layout_marginTop="45dp"
- android:orientation="horizontal"
- android:paddingTop="5dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="Записей"
- android:textAlignment="center"
- android:textAppearance="?android:attr/textAppearanceMedium" />
- <TextView
- android:id="@+id/followersTV"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="Подписчиков"
- android:textAlignment="center"
- android:textAppearance="?android:attr/textAppearanceMedium" />
- <TextView
- android:id="@+id/subscriptionTV"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="Подписок"
- android:textAlignment="center"
- android:textAppearance="?android:attr/textAppearanceMedium" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/linearLayout3"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/linearLayout2"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/NULL"
- android:textAlignment="center"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:textSize="30sp" />
- <TextView
- android:id="@+id/followersCountTV"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/NULL"
- android:textAlignment="center"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:textSize="30sp" />
- <TextView
- android:id="@+id/subscriptionCountTV"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/NULL"
- android:textAlignment="center"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:textSize="30sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/linearLayout3">
- <android.support.v7.widget.RecyclerView
- android:id="@+id/rvProfileFragment"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:clipToPadding="false"
- android:paddingBottom="88dp"
- android:scrollbars="vertical"/>
- </LinearLayout>
- </RelativeLayout>
- </android.support.v4.widget.NestedScrollView>
Add Comment
Please, Sign In to add comment