How to remove Android auto-suggest underlining in EditText?
Use this just before you getText(). This is the most straightforward and the official way.
How to remove the underline from the EditText field in Android?
You don't have to use any logic to remove the underlines -- just call getText().toString() when you want to use the value. It won't include special formatting or anything.
Remove the underline when typing word in EditText
As outlined at Android edittext is underlined when typing, this may be a function of the keyboard in use, rather than the EditText. Without knowing which specific solutions you've tried and have failed (you say no answer worked for you, but don't list things you tried) it is hard to offer a specific suggestion, but I'd suggest the
option and see if that works. The password should typically prevent the keyboard from suggesting things (since no suggestions are typically useful for passwords).
How to remove underline below EditText indicator?
Make background like this
android:background="@null" of your editText
Android - Remove totally underline from EditText
SOLUTION TO SOLVE THE PROBLEMS WITH MY
Finally, I found a solution to solve the problem of my
EditText. I put it here because I think it could be helpful to another people. I'm going to divide the problem in two solutions.
First of all, how to remove the white block at the bottom of my layout.
N.T said (Thanks!), I just have to change my
android:layout_height of my yellow layout to
Second one, how to make my
EditText not to be so reduced.
I just have to remove these attributes:
And add these others:
So the full
EditText now it's as follows:
SOLUTION TO TOTALLY STOP THE UNDERLINE
You have to add
textVisiblePassword to your
inputType. With this value you only will be able to type letters one by one, so the underline won't appear.
It don't let you to use
Swype mode to type words, so the underline never appears.
inputType have to be like:
Remove edittext indicator (underline) - Material Design
boxStrokeWidthFocused to your style
<style name="EditTextLoginRegister" parent="Widget.MaterialComponents.TextInputLayout.FilledBox">
<!-- Other attributes -->
Admittedly, this is the most difficult part -> styling Material design views.
In Android Studio, it is possible to get
AutoComplete options, and I usually go through the complete list and try out various items.
How to Get the Current Gps Location Programmatically in Android
Onactivityresult Is Not Being Called in Fragment
How to Declare Global Variables in Android
How to Add a Library Project to Android Studio
Change App Language Programmatically in Android
How to Use Localbroadcastmanager
Best Practice For Instantiating a New Android Fragment
Activity Restart on Rotation Android
Can't Create Handler Inside Thread That Has Not Called Looper.Prepare()
How to Get the Result of Onpostexecute() to Main Activity Because Asynctask Is a Separate Class
You Need to Use a Theme.Appcompat Theme (Or Descendant) With This Activity
Android Prevent Immediate Trigger of Alarm Service If Alarm Time Has Passed For the Day
Android Button Background Is Taking the Primary Color
Onmeasure Custom View Explanation
How to Enable/Disable Log Levels in Android
Allow User to Select Camera or Gallery For Image
Get Android Phone Model Programmatically , How to Get Device Name and Model Programmatically in Android