Get the App
SLTechnology News&Howtos  ›  Development  › 

How to set EditText not to get focus by default in Android

Shulou Source: shulou.com Published: 2022-06-01 00:18:51 11月14日 Update

Most people do not understand the knowledge points of this article "how to set EditText without focus by default in Android", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to set EditText in Android without getting focus by default".

There is an EditText on the page that gets the cursor by default. If you want EditText not to get focus by default, you can add a hidden linear layout in front of the control to let it get focus first.

The above is about the content of this article on "how to set EditText without focus by default in Android". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.

Tags: Focus content articles knowledge articles values cursors most of that is layout come on controls more steps knowledge points linearity industry information channels pages Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Information MySQL vpn Microsoft