About 26,200,000 results
Open links in new tab
  1. Working With the EditText in Android - GeeksforGeeks

    Jun 10, 2021 · In Android, An EditText is an overlay over a TextView that makes it editable using text by invoking a soft keyboard in run time. It is generally implemented to collect text data from the user. EditText is most commonly used in forms that require users to fill in details and for passing a search quer

  2. Material Design EditText in Android with Example

    Feb 12, 2025 · Edittext refers to the widget that displays an empty text field in which a user can enter the required text and this text is further used inside the application. In this article it has been discussed to implement the special type of text fields, those are called Material Design EditText.

  3. EditText widget in Android with Example - GeeksforGeeks

    Feb 4, 2025 · EditText refers to the widget that displays an empty text field in which a user can enter the required text and this text is further used inside our application. Class Syntax: public class EditText extends TextView

  4. EditText | API reference - Android Developers

    Get started; Start by creating your first app. Go deeper with our training courses or explore app development on your own.

  5. android - Get Value of a Edit Text field - Stack Overflow

    Get value from an EditText control in android. EditText getText property use to get value an EditText : EditText txtname = findViewById(R.id.name); String name = txtname.getText().toString();

  6. EditText Tutorial With Example In Android Studio: Input Field

    Jun 25, 2019 · Text Fields in Android Studio are basically EditText: Important Note: An EditText is simply a thin extension of a TextView. An EditText inherits all the properties of a TextView. We can create a EditText instance by declaring it inside a layout (XML file) or by instantiating it programmatically (i.e. in Java Class). EditText code in XML:

  7. android - How To Set Text In An EditText - Stack Overflow

    Jan 4, 2011 · How can I set the text of an EditText? If you check the docs for EditText, you'll find a setText() method. It takes in a String and a TextView.BufferType. For example: It also inherits TextView 's setText(CharSequence) and setText(int) methods, so you can set it just like a regular TextView: editText.setText("Hello world!");

  8. android - How to create EditText with rounded corners ... - Stack Overflow

    Sep 5, 2010 · How to create an EditText that has rounded corners instead of the default rectangular-shaped corners? There is an easier way than the one written by CommonsWare. Just create a drawable resource that specifies the way the EditText will be drawn: android:shape="rectangle" . android:padding="10dp"> <solid android:color="#FFFFFF" /> …

  9. Android EditText or Input Box with Examples - Students Tutorial

    In this example we will discuss how to create a EditText or Input Box with Examples. activity_main.xml. MainActivity.java. Button btnSubmit; EditText name, password, email, phoneno; TextView result; @Override. protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main);

  10. How to Make Custom Edit Text in Android Studio - YouTube

    Mar 3, 2022 · The video Has been made for available informational and educational purposes only, Everything in this video is based on information we learned from online resources, our own experience, and books...

  11. Some results have been removed
Refresh