Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Krishna Vemulavada
/
vera_2.1_app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c83c220c
authored
Sep 28, 2016
by
Kunj Gupta
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
UOFLMA-81: Fix - Keyboard is not opening automatically.
parent
5fd6830b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
app/src/main/java/com/vsoft/uoflservicenow/dialog/SelectReferenceDialog.java
app/src/main/java/com/vsoft/uoflservicenow/dialog/SelectReferenceDialog.java
View file @
c83c220c
...
@@ -14,6 +14,7 @@ import android.view.LayoutInflater;
...
@@ -14,6 +14,7 @@ import android.view.LayoutInflater;
import
android.view.MotionEvent
;
import
android.view.MotionEvent
;
import
android.view.View
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.ViewGroup
;
import
android.view.WindowManager
;
import
android.view.inputmethod.EditorInfo
;
import
android.view.inputmethod.EditorInfo
;
import
android.widget.ArrayAdapter
;
import
android.widget.ArrayAdapter
;
import
android.widget.EditText
;
import
android.widget.EditText
;
...
@@ -112,6 +113,12 @@ public class SelectReferenceDialog extends DialogFragment {
...
@@ -112,6 +113,12 @@ public class SelectReferenceDialog extends DialogFragment {
return
rootView
;
return
rootView
;
}
}
@Override
public
void
onActivityCreated
(
Bundle
savedInstanceState
)
{
super
.
onActivityCreated
(
savedInstanceState
);
getDialog
().
getWindow
().
setSoftInputMode
(
WindowManager
.
LayoutParams
.
SOFT_INPUT_STATE_ALWAYS_VISIBLE
);
}
@OnTouch
(
R
.
id
.
reference_search_dialog_edit_text
)
@OnTouch
(
R
.
id
.
reference_search_dialog_edit_text
)
boolean
onTouch
(
View
v
,
MotionEvent
event
)
{
boolean
onTouch
(
View
v
,
MotionEvent
event
)
{
final
int
DRAWABLE_RIGHT
=
2
;
final
int
DRAWABLE_RIGHT
=
2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment