android-inputtype Questions

17

Solved

How do we set the input type for an EditText programatically? I'm trying: mEdit.setInputType(InputType.TYPE_TEXT_VARIATION_PASSWORD); it doesn't seem to have any effect.
Raddatz asked 6/4, 2010 at 16:2

3

Solved

I can display a keyboard with capital litters with: android:inputType="textCapCharacters" but can I show a number row? With android:inputType="textVisiblePassword" I can have the desired di...
Nerine asked 27/1, 2017 at 22:10

4

Solved

I have an EditText whose inputType is numberPassword. I want to change the dot size which replaces the text. It is quite small(android default) for my purpose. I want to increase the dot size. How ...
Twelve asked 9/1, 2018 at 6:53

5

I have an EditText set to gravity Right, so that the text starts from the right if the language is Arabic. Note: My application supports RTL, and I am not setting the TextDirection for my EditText...

4

Solved

How do I programmatically configure an EditText to allow: Positive or negative integer values Positive or negative decimal values I am having a hard time finding what gets this working ev...
Embow asked 7/11, 2016 at 4:0

4

I have an EditText field that I would like to only enter negative or positive numbers. When I use InputType.TYPE_NUMBER it will bring up the nice numeric keyboard which is what I want; however it w...

5

I need to removed underline when type in edit text field in Android. For the first name edit text first letter should be capital so that I have given textCapSentences, but in my case I see underlin...

2

Solved

I am trying to understand the difference between the textMultiLine and textImeMultiLine options for android:inputType in an EditText. However I have not been able to understand an answer. The docum...

3

Solved

Where can I find the values that InputType can has? I'm aware of http://developer.android.com/reference/android/text/InputType.html, but how should the values look like in layout XML files?
Orotund asked 26/4, 2010 at 10:43

4

I have created a custom EditText, and have its onDraw() function overridden. Everything was working fine (I could draw anything inside the EditText) until I wanted to change the input method for th...

3

I have a TextInputEditText in conjunction with TextInputLayout with android:inputType="textPassword" using app:passwordToggleEnabled="true" to show password toggle button in the TextInputEditText l...

3

Solved

I have a custom implementation of an edit text class. Based on these XML attribute..... android:inputType="textPersonName" android:inputType="textPersonName" android:inputType="textEmailAddress" ...
Dour asked 9/9, 2015 at 11:3

2

Solved

What is the purpose of inputType textShortMessage? How will this affect my application? Do certain keyboards, Android versions or applications treat this specially, or differently from just type te...
Savage asked 23/3, 2015 at 21:6

0

I am using this code in my xml file to show the emoji icon. android:inputType="textShortMessage|textMultiLine" I want to know if there is a way we can show the keyboard by default. Something l...
Vaules asked 13/3, 2016 at 5:46

1

Solved

I have made a class that is responsible for monitoring an EditText widget following the Observer pattern. Its sole function is to disable or re-enable auto-correct based on a method call. I am able...
Bores asked 7/1, 2016 at 13:54

3

Solved

I want to show this keyboard by default on EditText focus: These actions didn't help: inputType=number inputTYpe=phone numeric=integer setRawInputType(...) How should I do it?
Miticide asked 13/10, 2015 at 6:35

1

Solved

I am developing an android IME and I want my keyboard to work only "pan and scan" and "resize" mode, not in "fullscreen" (as explained here) or at least request to prefer the "resize" mode. I know ...

1

Solved

In my application I am adding edittext based on response provided by server. For each edittext server also provides regex pattern to match. I am able to successfully able to match pattern and do va...
Kass asked 11/8, 2015 at 15:56

5

Solved

I have a EditText component, and, of course, if you click on it, the Android keypad is shown, allowing the user to input text. As far as I know, all Android software keyboards have (at least) a let...

2

Solved

I have a user who owns an LG VS890 4G with Android 4.4.2. Apparently each time when he tries to insert a minus in my lat/long coordinate input EditText, his minus gets converted into a dot. He expe...

3

Solved

I use this code <EditText android:id="@+id/price_for_liter_value_edit_text" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@android:color/transp...
Motivate asked 26/9, 2014 at 9:26
1

© 2022 - 2024 — McMap. All rights reserved.