【发布时间】:2014-11-01 08:36:48
【问题描述】:
我尝试将 LinearLayout 的背景更改为一些木质纹理,但它会根据木质背景的尺寸改变 LinearLayout 的宽度和高度! 我需要 LinearLayout 来忽略背景尺寸!
<LinearLayout
android:id="@+id/LinearLayout1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/wood"
android:orientation="vertical" >
some content here which I need to wrap height to them!
</LinearLayout>
【问题讨论】:
标签: android android-linearlayout