[ACCEPTED]-LinearLayout: layout_width vs. minWidth-android
Accepted answer
LinearLayout
s are not required to honour the layout_width
attribute 4 when it's not set to wrap_content
or fill_parent
.
You can still 3 use android:minWidth
if that's enough for you, or other 2 options are using the android:layout_weight
attribute or increase 1 the android:padding
attribute on the child.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.