cpf.show(activity.getSupportFragmentManager(), "currency-selector");
});
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O)
- tvAmount.setKeyListener(
- DigitsKeyListener.getInstance(Data.locale.getValue(), true, true));
- else
- tvAmount.setKeyListener(
- DigitsKeyListener.getInstance("0123456789+-" + decimalSeparator + decimalDot));
-
dateObserver = date -> {
if (syncingData)
return;
android:gravity="bottom|end"
android:hint="@string/zero_amount"
android:imeOptions="actionNext"
- android:inputType="numberSigned|numberDecimal|number"
+ android:inputType="number|numberSigned|numberDecimal"
android:minEms="4"
android:selectAllOnFocus="true"
android:textAlignment="viewEnd"