Guest User

Untitled

a guest
Nov 25th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.07 KB | None | 0 0
  1. <!--xml-ки-->
  2. <!--R.layout.activity_auth-->
  3. <?xml version="1.0" encoding="utf-8"?>
  4. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  5.    xmlns:app="http://schemas.android.com/apk/res-auto"
  6.    xmlns:tools="http://schemas.android.com/tools"
  7.    android:layout_width="match_parent"
  8.    android:layout_height="match_parent"
  9.    tools:context=".common.AuthActivity"
  10.    android:background="@drawable/gradient"
  11.    android:orientation="vertical">
  12.  
  13.     <include
  14.        android:id="@+id/tool_bar"
  15.        layout="@layout/toolbar"
  16.        android:layout_height="wrap_content"
  17.        android:layout_width="match_parent" />
  18.  
  19.     <android.support.design.widget.TabLayout
  20.        android:layout_width="match_parent"
  21.        android:layout_height="wrap_content"
  22.        app:tabGravity="fill"
  23.        app:tabMode="fixed"
  24.        android:id="@+id/tlTabs"
  25.        android:background="@drawable/gradient"
  26.        app:tabTextColor="@color/tab_text_color"
  27.        app:tabTextAppearance="@style/CustomTabTextStyle"
  28.        app:tabIndicatorColor="@color/tab_indicator_color"/>
  29.  
  30.     <android.support.v4.view.ViewPager
  31.        android:id="@+id/vpPager"
  32.        android:layout_width="match_parent"
  33.        android:layout_height="match_parent" />
  34.  
  35. </LinearLayout>
  36.  
  37. <!--R.layout.reg_fragment-->
  38. <?xml version="1.0" encoding="utf-8"?>
  39. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  40.    android:orientation="vertical"
  41.    android:layout_width="match_parent"
  42.    android:layout_height="match_parent"
  43.    android:id="@+id/tabReg">
  44.  
  45.     <android.support.design.widget.CoordinatorLayout
  46.        android:layout_width="match_parent"
  47.        android:layout_height="match_parent">
  48.  
  49.         <LinearLayout
  50.            android:layout_width="match_parent"
  51.            android:layout_height="wrap_content"
  52.            android:orientation="vertical"
  53.            android:layout_gravity="center">
  54.  
  55.             <LinearLayout
  56.                android:layout_width="match_parent"
  57.                android:layout_height="wrap_content"
  58.                android:orientation="horizontal">
  59.  
  60.                 <TextView
  61.                    android:layout_width="wrap_content"
  62.                    android:layout_height="wrap_content"
  63.                    android:text="@string/plus_seven"
  64.                    android:textSize="20sp"
  65.                    android:textColor="@color/gray5" />
  66.  
  67.                 <EditText
  68.                    android:id="@+id/etLoginReg"
  69.                    android:layout_width="0dp"
  70.                    android:layout_height="wrap_content"
  71.                    android:ems="10"
  72.                    android:inputType="phone"
  73.                    android:textSize="20sp"
  74.                    android:layout_weight="1"
  75.                    android:hint="@string/input_phone_number" />
  76.  
  77.             </LinearLayout>
  78.  
  79.             <EditText
  80.                android:id="@+id/etPassReg"
  81.                android:layout_width="match_parent"
  82.                android:layout_height="wrap_content"
  83.                android:inputType="textPassword"
  84.                android:textSize="20sp"
  85.                android:hint="@string/invent_pass"/>
  86.  
  87.             <EditText
  88.                android:id="@+id/etPassReg2"
  89.                android:layout_width="match_parent"
  90.                android:layout_height="wrap_content"
  91.                android:inputType="textPassword"
  92.                android:textSize="20sp"
  93.                android:hint="@string/retype_pass"/>
  94.  
  95.             <Button
  96.                android:id="@+id/btnReg"
  97.                android:layout_width="match_parent"
  98.                android:layout_height="wrap_content"
  99.                android:textSize="20sp"
  100.                android:text="@string/reg"/>
  101.  
  102.         </LinearLayout>
  103.  
  104.     </android.support.design.widget.CoordinatorLayout>
  105.  
  106. </LinearLayout>
  107.  
  108. <!--R.layout.auth_fragment-->
  109. <?xml version="1.0" encoding="utf-8"?>
  110. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  111.    android:orientation="vertical"
  112.    android:layout_width="match_parent"
  113.    android:layout_height="match_parent"
  114.    android:id="@+id/tabAuth">
  115.  
  116.     <android.support.design.widget.CoordinatorLayout
  117.        android:layout_width="match_parent"
  118.        android:layout_height="match_parent">
  119.  
  120.         <LinearLayout
  121.            android:layout_width="match_parent"
  122.            android:layout_height="wrap_content"
  123.            android:orientation="vertical"
  124.            android:layout_gravity="center">
  125.  
  126.             <LinearLayout
  127.                android:layout_width="match_parent"
  128.                android:layout_height="wrap_content"
  129.                android:orientation="horizontal">
  130.  
  131.                 <TextView
  132.                    android:layout_width="wrap_content"
  133.                    android:layout_height="wrap_content"
  134.                    android:text="@string/plus_seven"
  135.                    android:textSize="20sp"
  136.                    android:textColor="@color/gray5" />
  137.  
  138.                 <EditText
  139.                    android:id="@+id/etLoginEnter"
  140.                    android:layout_width="0dp"
  141.                    android:layout_height="wrap_content"
  142.                    android:ems="10"
  143.                    android:inputType="phone"
  144.                    android:textSize="20sp"
  145.                    android:layout_weight="1"
  146.                    android:hint="@string/input_phone_number" />
  147.  
  148.             </LinearLayout>
  149.  
  150.             <EditText
  151.                android:id="@+id/etPassEnter"
  152.                android:layout_width="match_parent"
  153.                android:layout_height="wrap_content"
  154.                android:inputType="textPassword"
  155.                android:textSize="20sp"
  156.                android:hint="@string/enter_pass"/>
  157.  
  158.             <Button
  159.                android:id="@+id/btnEnter"
  160.                android:layout_width="match_parent"
  161.                android:layout_height="wrap_content"
  162.                android:textSize="20sp"
  163.                android:text="@string/enter"/>
  164.  
  165.         </LinearLayout>
  166.  
  167.     </android.support.design.widget.CoordinatorLayout>
  168.  
  169. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment