【发布时间】:2019-04-04 16:10:14
【问题描述】:
我正在为我的应用程序实现一个启动画面,当它运行时,启动画面包含一个模糊的图像,而不是应该的样子。
<ImageView
android:id="@+id/imageView"
android:layout_width="0dp"
android:layout_height="0dp"
android:scaleType="centerCrop"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.0"
tools:srcCompat="@mipmap/ic_launcher_foreground" />
我必须选择哪一个?或者我该如何添加图像?因为图片是2700x2700px... 我将 imageView 作为 centerCrop。
【问题讨论】:
-
我去看看,谢谢!
标签: android uiimageview android-xml splash-screen