Advertisement
bruimafia

Untitled

Feb 18th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.32 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:android="http://schemas.android.com/apk/res/android"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:orientation="vertical">
  8.  
  9.     <android.support.v4.widget.NestedScrollView
  10.        xmlns:app="http://schemas.android.com/apk/res-auto"
  11.        xmlns:android="http://schemas.android.com/apk/res/android"
  12.        android:layout_width="match_parent"
  13.        android:layout_height="match_parent"
  14.        android:fillViewport="true">
  15.  
  16.         <LinearLayout
  17.            android:layout_width="match_parent"
  18.            android:layout_height="wrap_content"
  19.            android:orientation="vertical">
  20.  
  21.             <LinearLayout
  22.                android:layout_width="match_parent"
  23.                android:layout_height="wrap_content"
  24.                android:orientation="vertical"
  25.                android:background="@color/white">
  26.  
  27.                 <ImageView
  28.                    android:id="@+id/image"
  29.                    android:layout_width="match_parent"
  30.                    android:layout_height="400dp"
  31.                    android:layout_gravity="center"
  32.                    android:scaleType="centerCrop"
  33.                    android:src="@drawable/img" />
  34.  
  35.                 <TextView
  36.                    android:layout_width="match_parent"
  37.                    android:layout_height="wrap_content"
  38.                    android:text="Имя Фамилия"
  39.                    android:textSize="25sp"
  40.                    android:textStyle="bold" />
  41.  
  42.                 <android.support.v7.widget.RecyclerView
  43.                    android:id="@+id/rv"
  44.                    android:layout_width="match_parent"
  45.                    android:layout_height="match_parent"
  46.                    android:visibility="gone"
  47.                    app:layoutManager="LinearLayoutManager"/>
  48.  
  49.             </LinearLayout>
  50.  
  51.             <LinearLayout
  52.                android:orientation="vertical"
  53.                android:layout_width="match_parent"
  54.                android:layout_height="match_parent">
  55.  
  56.                 <android.support.design.widget.TabLayout
  57.                    android:id="@+id/tablayout"
  58.                    android:layout_width="match_parent"
  59.                    android:layout_height="wrap_content">
  60.  
  61.                     <android.support.design.widget.TabItem
  62.                        android:id="@+id/tabChats"
  63.                        android:layout_width="wrap_content"
  64.                        android:layout_height="wrap_content"
  65.                        android:text="Chats" />
  66.  
  67.                     <android.support.design.widget.TabItem
  68.                        android:id="@+id/tabStatus"
  69.                        android:layout_width="wrap_content"
  70.                        android:layout_height="wrap_content"
  71.                        android:text="Status" />
  72.  
  73.                 </android.support.design.widget.TabLayout>
  74.  
  75.                 <android.support.v4.view.ViewPager
  76.                    android:id="@+id/viewPager"
  77.                    android:layout_width="match_parent"
  78.                    android:layout_height="match_parent" />
  79.  
  80.             </LinearLayout>
  81.  
  82.         </LinearLayout>
  83.  
  84.     </android.support.v4.widget.NestedScrollView>
  85.  
  86. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement