Advertisement
MattySkala

Untitled

Mar 14th, 2018
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.66 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:clipChildren="false"
  9. android:clipToPadding="false">
  10.  
  11. <android.support.constraint.ConstraintLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="match_parent"
  14. android:clipChildren="false"
  15. android:clipToPadding="false"
  16. android:fitsSystemWindows="true">
  17.  
  18. <android.support.v4.view.ViewPager
  19. android:id="@+id/viewPager"
  20. android:layout_width="match_parent"
  21. android:layout_height="match_parent"/>
  22.  
  23. <android.support.v7.widget.Toolbar
  24. android:id="@+id/toolbar"
  25. android:layout_width="match_parent"
  26. android:layout_height="56dp"
  27. app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
  28. app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
  29.  
  30. <TextView
  31. android:id="@+id/btnNext"
  32. android:layout_width="wrap_content"
  33. android:layout_height="56dp"
  34. android:layout_gravity="end"
  35. android:paddingLeft="24dp"
  36. android:paddingRight="24dp"
  37. android:gravity="center"
  38. android:text="@string/onboarding_next"
  39. android:textColor="@color/white"
  40. android:textAllCaps="false"
  41. android:textSize="18sp"
  42. android:background="?selectableItemBackground"
  43. android:clickable="true"
  44. android:focusable="true"/>
  45. </android.support.v7.widget.Toolbar>
  46.  
  47. <ImageView
  48. android:id="@+id/imgLogo"
  49. android:layout_width="wrap_content"
  50. android:layout_height="wrap_content"
  51. android:layout_marginTop="20dp"
  52. app:layout_constraintLeft_toLeftOf="parent"
  53. app:layout_constraintRight_toRightOf="parent"
  54. app:layout_constraintTop_toTopOf="@id/toolbar"
  55. app:srcCompat="@drawable/logo_fitify"/>
  56.  
  57. <LinearLayout
  58. android:layout_width="match_parent"
  59. android:layout_height="wrap_content"
  60. android:layout_marginTop="8dp"
  61. android:clipChildren="false"
  62. android:clipToPadding="false"
  63. android:gravity="center"
  64. android:orientation="horizontal"
  65. app:layout_constraintLeft_toLeftOf="parent"
  66. app:layout_constraintRight_toRightOf="parent"
  67. app:layout_constraintTop_toBottomOf="@id/imgLogo">
  68.  
  69. <View
  70. android:layout_width="45dp"
  71. android:layout_height="1dp"
  72. android:layout_marginEnd="16dp"
  73. android:layout_marginRight="16dp"
  74. android:background="@color/white_25"/>
  75.  
  76. <FrameLayout
  77. android:layout_width="wrap_content"
  78. android:layout_height="wrap_content"
  79. android:clipChildren="false"
  80. android:clipToPadding="false">
  81.  
  82. <TextView
  83. android:id="@+id/txtPosition"
  84. android:layout_width="wrap_content"
  85. android:layout_height="wrap_content"
  86. android:fontFamily="sans-serif-black"
  87. android:textColor="@color/white"
  88. android:textSize="16sp"
  89. tools:text="01"/>
  90.  
  91. <TextView
  92. android:id="@+id/txtPositionSecondary"
  93. android:layout_width="wrap_content"
  94. android:layout_height="wrap_content"
  95. android:alpha="0"
  96. android:fontFamily="sans-serif-black"
  97. android:textColor="@color/white"
  98. android:textSize="16sp"
  99. tools:text="02"/>
  100. </FrameLayout>
  101.  
  102. <TextView
  103. android:layout_width="wrap_content"
  104. android:layout_height="wrap_content"
  105. android:layout_gravity="bottom"
  106. android:layout_marginBottom="1dp"
  107. android:layout_marginLeft="6dp"
  108. android:layout_marginRight="6dp"
  109. android:fontFamily="sans-serif-black"
  110. android:text="@string/x_of_x"
  111. android:textColor="@color/white"
  112. android:textSize="11sp"/>
  113.  
  114. <TextView
  115. android:id="@+id/txtCount"
  116. android:layout_width="wrap_content"
  117. android:layout_height="wrap_content"
  118. android:fontFamily="sans-serif-black"
  119. android:textColor="@color/white"
  120. android:textSize="16sp"
  121. tools:text="17"/>
  122.  
  123. <View
  124. android:layout_width="45dp"
  125. android:layout_height="1dp"
  126. android:layout_marginLeft="16dp"
  127. android:layout_marginStart="16dp"
  128. android:background="@color/white_25"/>
  129. </LinearLayout>
  130.  
  131. <com.fitifyapps.fitify.ui.onboarding.ViewPagerLineIndicator
  132. android:id="@+id/indicator"
  133. android:layout_width="match_parent"
  134. android:layout_height="wrap_content"
  135. android:layout_marginBottom="32dp"
  136. android:gravity="center_horizontal"
  137. app:layout_constraintBottom_toBottomOf="parent"/>
  138. </android.support.constraint.ConstraintLayout>
  139. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement