0
点赞
收藏
分享

微信扫一扫

android:ListView中EditText焦点问题/无光标/输入不上


1.在AndroidManifest.xml中加入(加入到对应的activity中)

<activity android:name=".ThreeActivity"
    android:windowSoftInputMode="adjustPan"/>

2.在xml中的ListView加以下属性

android:descendantFocusability="beforeDescendants"

重新运行即可


举报

相关推荐

0 条评论