0

我无法在LinearLayout. 我正在尝试获得白色的背景颜色并ImageView在我LinearLayout的图像中显示,并且可以找到背景颜色,但是图像被拉伸了。

什么是比例图像显示它显示正常的好方法?有任何想法吗?

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="fill_parent"
   android:layout_height="fill_parent"
   android:orientation="vertical"
   android:background="#FFFFFF">
<LinearLayout
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:orientation="vertical"
  >
  <ImageView
    android:src="@drawable/day1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">
  </ImageView>
</LinearLayout>
</ScrollView>
4

0 回答 0