splash_fragment.xml 3.2 KB

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