How to make all text select when you click EditText

Asked 2 years ago, Updated 2 years ago, 120 views

When I click EditText on Android, can't I make you select all the letters entered in EditText? I think that'll make it easier to erase and use it. Is there any other way?

android-edittext android

2022-09-22 22:13

1 Answers

In the properties of EditText, android:selectAllOnFocus="true" You can do it like this.


2022-09-22 22:13

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.