Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <android.support.design.widget.CoordinatorLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <android.support.design.widget.AppBarLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:theme="@style/ThemeOverlay.AppCompat.Light">
- <include layout="@layout/toolbar"/>
- <android.support.design.widget.TabLayout
- android:id="@+id/tablayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:tabGravity="fill"
- app:tabTextColor="@android:color/white"
- app:tabSelectedTextColor="@android:color/white"
- app:tabBackground="@drawable/tab_color_background"
- app:tabIndicatorColor="#ffffff"
- app:tabIndicatorHeight="4dp"
- app:tabMode="fixed" />
- </android.support.design.widget.AppBarLayout>
- <android.support.v4.view.ViewPager
- android:id="@+id/viewpager"
- android:gravity="center"
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- <android.support.design.widget.FloatingActionButton
- android:id="@+id/fabvptl"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom|left"
- android:clickable="true"
- app:elevation="10dp"
- android:layout_margin="10dp"
- app:backgroundTint="#D30A27"
- android:src="@drawable/fabrandom"
- />
- </android.support.design.widget.CoordinatorLayout>
- <android.support.v4.widget.NestedScrollView
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:orientation="vertical">
- <TextView
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:text="1"
- android:id="@+id/squaremask"
- android:background="#D52115"
- android:textColor="#FFFFFF"
- android:textStyle="bold"
- android:layout_centerInParent="true"
- android:gravity="center"
- android:textSize="80sp"
- android:padding="50dp"/>
- </RelativeLayout>
- </android.support.v4.widget.NestedScrollView>
- android:gravity="center"
- android:layout_gravity="center"
- android:orientation="vertical"
Add Comment
Please, Sign In to add comment