splash_activity.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="@android:color/black"
  6. android:orientation="vertical">
  7. <VideoView
  8. android:id="@+id/splash_video_view"
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:layout_gravity="center"
  12. android:visibility="gone" />
  13. <ImageView
  14. android:id="@+id/splash_image_view"
  15. android:layout_width="match_parent"
  16. android:layout_height="match_parent"
  17. android:scaleType="fitXY"
  18. android:src="@drawable/kaipin" />
  19. <TextView
  20. android:id="@+id/splash_skip"
  21. android:layout_width="wrap_content"
  22. android:layout_height="24dp"
  23. android:layout_gravity="top|end"
  24. android:gravity="center"
  25. android:paddingStart="10dp"
  26. android:paddingEnd="10dp"
  27. android:layout_margin="@dimen/content_padding_20"
  28. android:textColor="#ffffff"
  29. android:textSize="13sp"
  30. android:background="@drawable/shape_ash_solid_rectangle_small_tra30"
  31. android:visibility="gone" />
  32. </FrameLayout>