Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <android.support.v4.widget.NestedScrollView
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:fillViewport="true">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:background="@color/white">
- <ImageView
- android:id="@+id/image"
- android:layout_width="match_parent"
- android:layout_height="400dp"
- android:layout_gravity="center"
- android:scaleType="centerCrop"
- android:src="@drawable/img" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Имя Фамилия"
- android:textSize="25sp"
- android:textStyle="bold" />
- <android.support.v7.widget.RecyclerView
- android:id="@+id/rv"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="gone"
- app:layoutManager="LinearLayoutManager"/>
- </LinearLayout>
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <android.support.design.widget.TabLayout
- android:id="@+id/tablayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <android.support.design.widget.TabItem
- android:id="@+id/tabChats"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Chats" />
- <android.support.design.widget.TabItem
- android:id="@+id/tabStatus"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Status" />
- </android.support.design.widget.TabLayout>
- <android.support.v4.view.ViewPager
- android:id="@+id/viewPager"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- </LinearLayout>
- </LinearLayout>
- </android.support.v4.widget.NestedScrollView>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement