activity_splash.xml 1.3 KB

1234567891011121314151617181920212223242526272829
  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:id="@+id/container_root"
  8. android:background="@color/white_color"
  9. tools:context="com.usai.redant.raimage.LActivity">
  10. <ImageView
  11. android:id="@+id/splashImage"
  12. android:layout_width="0dp"
  13. android:layout_height="0dp"
  14. android:layout_marginBottom="0dp"
  15. android:layout_marginLeft="0dp"
  16. android:layout_marginRight="0dp"
  17. android:layout_marginTop="0dp"
  18. android:background="@color/clear_color"
  19. android:scaleType="fitCenter"
  20. app:layout_constraintBottom_toBottomOf="parent"
  21. app:layout_constraintDimensionRatio="h,1:1"
  22. app:layout_constraintHorizontal_bias="0.5"
  23. app:layout_constraintLeft_toLeftOf="parent"
  24. app:layout_constraintRight_toRightOf="parent"
  25. app:layout_constraintTop_toTopOf="parent"
  26. app:layout_constraintVertical_bias="0.5"
  27. app:srcCompat="@drawable/splash" />
  28. </androidx.constraintlayout.widget.ConstraintLayout>