Exception when focusing a EditText in a PopupWindow running on Device

后端 未结 7 2074
别那么骄傲
别那么骄傲 2021-02-12 22:38

I\'m developing a PopUp window for Android, and it\'s working, I added a EditText and a Button on that, when running on ADV this work properly, while running on device, when I f

7条回答
  •  春和景丽
    2021-02-12 23:30

    I also got the same error when the edittext in my popupwindow had some text already present and the text wasn't a dictionary word (for e.g. a city name). When I click in between the text and boom! I got the exception. I solved it by making the edittext not show auto correct suggestions:

    android:inputType="textNoSuggestions"
    

提交回复
热议问题