我有些不解使用SRC或背景的的ImageView
。我知道前者是指这个内容的ImageView
,后者是指的ImageView
的背景。但是,如何检测使用哪一个?我看不出差别。
I am a little puzzled with using src or background for an ImageView
. I know the former means the content of this ImageView
and the latter means the background of the ImageView
. But how to detect which one to use? I don't see the difference.
所有意见可以采取的背景图像。
All views can take a background image.
在的src
到的ImageView
有附加功能:
adjustViewBounds
设定界限,以匹配图像尺寸
在一些转换,如α-设置
different scaling types
adjustViewBounds
for setting bounds to match image dimensions
some transformations such as alpha-setting
和更多的,你会发现在的文档。
And more that you may find in the docs.