activity_splash.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@color/colorPrimary"
  8. tools:context=".screen.splash.SplashScreenActivity">
  9. <ImageView
  10. android:id="@+id/image_logo"
  11. android:layout_width="150dp"
  12. android:layout_height="150dp"
  13. app:layout_constraintBottom_toBottomOf="parent"
  14. app:layout_constraintEnd_toEndOf="parent"
  15. app:layout_constraintHorizontal_bias="0.5"
  16. app:layout_constraintStart_toStartOf="parent"
  17. app:layout_constraintTop_toTopOf="parent"
  18. app:srcCompat="@drawable/ic_logo_big" />
  19. <ImageView
  20. android:id="@+id/image_loading"
  21. android:layout_width="50dp"
  22. android:layout_height="50dp"
  23. android:layout_marginTop="50dp"
  24. app:layout_constraintEnd_toEndOf="parent"
  25. app:layout_constraintHorizontal_bias="0.5"
  26. app:layout_constraintStart_toStartOf="parent"
  27. app:layout_constraintTop_toBottomOf="@+id/image_logo"
  28. app:srcCompat="@drawable/ic_loading" />
  29. <TextView
  30. android:id="@+id/tv_version"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:layout_marginBottom="16dp"
  34. android:text="v1.0.0"
  35. android:textColor="@color/color_white"
  36. android:textSize="14sp"
  37. app:layout_constraintBottom_toBottomOf="parent"
  38. app:layout_constraintEnd_toEndOf="parent"
  39. app:layout_constraintHorizontal_bias="0.5"
  40. app:layout_constraintStart_toStartOf="parent"
  41. app:srcCompat="@drawable/ic_loading" />
  42. </androidx.constraintlayout.widget.ConstraintLayout>