【发布时间】:2012-08-16 14:12:40
【问题描述】:
我想要做的是改变 ImageView 中图像的宽度而不影响 ImageView 的宽度。
----------------------------------------------------------------
| |
| |
| ---------------------------------------------- |
| | | |
| | | |
| | this is the image( change its width) | |
| | | |
| ---------------------------------------------- |
| |
| this is imageView the width mustnt change |
----------------------------------------------------------------
我怎样才能做到这一点?请帮忙?
【问题讨论】:
-
尝试为
imageView.eg:android:padding="1dp"添加填充 -
如何动态设置 padding imageView?
标签: java android imageview android-imageview