• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Simple Notepad Application for Android OS


Commit MetaInfo

修订版0b120016021af4d852f45e4c33f167a6c7f80580 (tree)
时间2017-08-19 16:20:12
作者Masahiko, SAWAI <say@user...>
CommiterMasahiko, SAWAI

Log Message

Fixed the search view focus bug

更改概述

差异

--- a/notepad-app-level-11/src/main/java/org/routine_work/notepad/NotepadActivity.java
+++ b/notepad-app-level-11/src/main/java/org/routine_work/notepad/NotepadActivity.java
@@ -374,9 +374,13 @@ public class NotepadActivity extends Activity implements NotepadConstants,
374374 Log.v(LOG_TAG, "Hello");
375375
376376 doSearchWithQueryText(queryText);
377+ Log.v(LOG_TAG, "queryText => " + queryText);
378+ Log.v(LOG_TAG, "searchView.isShown() => " + searchView.isShown());
379+ Log.v(LOG_TAG, "searchView.isIconified() => " + searchView.isIconified());
377380 if (TextUtils.isEmpty(queryText) == false && searchView != null && searchView.isIconified())
378381 {
379382 searchView.setIconified(false);
383+ searchView.clearFocus();
380384 }
381385
382386 Log.v(LOG_TAG, "Bye");