2
ImageView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
/>

また

     <ImageView
            android:id="@+id/imageView1"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
 />
4

2 に答える 2

1

どちらも同じものです (API レベル 8 以降)。

fill_parent: ビューはその親と同じ大きさにする必要があります

于 2013-04-10T10:36:43.263 に答える