{"id":3627,"date":"2021-10-16T11:39:20","date_gmt":"2021-10-16T02:39:20","guid":{"rendered":"https:\/\/www.skyer9.pe.kr\/wordpress\/?p=3627"},"modified":"2021-10-16T11:54:17","modified_gmt":"2021-10-16T02:54:17","slug":"android-studio-edittext-%ec%bb%a4%ec%8a%a4%ed%84%b0%eb%a7%88%ec%9d%b4%ec%a7%95-%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/www.skyer9.pe.kr\/wordpress\/?p=3627","title":{"rendered":"Android studio : Edittext \ucee4\uc2a4\ud130\ub9c8\uc774\uc9d5 \ud558\uae30"},"content":{"rendered":"<h1>Android studio : Edittext \ucee4\uc2a4\ud130\ub9c8\uc774\uc9d5 \ud558\uae30<\/h1>\n<p><a href=\"https:\/\/www.tutorialspoint.com\/how-to-create-edittext-with-rounded-corners-in-android\">\ucc38\uc870<\/a><\/p>\n<p><a href=\"https:\/\/pluu.github.io\/blog\/android\/2016\/10\/31\/editText-color\/\">\ucc38\uc870<\/a><\/p>\n<h2>\uc2a4\ud0c0\uc77c \ud30c\uc77c \uc0dd\uc131<\/h2>\n<p><code>res\/drawable\/search_box.xml<\/code> \uc744 \uc0dd\uc131\ud558\uace0 \uc544\ub798 \ub0b4\uc6a9\uc744 \uc785\ub825\ud55c\ub2e4.<\/p>\n<pre><code class=\"language-xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;\n\n&lt;shape xmlns:android=&quot;http:\/\/schemas.android.com\/apk\/res\/android&quot;\n    android:shape=&quot;rectangle&quot; android:thickness=&quot;0dp&quot;&gt;\n    &lt;stroke android:width=&quot;2dp&quot; android:color=&quot;#FFFFFF&quot;\/&gt;\n    &lt;corners android:radius=&quot;8dp&quot;\/&gt;\n    &lt;solid android:color=&quot;@null&quot;\/&gt;\n&lt;\/shape&gt;<\/code><\/pre>\n<h2>Edittext \uc218\uc815<\/h2>\n<p><code>android:background=&quot;@drawable\/custom_box&quot;<\/code> \uc640 \uac19\uc774 \ubc30\uacbd\uc744 \uc704\uc5d0\uc11c \uc0dd\uc131\ud55c \uc2a4\ud0c0\uc77c\ub85c \uc124\uc815\ud55c\ub2e4.<\/p>\n<pre><code class=\"language-xml\">                &lt;EditText\n                    android:id=&quot;@+id\/editTextSearchBox&quot;\n                    android:layout_width=&quot;fill_parent&quot;\n                    android:layout_height=&quot;wrap_content&quot;\n                    android:paddingStart=&quot;10dp&quot;\n                    android:paddingEnd=&quot;10dp&quot;\n                    android:textColorHint=&quot;#AAAAAA&quot;\n                    android:textColor=&quot;#FFFFFF&quot;\n                    android:autofillHints=&quot;&quot;\n                    android:background=&quot;@drawable\/search_box&quot;\n                    android:ems=&quot;10&quot;\n                    android:hint=&quot;@string\/search_text&quot;\n                    android:inputType=&quot;text&quot;\n                    android:minHeight=&quot;40dp&quot; \/&gt;<\/code><\/pre>\n<h2>\uacb0\uacfc\ubb3c \ubcf4\uae30<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/www.skyer9.pe.kr\/wordpress\/wp-content\/uploads\/2021\/10\/2021-10-16-06.png\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android studio : Edittext \ucee4\uc2a4\ud130\ub9c8\uc774\uc9d5 \ud558\uae30 \ucc38\uc870 \ucc38\uc870 \uc2a4\ud0c0\uc77c \ud30c\uc77c \uc0dd\uc131 res\/drawable\/search_box.xml \uc744 \uc0dd\uc131\ud558\uace0 \uc544\ub798 \ub0b4\uc6a9\uc744 \uc785\ub825\ud55c\ub2e4. &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;shape xmlns:android=&quot;http:\/\/schemas.android.com\/apk\/res\/android&quot; android:shape=&quot;rectangle&quot; android:thickness=&quot;0dp&quot;&gt; &lt;stroke android:width=&quot;2dp&quot; android:color=&quot;#FFFFFF&quot;\/&gt; &lt;corners android:radius=&quot;8dp&quot;\/&gt; &lt;solid android:color=&quot;@null&quot;\/&gt; &lt;\/shape&gt; Edittext \uc218\uc815 android:background=&quot;@drawable\/custom_box&quot; \uc640 \uac19\uc774 \ubc30\uacbd\uc744 \uc704\uc5d0\uc11c \uc0dd\uc131\ud55c \uc2a4\ud0c0\uc77c\ub85c \uc124\uc815\ud55c\ub2e4. &lt;EditText android:id=&quot;@+id\/editTextSearchBox&quot; android:layout_width=&quot;fill_parent&quot; android:layout_height=&quot;wrap_content&quot; android:paddingStart=&quot;10dp&quot; android:paddingEnd=&quot;10dp&quot; android:textColorHint=&quot;#AAAAAA&quot; android:textColor=&quot;#FFFFFF&quot; android:autofillHints=&quot;&quot; android:background=&quot;@drawable\/search_box&quot; android:ems=&quot;10&quot; android:hint=&quot;@string\/search_text&quot; android:inputType=&quot;text&quot;\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.skyer9.pe.kr\/wordpress\/?p=3627\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[],"class_list":["post-3627","post","type-post","status-publish","format-standard","hentry","category-android"],"_links":{"self":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3627"}],"version-history":[{"count":4,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3627\/revisions"}],"predecessor-version":[{"id":3633,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3627\/revisions\/3633"}],"wp:attachment":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}