설명 없음

activity_getting_started.xml 5.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:id="@+id/gettingStartedLayout"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:background="@color/rsb_white_60">
  9. <ImageView
  10. android:id="@+id/bubble1"
  11. android:layout_width="@dimen/bubbleSize"
  12. android:layout_height="@dimen/bubbleSize"
  13. android:layout_marginStart="@dimen/horizontalMargin"
  14. android:layout_marginTop="52dp"
  15. android:layout_marginEnd="@dimen/horizontalMargin"
  16. android:contentDescription="@string/bubbleDescription"
  17. app:layout_constraintBottom_toTopOf="@+id/bubble2"
  18. app:layout_constraintEnd_toEndOf="parent"
  19. app:layout_constraintStart_toStartOf="parent"
  20. app:layout_constraintTop_toBottomOf="@+id/applicationNameLong"
  21. app:srcCompat="@drawable/circle" />
  22. <ImageView
  23. android:id="@+id/bubble2"
  24. android:layout_width="@dimen/bubbleSize"
  25. android:layout_height="@dimen/bubbleSize"
  26. android:layout_marginStart="@dimen/horizontalMargin"
  27. android:layout_marginTop="28dp"
  28. android:layout_marginEnd="@dimen/horizontalMargin"
  29. android:contentDescription="@string/bubbleDescription"
  30. app:layout_constraintBottom_toTopOf="@+id/bubble3"
  31. app:layout_constraintEnd_toEndOf="parent"
  32. app:layout_constraintStart_toStartOf="parent"
  33. app:layout_constraintTop_toBottomOf="@id/bubble1"
  34. app:srcCompat="@drawable/circle" />
  35. <ImageView
  36. android:id="@+id/bubble3"
  37. android:layout_width="@dimen/bubbleSize"
  38. android:layout_height="@dimen/bubbleSize"
  39. android:layout_marginStart="@dimen/horizontalMargin"
  40. android:layout_marginTop="28dp"
  41. android:layout_marginEnd="@dimen/horizontalMargin"
  42. android:contentDescription="@string/bubbleDescription"
  43. app:layout_constraintBottom_toTopOf="@id/buttonCreateAccount"
  44. app:layout_constraintEnd_toEndOf="parent"
  45. app:layout_constraintStart_toStartOf="parent"
  46. app:layout_constraintTop_toBottomOf="@id/bubble2"
  47. app:srcCompat="@drawable/circle" />
  48. <TextView
  49. android:id="@+id/ApplicationName"
  50. android:layout_width="0dp"
  51. android:layout_height="wrap_content"
  52. android:layout_marginStart="@dimen/horizontalMargin"
  53. android:layout_marginTop="128dp"
  54. android:layout_marginEnd="@dimen/horizontalMargin"
  55. android:fontFamily="@font/cabin"
  56. android:text="@string/appName"
  57. android:textAlignment="center"
  58. android:textColor="@color/colorPrimary"
  59. android:textSize="80sp"
  60. android:textStyle="bold"
  61. app:layout_constraintEnd_toEndOf="parent"
  62. app:layout_constraintStart_toStartOf="parent"
  63. app:layout_constraintTop_toTopOf="parent" />
  64. <TextView
  65. android:id="@+id/applicationNameLong"
  66. android:layout_width="0dp"
  67. android:layout_height="wrap_content"
  68. android:layout_marginStart="@dimen/horizontalMargin"
  69. android:layout_marginEnd="@dimen/horizontalMargin"
  70. android:fontFamily="@font/cabin"
  71. android:text="@string/appNameLong"
  72. android:textAlignment="center"
  73. android:textSize="18sp"
  74. app:layout_constraintEnd_toEndOf="parent"
  75. app:layout_constraintStart_toStartOf="parent"
  76. app:layout_constraintTop_toBottomOf="@+id/ApplicationName" />
  77. <Button
  78. android:id="@+id/buttonCreateAccount"
  79. android:layout_width="0dp"
  80. android:layout_height="wrap_content"
  81. android:layout_marginStart="@dimen/horizontalMargin"
  82. android:layout_marginTop="52dp"
  83. android:layout_marginEnd="@dimen/horizontalMargin"
  84. android:background="@drawable/button_background"
  85. android:fontFamily="sans-serif-black"
  86. android:paddingHorizontal="@dimen/buttonHorizontalPadding"
  87. android:paddingVertical="@dimen/buttonVerticalPadding"
  88. android:text="@string/createAccountButtonText"
  89. android:textColor="@android:color/white"
  90. android:textSize="@dimen/buttonTextSize"
  91. android:textStyle="bold"
  92. app:layout_constraintEnd_toEndOf="parent"
  93. app:layout_constraintHeight_max="@dimen/buttonMaxHeight"
  94. app:layout_constraintStart_toStartOf="parent"
  95. app:layout_constraintTop_toBottomOf="@id/bubble3" />
  96. <Button
  97. android:id="@+id/buttonRecoverAccount"
  98. android:layout_width="0dp"
  99. android:layout_height="wrap_content"
  100. android:layout_marginStart="@dimen/horizontalMargin"
  101. android:layout_marginTop="16dp"
  102. android:layout_marginEnd="@dimen/horizontalMargin"
  103. android:background="@drawable/button_background"
  104. android:fontFamily="sans-serif-black"
  105. android:paddingHorizontal="@dimen/buttonHorizontalPadding"
  106. android:paddingVertical="@dimen/buttonVerticalPadding"
  107. android:text="@string/recoverAccountButtonText"
  108. android:textColor="@android:color/white"
  109. android:textSize="@dimen/buttonTextSize"
  110. android:textStyle="bold"
  111. app:layout_constraintEnd_toEndOf="parent"
  112. app:layout_constraintHeight_max="@dimen/buttonMaxHeight"
  113. app:layout_constraintStart_toStartOf="parent"
  114. app:layout_constraintTop_toBottomOf="@id/buttonCreateAccount" />
  115. </androidx.constraintlayout.widget.ConstraintLayout>