2011-09-07 121 views
0

如果图像大于显示,我在scrollview中排列了imageview,它显示模糊边缘(而不是尖锐的边缘)。滚动视图问题?

<ScrollView 
    android:layout_marginTop="35dip" 
    android:id="@+id/sv" 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content"> 

    <HorizontalScrollView 
     android:id="@+id/hsv" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content"> 

     <FrameLayout 
      android:id="@+id/framelayout" 
      android:layout_marginTop="30dip" 
      android:layout_height="fill_parent" 
      android:layout_width="fill_parent"> 

      <ImageView 
       android:id="@+id/ImageView01" 
       android:layout_alignParentTop="true" 
       android:layout_height="wrap_content" 
       android:layout_width="wrap_content"/> 

看到图像边缘处向右和向下:http://dl.dropbox.com/u/38493970/device-2011-09-07-144456.png

回答

1

看的出来,android:fadingEdge将其设置为none

+0

谢谢你的回复,这是正确的属性。 –