Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--xml-ки-->
- <!--R.layout.activity_auth-->
- <?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"
- tools:context=".common.AuthActivity"
- android:background="@drawable/gradient"
- android:orientation="vertical">
- <include
- android:id="@+id/tool_bar"
- layout="@layout/toolbar"
- android:layout_height="wrap_content"
- android:layout_width="match_parent" />
- <android.support.design.widget.TabLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:tabGravity="fill"
- app:tabMode="fixed"
- android:id="@+id/tlTabs"
- android:background="@drawable/gradient"
- app:tabTextColor="@color/tab_text_color"
- app:tabTextAppearance="@style/CustomTabTextStyle"
- app:tabIndicatorColor="@color/tab_indicator_color"/>
- <android.support.v4.view.ViewPager
- android:id="@+id/vpPager"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- </LinearLayout>
- <!--R.layout.reg_fragment-->
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:id="@+id/tabReg">
- <android.support.design.widget.CoordinatorLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:layout_gravity="center">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/plus_seven"
- android:textSize="20sp"
- android:textColor="@color/gray5" />
- <EditText
- android:id="@+id/etLoginReg"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:ems="10"
- android:inputType="phone"
- android:textSize="20sp"
- android:layout_weight="1"
- android:hint="@string/input_phone_number" />
- </LinearLayout>
- <EditText
- android:id="@+id/etPassReg"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:inputType="textPassword"
- android:textSize="20sp"
- android:hint="@string/invent_pass"/>
- <EditText
- android:id="@+id/etPassReg2"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:inputType="textPassword"
- android:textSize="20sp"
- android:hint="@string/retype_pass"/>
- <Button
- android:id="@+id/btnReg"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="20sp"
- android:text="@string/reg"/>
- </LinearLayout>
- </android.support.design.widget.CoordinatorLayout>
- </LinearLayout>
- <!--R.layout.auth_fragment-->
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:id="@+id/tabAuth">
- <android.support.design.widget.CoordinatorLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:layout_gravity="center">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/plus_seven"
- android:textSize="20sp"
- android:textColor="@color/gray5" />
- <EditText
- android:id="@+id/etLoginEnter"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:ems="10"
- android:inputType="phone"
- android:textSize="20sp"
- android:layout_weight="1"
- android:hint="@string/input_phone_number" />
- </LinearLayout>
- <EditText
- android:id="@+id/etPassEnter"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:inputType="textPassword"
- android:textSize="20sp"
- android:hint="@string/enter_pass"/>
- <Button
- android:id="@+id/btnEnter"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="20sp"
- android:text="@string/enter"/>
- </LinearLayout>
- </android.support.design.widget.CoordinatorLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment