Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout
- 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"
- android:clipChildren="false"
- android:clipToPadding="false">
- <android.support.constraint.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:clipChildren="false"
- android:clipToPadding="false"
- android:fitsSystemWindows="true">
- <android.support.v4.view.ViewPager
- android:id="@+id/viewPager"
- android:layout_width="match_parent"
- android:layout_height="match_parent"/>
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="56dp"
- app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
- app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
- <TextView
- android:id="@+id/btnNext"
- android:layout_width="wrap_content"
- android:layout_height="56dp"
- android:layout_gravity="end"
- android:paddingLeft="24dp"
- android:paddingRight="24dp"
- android:gravity="center"
- android:text="@string/onboarding_next"
- android:textColor="@color/white"
- android:textAllCaps="false"
- android:textSize="18sp"
- android:background="?selectableItemBackground"
- android:clickable="true"
- android:focusable="true"/>
- </android.support.v7.widget.Toolbar>
- <ImageView
- android:id="@+id/imgLogo"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="20dp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="@id/toolbar"
- app:srcCompat="@drawable/logo_fitify"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:clipChildren="false"
- android:clipToPadding="false"
- android:gravity="center"
- android:orientation="horizontal"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/imgLogo">
- <View
- android:layout_width="45dp"
- android:layout_height="1dp"
- android:layout_marginEnd="16dp"
- android:layout_marginRight="16dp"
- android:background="@color/white_25"/>
- <FrameLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:clipChildren="false"
- android:clipToPadding="false">
- <TextView
- android:id="@+id/txtPosition"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-black"
- android:textColor="@color/white"
- android:textSize="16sp"
- tools:text="01"/>
- <TextView
- android:id="@+id/txtPositionSecondary"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:alpha="0"
- android:fontFamily="sans-serif-black"
- android:textColor="@color/white"
- android:textSize="16sp"
- tools:text="02"/>
- </FrameLayout>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:layout_marginBottom="1dp"
- android:layout_marginLeft="6dp"
- android:layout_marginRight="6dp"
- android:fontFamily="sans-serif-black"
- android:text="@string/x_of_x"
- android:textColor="@color/white"
- android:textSize="11sp"/>
- <TextView
- android:id="@+id/txtCount"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-black"
- android:textColor="@color/white"
- android:textSize="16sp"
- tools:text="17"/>
- <View
- android:layout_width="45dp"
- android:layout_height="1dp"
- android:layout_marginLeft="16dp"
- android:layout_marginStart="16dp"
- android:background="@color/white_25"/>
- </LinearLayout>
- <com.fitifyapps.fitify.ui.onboarding.ViewPagerLineIndicator
- android:id="@+id/indicator"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="32dp"
- android:gravity="center_horizontal"
- app:layout_constraintBottom_toBottomOf="parent"/>
- </android.support.constraint.ConstraintLayout>
- </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement