1

I'm creating a splash screen for my application but i have a problem: I put the image in drawable does not occupy the entire screen of your smartphone. how to solve?

it's my xml:

  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:orientation="vertical" android:layout_width="fill_parent"
     android:layout_height="fill_parent">

     <RelativeLayout android:id="@+id/RelativeLayout01"
      android:layout_height="fill_parent"
      android:layout_width="fill_parent"
      android:gravity="fill"
      android:layout_gravity="center">

           <ImageView android:id="@+id/ImageView01"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:src="@drawable/fundo" />

     </RelativeLayout>


    </LinearLayout>
4

1 に答える 1

3

android:scaleType="fitXY"に追加ImageView

于 2012-05-25T03:02:15.967 に答える