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

Asked 2 years ago, Updated 2 years ago, 119 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.