1

我正在搜索如何获得与 Twitter 或 ToDoist 相同的布局背景。(当被要求登录时)背景完美适应各种尺寸的屏幕。

我这样做的方式填满了整个屏幕,使背景看起来很奇怪,因为整个图像都在屏幕上。

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/background" >

我想我需要使用不同的可绘制地图并制作不同大小的图像?如果是,每个图像应该有多大?

我希望你能理解我的问题,如果有人能给我好的建议,我会很高兴。

提前致谢。

4

0 回答 0