320 questions
0
votes
1
answer
67
views
How can I clear focus from TextInputEditText when tapped anywhere else on the screen
I have this TextInputEditText in which the cursor remains visible even when I tap somewhere else on the screen. Is there any way to make the clearFocus() applicable for whole screen?
<com.google....
1
vote
0
answers
31
views
Android few cursive fonts are being cropped on left react native
I have one font which is cursive. This font is visible outside of my TextInput and also outSide of text component in react native IOS but in Android if letter is curved on left it is being cropped ...
0
votes
1
answer
26
views
Android TextInputEditText Multiline
Iam looking for a TextInputEditText to support multiline text.
The TextInputLayout implemented in an alertdialog.
I tried everything... How to do ? :/
Thanks a lot!
example of my code:
val editText = ...
1
vote
1
answer
41
views
Why is the Drawable on the TextInputLayout not clearly visible?
I am trying to add a microphone button to a text field so that users can speak which will be translated to text.
My layout looks as below:
<com.google.android.material.textfield.TextInputLayout
...
0
votes
1
answer
46
views
How to remove TextInputEditText error underline (not the base underline) in Kotlin. What is the name of the property?
I need to remove the error underline in a TextInputEditText in Kotlin, but is not the base underline. It shows in red below the text over the base underline when the text has some syntax or spelling ...
0
votes
1
answer
38
views
Android - TextInputEditText text being spelled inverted
I have a TextInputEditText in my fragment and whenever I type a text, it is being spelled inverted. SO if I try and type "Leonardo", it will be spelled "odranoeL". The cursor is ...
0
votes
1
answer
62
views
Remove extra padding on start of TextInputLayout
The start text of textinput layout is getting cut
Is it possible to remove the padding inside the textinput layout?
TextInput style
<style name="Widget.TextInputLayoutx" parent="...
0
votes
1
answer
91
views
Typed text is not displayed in notifications
I created an application that allows you to enter the content of the notification and select the date and time at which the notification should be displayed. Everything works fine, except that the ...
0
votes
2
answers
71
views
TextInputEditText Hint remains in the background when the field value is set programmatically
I determine the user's location and display it in a TextInputEditText field. The hint, however, remains in the background. What am I doing wrong?
<com.google.android.material.textfield....
0
votes
1
answer
58
views
Multiline TextInputEditText with height wrap_content not restoring size
If have a following layout in xml. It's a part of bigger layout
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layoutInputNewText"
android:...
3
votes
2
answers
622
views
Cursor of edit text changes to black on error
I have a weird bug in my app and I can't quite figure it out.
I set up an edit text and changed the cursor color to white (default was dark blueish). This worked just fine, however as soon as I call ...
0
votes
0
answers
43
views
Click TextInputEditText always scroll to the end in ConstraintLayout contained by ScrollView when text is long
I want to achieve writing and editing long text like articles in a text box, and the whole page is scrollable. As a result, I use TextInputEditText which has a beautiful style and can scroll up down ...
0
votes
2
answers
74
views
TextInputLayout hint position wrong
I'm trying to manage the hint in a TextInputLayout/TextInputEditText, moving it inside a rounded shape, but I can't manage to move it, like in the picture:
enter image description here
This is my ...
0
votes
1
answer
71
views
Changing TextInputEditText's select mode color
I am using TextInputLayout and TextInputEditText. I cant find a way to change this purple color. I searched about it too but i cant find so much. How can i change it?
0
votes
1
answer
453
views
Design Layout not shown after using TextInputLayout and TextInputEditText
I have met a problem when I try to use the TextInputLayout and TextInputEditText.
Here is my code
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget....
1
vote
1
answer
428
views
How can I get input text from textInputEditText from custom view? Android Kotlin
This is my custom view:
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://...
5
votes
1
answer
130
views
How to prevent/stop/disable android SDK EditText exposed to application class
I have an SDK that contains MYSDKActivity. In this activity layout, I have 1 edit text where the user can enter his card number. Any android Client who is integrating this SDK, can use ...
0
votes
0
answers
173
views
Edit Text Input in Full Screen Android
Can someone help me to put an EditText input Method (android) open in fullscreen mode ?
like this:
Thank You for the attention
5
votes
0
answers
86
views
Typing inside TextView causes entire layout/screen to "vibrate"
I have the following layout:
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/...
0
votes
1
answer
248
views
Adapting the number of EditText inputs in Kotlin from user defined int value?
I am working on building an application in Android Studio and I have my Edittexts to accept user input (as int) and can pass it to the subsequent activity after clicking 'next'. However, my question ...
0
votes
1
answer
191
views
I make extension function in android using kotlin and method from the data type, but my extension function not working properly?
I want to make extension function using TextInputEditText and call addTextChangedListener, but when i run the app and using the feature, my app crash. My goal is to create an extension function ...
2
votes
1
answer
764
views
How to resize drawable in a TextInputEdit
I have a TextInputEditText field to write numbers down. I want to add a drawable symbol to the end of my InputText which already worked.
The problem is, that my text and the drawable are not the same ...
0
votes
1
answer
92
views
TextInputLayout InputType.TYPE_TEXT_VARIATION_PASSWORD showing password by default
I created alert dialog with TextInputLayout programmatically in fragment. I need to hide password by default, TextInputLayout has toggle button and it is working as expected hide/show on click. I ...
3
votes
0
answers
260
views
ReactEditText.java , Fatal Exception: java.lang.NullPointerException
Fatal Exception: java.lang.NullPointerException
Attempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res....
1
vote
1
answer
204
views
How to RTL OutlinedBox hint and text on Android?
How to change OutlinedBox hint and text RTL (support Persian and Arabic):
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/phoneNumberLayout"
style="@...