Linked Questions

13 votes
5 answers
45k views

I have an EditText that I am passing focus to programmatically. But when I do, I want the keyboard to show up as well (and then go down when that EditText lose focus). Right now, the user has to click ...
Cote Mounyo's user avatar
1 vote
0 answers
63 views

I have two EditText in my actvity_main, clicking on it I want to disable the soft keyboard of the android. To achieve this functionality, I was following this link. The two EditText has following id ...
Rajiv Thakur's user avatar
496 votes
30 answers
419k views

I have a vertical sliding drawer at the bottom of my app. When the soft keyboard opens, it pushes the tab for the drawer up, so it sits atop the keyboard. I actually want it to remain at the bottom of ...
Christopher Perry's user avatar
379 votes
33 answers
358k views

I'm showing an input box using AlertDialog. The EditText inside the dialog itself is automatically focused when I call AlertDialog.show(), but the soft keyboard is not automatically shown. How do I ...
Randy Sugianto 'Yuku''s user avatar
240 votes
21 answers
311k views

I have a layout which contains some views like this: <LinearLayout> <TextView...> <TextView...> <ImageView ...> <EditText...> <Button...> </linearLayout> How ...
Houcine's user avatar
  • 24.2k
229 votes
18 answers
461k views

I have an EditText-Field and set an OnFocusChangeListener for it. When it has lost focus, a method is called, which checks the value of the EditText with one in the database. If the return-value of ...
Andreas Schneider's user avatar
172 votes
6 answers
90k views

Anybody could explain the meaning of "android.R.id.content" ? How is it being used ? http://developer.android.com does not have any explanation. public static final int content Since: API ...
koayst's user avatar
  • 2,155
52 votes
10 answers
67k views

Please explain me the issue about soft keyboard. For example, I have an EditText on my activity or dialogfragment or fragmentactivity, whatever. here it is: <EditText android:id="@+id/edPswrd" ...
Foenix's user avatar
  • 991
58 votes
8 answers
90k views

I have a view with a Edittext field on top of an ImageView. When the keyboard comes up I want the window to resize so that EditText is no longer hidden by the keyboard. In the AndroidManifest file I ...
pdfj's user avatar
  • 779
15 votes
9 answers
6k views

I have created customview. Whenever user double taps on the view it should display the keyboard and user can draw new Text. Holder is a customview which extends view. But it's showing the keyboard. ...
Asthme's user avatar
  • 5,363
4 votes
4 answers
11k views

Am stuck with a pretty simple issue in the Android App am coding. I have a list of EditText objects, one in each row. When the user long presses the EditText, I need to show the keyboard. When the ...
user2903200's user avatar
8 votes
2 answers
7k views

I want show keyboard when my EditText receives focus. I tried many methods but nothing not helped. I tried: 1. InputMethodManager imm = (InputMethodManager) getSystemService(Context....
ip696's user avatar
  • 7,184
1 vote
2 answers
4k views

I'm new in Android and I can't select an EditText programmatically. My scenario. I have a lot of EditText, but only one is enable, I'll calling it A. The user write in this EditText A with the ...
Fry's user avatar
  • 6,305
1 vote
1 answer
3k views

I'm trying to force the numeric keypad to show when my activity and EditText load. It seems there's a pretty straightforward answer given here and elsewhere: you say EditText yourEditText= (EditText) ...
Displaced Hoser's user avatar
5 votes
1 answer
6k views

well, I've tried all the solutions I could find on stackoverflow and in other places, but the end result hasn't changed one bit: the only key that triggers the onKey event or the dispatchKeyEvent is ...
slack ewix's user avatar

15 30 50 per page