{"id":667,"date":"2011-08-28T11:12:37","date_gmt":"2011-08-28T02:12:37","guid":{"rendered":"http:\/\/adreamer.godohosting.com\/?p=667"},"modified":"2011-10-07T01:18:56","modified_gmt":"2011-10-06T16:18:56","slug":"edittext%eb%93%b1%ec%97%90%ec%84%9c-%ed%82%a4-%ec%9e%85%eb%a0%a5-%ed%9b%84%ed%82%b9%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"http:\/\/milkdrops.net\/index.php\/archives\/667","title":{"rendered":"EditText\ub4f1\uc5d0\uc11c \ud0a4 \uc785\ub825 \ud6c4\ud0b9\ud558\uae30"},"content":{"rendered":"<p>EditText\uc5d0 \ud3ec\ucee4\uc2a4\uac00 \uac00 \uc788\uc744 \ub54c\uc5d0\ub294 onBackPressed \ub4f1\uc5d0\uc11c \uc774\ubca4\ud2b8\uac00 \uc7a1\ud788\uc9c0 \uc54a\ub294\ub2e4.<br \/>\n\uc774\ub54c\ub294 dispathKeyEventPreIme\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4.<\/p>\n<pre>@Override\r\npublic boolean dispatchKeyEventPreIme(KeyEvent event) {\r\n    if (mContext != null) {\r\n        InputMethodManager imm = (InputMethodManager)mContext.getSystemService(Context.INPUT_METHOD_SERVICE);\r\n        if (imm.isActive() &amp;&amp; event.getKeyCode() == KeyEvent.KEYCODE_BACK) {\r\n            <span style=\"color: #008000;\">\/\/ \ubb54\uac00\uc758 \ub3d9\uc791<\/span>\r\n        }\r\n    }\r\n    return super.dispatchKeyEventPreIme(event);\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>EditText\uc5d0 \ud3ec\ucee4\uc2a4\uac00 \uac00 \uc788\uc744 \ub54c\uc5d0\ub294 onBackPressed \ub4f1\uc5d0\uc11c \uc774\ubca4\ud2b8\uac00 \uc7a1\ud788\uc9c0 \uc54a\ub294\ub2e4. \uc774\ub54c\ub294 dispathKeyEventPreIme\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub2e4. @Override public boolean dispatchKeyEventPreIme(KeyEvent event) { if (mContext != null) { InputMethodManager imm = (InputMethodManager)mContext.getSystemService(Context.INPUT_METHOD_SERVICE); if (imm.isActive() &amp;&amp; event.getKeyCode() == KeyEvent.KEYCODE_BACK) { \/\/ \ubb54\uac00\uc758 \ub3d9\uc791 } } return super.dispatchKeyEventPreIme(event); }<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17],"tags":[],"class_list":["post-667","post","type-post","status-publish","format-standard","hentry","category-17"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/posts\/667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/comments?post=667"}],"version-history":[{"count":6,"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/posts\/667\/revisions"}],"predecessor-version":[{"id":740,"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/posts\/667\/revisions\/740"}],"wp:attachment":[{"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/media?parent=667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/categories?post=667"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/milkdrops.net\/index.php\/wp-json\/wp\/v2\/tags?post=667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}