i have been create edittext in xml file.here code:
<edittext android:id="@+id/ipadress" android:layout_width="fill_parent" android:layout_height="wrap_content" android:inputtype="numberdecimal" android:digits="0123456789.," />
the problem in output project work 1 of the. dot or comma. wrong ? in simulator works fine, in release doesnt.
i solved problem different android : inputtype.
<edittext android:id="@+id/ipadress" android:layout_width="fill_parent" android:layout_height="wrap_content" android:inputtype="number" android:digits="0123456789.-,+" />
it works
Comments
Post a Comment