Expandable NumberPicker width in bytesPicker dialog
Issue: The bytesPicker NumberPicker width was set to 48dip, thus it couldn't accomodate more than 5 digits. Solution: Set the NumberPicker layout_width to wrap_content and minWidth to 48dip. Change-Id: Id2887cc5d48a94fa108f2ebe06f982cf2c1314dc
This commit is contained in:
@@ -22,7 +22,8 @@
|
|||||||
|
|
||||||
<NumberPicker
|
<NumberPicker
|
||||||
android:id="@+id/bytes"
|
android:id="@+id/bytes"
|
||||||
android:layout_width="48dip"
|
android:layout_width="wrap_content"
|
||||||
|
android:minWidth="48dip"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_marginLeft="16dip"
|
android:layout_marginLeft="16dip"
|
||||||
|
Reference in New Issue
Block a user