Android-无边框背景图像
我想在活动中设置一个图像作为背景。 问题是我使用了边距,而图像并没有填满整个屏幕。但我需要边际价值Android-无边框背景图像,android,image,layout,background,Android,Image,Layout,Background,我想在活动中设置一个图像作为背景。 问题是我使用了边距,而图像并没有填满整个屏幕。但我需要边际价值 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margin="15dp" android:backgroun
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="15dp"
android:background="@drawable/main_background"
android:orientation="vertical" >
我能做什么?用padding=替换布局_margin=,padding在里面