I only want to put numbers in the value of edittext on Android, what should I do?

Asked 1 years ago, Updated 1 years ago, 102 views

I only want to put numbers in the value of edittext on Android, what should I do?

android android-edittext

2022-09-22 13:05

1 Answers

In the EditText property value of xml, enter android:inputType="number"


2022-09-22 13:05

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.