【发布时间】:2021-06-09 14:54:11
【问题描述】:
我是一名 Flutter 开发人员,我没有原生 Android 方面的经验。
我需要启动屏幕的图像为其大小的 50%。
假设图像分辨率为 120x120px,我希望它显示为 60x60px。
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="?android:colorBackground" />
<item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item>
</layer-list>
【问题讨论】: