I am currently using an ExpandableListView
with a EditText
as a child item. I want to give focus to the EditText
when the item is expanded and automatically display the keyboard.(This turned out to be more difficult than what I expected. I can give focus to the EditText
(using this post Focusable EditText inside ListView), but the keyboard is either never shown or it blinks and then hides itself).
Is a ListView
the best approach to do this? Should I rather be looking at creating dynamic views inside a LinearLayout
of a ScrollView
?
Any suggestions/Ideas?