我想使用图层列表创建像谷歌启动画面(下图)这样的启动画面。我尝试过,但不同设备上的 UI 表现不同。这是我的代码
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
android:opacity="opaque">
<!-- The background color, preferably the same as your normal theme -->
<item android:id="@+id/item_bottom_stroke" >
<shape android:shape="rectangle">
<solid android:color="#FFFFFF"/>
</shape>
</item>
<!-- Your product logo - 144dp color version of your app icon -->
<item>
<bitmap android:gravity="center"
android:src="@drawable/web_hi_res_512" />
</item>
<item android:gravity="bottom">
<bitmap android:gravity="bottom"
android:src="@drawable/launcher_text2" />
</item>
</layer-list>
有什么方法可以让用户界面看起来像不同设备上的谷歌应用程序?