我目前使用的ExpandableListView
有EditText
作爲子項目Android的可擴展的ListView。我希望在項目擴展到提供焦點EditText
,並自動顯示鍵盤。(事實證明,這是比我預期的更困難。我可以提供焦點EditText
(使用這個帖子Focusable EditText inside ListView),但是鍵盤是要麼從不顯示,要麼閃爍,然後隱藏自身)。用的EditText
是一個ListView
要做到這一點,最好的方法?我是否應該考慮在ScrollView
的LinearLayout
內部創建動態視圖?
任何建議/想法?
看看http://en.wikicode.org/index.php/Custom_ExpandableListView和http://www.techienjoy.com/android-expandable-list-dynamically-created-example.php你會得到提示 – 2012-02-29 06:35:22
謝謝Rstar,我會嘗試並讓你知道。 – Jacques 2012-02-29 15:38:31