【发布时间】:2012-06-24 22:47:37
【问题描述】:
如果我尝试将 'android:maxWidth="400dp"' 添加到以下 ImageView 中,没有任何反应......还有想法吗?
<ImageView android:src="@drawable/content_background"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="center"
android:adjustViewBounds="true"
android:contentDescription="@string/img_background" />
【问题讨论】:
-
我猜 android:layout_width="fill_parent" 覆盖它?
-
可能...您有什么解决方法的想法吗?
标签: android size width imageview css