停止鍵盤我有那個旋轉是由我(聲明:android:configChanges="keyboardHidden|orientation"
)管理的活動的WebView由於一些特定的需求。安卓的WebView旋轉從開放
出於測試目的,我打開它的Google.com。
Google.com第一次打開它,這一切都很好。但是,在我旋轉設備後,焦點事件似乎停止工作。
當按下Google.com的搜索框軟鍵盤不開......甚至有沒有在logcat中顯示的事件。
旋轉之前這些都是壓在google.com搜索框中顯示的日誌和鍵盤打開:
08-19 11:13:19.765: INFO/KeyInputQueue(2497): Input event
08-19 11:13:19.765: DEBUG/KeyInputQueue(2497): screenCaptureKeyFlag setting 0
08-19 11:13:19.769: ERROR/KeyLedTest(2581): KeyLedTest++
08-19 11:13:19.773: ERROR/KeyBoardLed(2497): UpdateState../sys/class/sec/keyboard/keyboard_led state false
08-19 11:13:19.773: ERROR/KeyBoardLed(2497): UpdateState../sys/class/sec/keyboard/keyboard_led state false finished
08-19 11:13:19.773: ERROR/KeyLedTest(2581): service.UpdateState0
旋轉後無來者按下時,會顯示...
我已經試圖看看onConfigurationChanged
方法是否被調用,當按下搜索框但它不是。我也嘗試從清單中刪除鍵盤android:configChanges="orientation"
,但沒有任何影響。
任何線索的人?
OMG ..這是一個愚蠢的事情。但是這固定了它。 – neteinstein