但是显示的大小有点不一样 怎么让他们完全一致呢。imageview 是设置的 src
1 vanillaxxx 2020-07-07 15:23:41 +08:00 via iPhone background 貌似无解 |
![]() | 2 ccl1115 2020-07-07 16:10:30 +08:00 drawable 目录创建一个 background.xml, 内容如下: <?xml version="1.0" encoding="utf-8"?> <bitmap xmlns:android="http://schemas.android.com/apk/res/android" android:src="@drawable/background" android:gravity="clip_horizontal|clip_vertical"> </bitmap> splashactivity 的 ImageView 设置 scaleType 为 centerCrop |
4 MaL 2020-07-08 19:22:24 +08:00 splashactivity 可以只设置 windowbackground 吧,移除 imageview 就行了 |