Android Studio - 图像在不同设备中作为全屏背景

问题描述 投票:0回答:0

我设计了 game menu 1080 像素 X 1920 像素大小。我怎样才能让这个设计适应不同的设备。例如,在 Android Studio 中,我使用的是 Virtual Pixel 6,尺寸为 1080 像素 X 2240 像素。

我在xml标签中使用了

android:scaleType = centerCrop
,但是剪裁太多了。

image android-studio background
© www.soinside.com 2019 - 2024. All rights reserved.