splash_fragment.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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/splash_fragment"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:background="?android:colorBackground"
  9. tools:context=".ui.main.setup.SplashFragment">
  10. <ImageView
  11. android:id="@+id/imageView3"
  12. android:layout_width="@dimen/_60sdp"
  13. android:layout_height="@dimen/_60sdp"
  14. android:layout_marginStart="8dp"
  15. android:layout_marginLeft="8dp"
  16. android:layout_marginTop="@dimen/_50sdp"
  17. android:layout_marginEnd="8dp"
  18. android:layout_marginRight="8dp"
  19. android:contentDescription="@string/app_name"
  20. android:scaleType="fitCenter"
  21. app:layout_constraintEnd_toEndOf="parent"
  22. app:layout_constraintStart_toStartOf="parent"
  23. app:layout_constraintTop_toTopOf="parent"
  24. app:srcCompat="@mipmap/ic_launcher" />
  25. <Button
  26. android:id="@+id/setup_splash_button_start"
  27. style="@style/Widget.AppCompat.Button.Borderless"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_marginEnd="16dp"
  31. android:layout_marginRight="16dp"
  32. android:layout_marginBottom="16dp"
  33. android:text="@string/setup_button_start"
  34. app:layout_constraintBottom_toBottomOf="parent"
  35. app:layout_constraintEnd_toEndOf="parent" />
  36. <TextView
  37. android:id="@+id/textView13"
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:layout_marginStart="8dp"
  41. android:layout_marginLeft="8dp"
  42. android:layout_marginTop="@dimen/_16sdp"
  43. android:layout_marginEnd="8dp"
  44. android:layout_marginRight="8dp"
  45. android:text="@string/setup_welcome"
  46. android:textSize="@dimen/_24sdp"
  47. app:layout_constraintEnd_toEndOf="parent"
  48. app:layout_constraintStart_toStartOf="parent"
  49. app:layout_constraintTop_toBottomOf="@+id/imageView3" />
  50. <TextView
  51. android:id="@+id/textView15"
  52. android:layout_width="@dimen/_140sdp"
  53. android:layout_height="wrap_content"
  54. android:layout_marginStart="@dimen/_110sdp"
  55. android:layout_marginLeft="@dimen/_110sdp"
  56. android:layout_marginTop="@dimen/_94sdp"
  57. android:text="@string/setup_welcome2"
  58. android:textSize="@dimen/_14sdp"
  59. app:layout_constraintStart_toStartOf="@+id/imageView6"
  60. app:layout_constraintTop_toTopOf="@+id/imageView6" />
  61. <ImageView
  62. android:id="@+id/imageView6"
  63. android:layout_width="@dimen/_160sdp"
  64. android:layout_height="@dimen/_134sdp"
  65. android:layout_marginStart="@dimen/_4sdp"
  66. android:layout_marginLeft="@dimen/_4sdp"
  67. android:layout_marginTop="@dimen/_16sdp"
  68. android:contentDescription="@string/content_description_my_phone"
  69. android:scaleType="centerCrop"
  70. app:layout_constraintStart_toStartOf="parent"
  71. app:layout_constraintTop_toBottomOf="@+id/textView13"
  72. app:srcCompat="@drawable/ic_my_phone" />
  73. </androidx.constraintlayout.widget.ConstraintLayout>