Focusable EditText inside ListView

后端 未结 13 2388
无人共我
无人共我 2020-11-21 23:56

I\'ve spent about 6 hours on this so far, and been hitting nothing but roadblocks. The general premise is that there is some row in a ListView (whether it\'s g

13条回答
  •  闹比i
    闹比i (楼主)
    2020-11-22 00:05

    Just try this

    android:windowSoftInputMode="adjustNothing"
    

    in the

    activity

    section of your manifest. Yes, it adjusts nothings, which means the editText will stay where it is when IME is opening. But that's just an little inconvenience that still completely solves the problem of losing focus.

提交回复
热议问题