私はAndroidアプリケーションで異常な動作をしています。私は、このXML構成にAndroid:ScaleType = "fitXY"がすべての画像で機能しない
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:id="@+id/thumbnail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"/>
<TextView
android:id="@+id/content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/text_margin"
android:textAppearance="?attr/textAppearanceListItem" />
</LinearLayout>
を持っている。しかし、私はアプリケーションを実行すると、結果がこの
ある画像1' 、2' および3' は正しいですが、なぜの第三の画像最初の行が正しくありませんか?また、同じ画面上に、同じ問題のある他の列にも別の画像があります。すべての画像のサイズが同じです
ありがとうございました! – olegario
私はうれしいです、それは働いた! ^^ –