Advertisement
MattySkala

Untitled

Mar 14th, 2018
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.90 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout
  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.  
  9. <android.support.constraint.Guideline
  10. android:id="@+id/guideline"
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:orientation="horizontal"
  14. app:layout_constraintGuide_percent="0.3"/>
  15.  
  16. <TextView
  17. android:id="@+id/txtTitle"
  18. style="@style/TextAppearance.Fitify.Title"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. app:layout_constraintLeft_toLeftOf="parent"
  22. app:layout_constraintRight_toRightOf="parent"
  23. app:layout_constraintTop_toBottomOf="@id/guideline"
  24. tools:text="@string/onboarding_goal_title"/>
  25.  
  26. <LinearLayout
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"
  29. android:gravity="center_horizontal"
  30. android:orientation="vertical"
  31. app:layout_constraintLeft_toLeftOf="parent"
  32. app:layout_constraintRight_toRightOf="parent"
  33. app:layout_constraintTop_toBottomOf="@id/txtTitle">
  34.  
  35. <FrameLayout
  36. android:id="@+id/btn1"
  37. style="@style/Button"
  38. android:layout_marginLeft="32dp"
  39. android:layout_marginRight="32dp"
  40. android:layout_marginTop="48dp"
  41. android:layout_marginBottom="0dp"
  42. android:background="@drawable/bg_button_selectable">
  43.  
  44. <TextView
  45. android:id="@+id/btn1Label"
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:layout_gravity="center"
  49. android:textSize="@dimen/text_subheading"
  50. android:textColor="@color/text_button_selectable"
  51. android:fontFamily="sans-serif-medium"
  52. tools:text="@string/onboarding_goal_lose_fat"/>
  53. </FrameLayout>
  54.  
  55. <FrameLayout
  56. android:id="@+id/btn2"
  57. style="@style/Button"
  58. android:layout_marginLeft="32dp"
  59. android:layout_marginRight="32dp"
  60. android:layout_marginTop="20dp"
  61. android:layout_marginBottom="0dp"
  62. android:background="@drawable/bg_button_selectable">
  63.  
  64. <TextView
  65. android:id="@+id/btn2Label"
  66. android:layout_width="wrap_content"
  67. android:layout_height="wrap_content"
  68. android:layout_gravity="center"
  69. android:textSize="@dimen/text_subheading"
  70. android:textColor="@color/text_button_selectable"
  71. android:fontFamily="sans-serif-medium"
  72. tools:text="@string/onboarding_goal_get_fitter"/>
  73. </FrameLayout>
  74.  
  75. <FrameLayout
  76. android:id="@+id/btn3"
  77. style="@style/Button"
  78. android:layout_marginLeft="32dp"
  79. android:layout_marginRight="32dp"
  80. android:layout_marginTop="20dp"
  81. android:layout_marginBottom="0dp"
  82. android:background="@drawable/bg_button_selectable">
  83.  
  84. <TextView
  85. android:id="@+id/btn3Label"
  86. android:layout_width="wrap_content"
  87. android:layout_height="wrap_content"
  88. android:layout_gravity="center"
  89. android:textSize="@dimen/text_subheading"
  90. android:textColor="@color/text_button_selectable"
  91. android:fontFamily="sans-serif-medium"
  92. tools:text="@string/onboarding_goal_gain_muscle"/>
  93. </FrameLayout>
  94. </LinearLayout>
  95.  
  96. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement