12,076 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
60
views
How prevent show virtual keyboard in edittext while typing on physical keyboard?
When I use this:
etID.ShowSoftInputOnFocus = false;
the virtual keyboard does not show on focus. That's what I want.
But when I start typing on the physical keyboard, the virtual keyboard pops up. ...
3
votes
0
answers
55
views
Intercept API 35+ system undo and redo
My editing app handles undo and redo by itself. Having the system handle it on top is just weird: the system undo is perceived as a text change and the user can then undo the system's undoes & ...
0
votes
0
answers
71
views
Why does my Android EditText context menu display incorrectly?
My Android game (NativeActivity) opens a system dialog with an EditText field for text entry. The dialog opens fine and the text is editable, but when I select some text in order to cut/copy, the ...
0
votes
0
answers
39
views
Empty AlignmentSpan.Standard span affect previous line in EditText
Some background:
I have EditText where user could choose AlignmentSpan.Standard span for each line independently. By default line has Layout.Alignment.ALIGN_NORMAL alignment.
The problem:
When type ...
0
votes
0
answers
94
views
What is the recommended way to implement inline @mention tagging in Android?
I'm working on an Android feature where users can tag other users using @mentions inside a document or invoice. The goal is to allow the user to type @, followed by a name, and have the app display an ...
0
votes
0
answers
44
views
EditText in RecyclerView only allows one character input at a time
The EditText input is limited correctly to 7 characters using InputFilter.LengthFilter(7), and that part works as expected.
However, I'm having a strange issue: when I type into the EditText inside a ...
0
votes
0
answers
46
views
What's the proper way to group each 3 characters with comma?
This Excel-like layout is implemented using RecyclerView.
For each EditTexts, the inputType is text because the requirement is to accepts these 2 formats:
Numeric input (separated by comma each 3 ...
1
vote
0
answers
50
views
Keyboard appears on top of EditText (cannot see what I am writing)
When I click on the etMessage (EditText), the keyboard appears, but it is on top of the EditText, therefore a user cannot see what they're writing.
When I remove the rvChat (RecyclerView), everything ...
0
votes
0
answers
85
views
Prevent the software keyboard from appearing in Android
I am developing an Android application in Java in Android Studio. My environment details are as follows:
minSdkVersion: 29
targetSdkVersion: 35
Device: Android device with physical keys
Use of custom ...
0
votes
0
answers
46
views
Android recyclerview requestFocus when scrolling up and down for edittext items only
I have recyclerview consisting of edittexts only. Those edittexts have various length. I want to stop scrolling my recyclerview on onViewAttachedToWindow when holder.getAdapterPosition() == vhIndex.
...
0
votes
2
answers
52
views
android:inputType="numberPassword" and setText method not working
I have an edittext in the form of
<EditText
android:id="@+id/txt_password"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:...
0
votes
0
answers
52
views
How to enable suggestions after change inputType in editText?
I want to dinamically change inputType in editText, but after first changing suggestions become disabled. I tried different ways to enable, but nothing helps.
This is my code:
edText....
0
votes
0
answers
53
views
How can I get image from gallery and place it in edittext with html?
That's what I tried to do:
private fun addImage(camera: Boolean = false) {
if (camera) {
val intent = Intent(MediaStore.ACTION_IMAGE_CAPTURE)
startActivityForResult(intent, CONST....
0
votes
1
answer
190
views
How to avoid Keyboard Options for Text Field in Compose
I have text field and it has its own custom input UI on the way. The Problem is i need to use my custom input, and do not want the keyboard to open when focus is gained on the text field. I don't want ...
0
votes
0
answers
47
views
Message set with "setError()" on a clickable TextView is not shown
I am not able to find the correct configuration for the behaviour I want. I have a layout with 2 TextView for displaying a date (birth and death date). To set both dates, the user touches (onClick() ...