0
携帯電話が縦置きモードのとき、画像ビューが最大サイズを横に満たしています。しかし、horisontalモードに移行すると、imageViewは親とマッチしません。私は画面の境界に拡大される画像が必要です。 私は間違っていますか?画像をAndroidでフルサイズに設定
私のxml:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:orientation="vertical">
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="5dp">
<ImageView
android:id="@+id/picture"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/keks1"
/>
Yess!どうもありがとうございました!) – Stas