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:
Afzal
2012-03-30 02:08:29 -04:00
committed by Afzal Najam
parent b0362b1bb0
commit dde0140971

View File

@@ -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"