Android 安卓背景图片,如何做到像pro';s?

Android 安卓背景图片,如何做到像pro';s?,android,android-layout,android-background,Android,Android Layout,Android Background,我正在搜索如何获得与Twitter或ToDoist相同的布局背景。(当要求登录时)背景完全适应所有大小的屏幕 我这样做的方式填充了整个屏幕,使得背景看起来很奇怪,因为整个图像都在屏幕上 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="ma

我正在搜索如何获得与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" >

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

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

提前感谢。

可能的副本