{"id":10638,"date":"2020-11-21T15:19:04","date_gmt":"2020-11-21T06:19:04","guid":{"rendered":"http:\/\/www.gisdeveloper.co.kr\/?p=10638"},"modified":"2020-11-21T15:19:04","modified_gmt":"2020-11-21T06:19:04","slug":"android-%eb%82%98%eb%a8%b8%ec%a7%80-%ed%8f%ad-%ec%b0%a8%ec%a7%80%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"http:\/\/www.gisdeveloper.co.kr\/?p=10638","title":{"rendered":"[Android] \ub098\uba38\uc9c0 \ud3ed \ucc28\uc9c0\ud558\uae30"},"content":{"rendered":"<p>UI\ub97c \ubc30\uce58\ud560\ub54c \ub098\uba38\uc9c0 \uacf5\uac04\uc744 \ucc28\uc9c0\ud558\uac8c \ud558\uace0 \uc2f6\uc740 \uacbd\uc6b0\uac00 \uc788\ub2e4. \uc608\ub97c\ub4e4\uba74 \uc544\ub798\uc640 \uac19\uc774..<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.gisdeveloper.co.kr\/wp-content\/uploads\/2020\/11\/layout_weight.png\" alt=\"\" width=\"1173\" height=\"352\" class=\"aligncenter size-full wp-image-10639\" \/><\/p>\n<p>\uc0ac\uc9c4\uc774\ub77c\ub294 \ubb38\uc790\uc5f4\uc774 \ub4e4\uc5b4\uac04 TextView\ub294 \uac00\ub85c\ud3ed\uc758 \uae38\uc774\uac00 \uc815\ud574\uc838 \uc788\uc9c0 \uc54a\uace0 \ub098\uba38\uc9c0 \uacf5\uac04\uc744 \ubaa8\ub450 \ucc28\uc9c0\ud55c\ub2e4. \ucf54\ub4dc\ub294 \ub2e4\uc74c\uacfc \uac19\ub2e4.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"xml\">\r\n&lt;?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n&lt;LinearLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\r\n    xmlns:app=\"http:\/\/schemas.android.com\/apk\/res-auto\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"44dp\"\r\n    android:paddingHorizontal=\"10dp\"\r\n    android:gravity=\"center_vertical\"\r\n    android:orientation=\"horizontal\">\r\n\r\n    &lt;ImageView\r\n        android:id=\"@+id\/ivIcon\"\r\n        android:src=\"@drawable\/ic_layers_black\"\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        app:tint=\"#444444\" \/>\r\n\r\n    &lt;TextView\r\n        android:textSize=\"@dimen\/normal_text_size\"\r\n        android:id=\"@+id\/tvCaption\"\r\n        android:layout_marginLeft=\"10dp\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_weight=\"1\"\r\n        android:layout_height=\"wrap_content\" \/>\r\n\r\n    &lt;TextView\r\n        android:textSize=\"@dimen\/small_text_size\"\r\n        android:id=\"@+id\/tvDate\"\r\n        android:text=\"2020\/12\/31 12:13:13\"\r\n        android:layout_width=\"100dp\"\r\n        android:textAlignment=\"center\"\r\n        android:layout_height=\"wrap_content\" \/>\r\n\r\n&lt;\/LinearLayout>\r\n<\/pre>\n<p>\uc0ac\uc9c4\uc5d0 \ud574\ub2f9\ud558\ub294 TextView\uc758 layout_weight\ub97c 1\ub85c \uc9c0\uc815\ud558\uace0 \uc788\ub2e4\ub294\uac8c \ud575\uc2ec\uc774\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>UI\ub97c \ubc30\uce58\ud560\ub54c \ub098\uba38\uc9c0 \uacf5\uac04\uc744 \ucc28\uc9c0\ud558\uac8c \ud558\uace0 \uc2f6\uc740 \uacbd\uc6b0\uac00 \uc788\ub2e4. \uc608\ub97c\ub4e4\uba74 \uc544\ub798\uc640 \uac19\uc774.. \uc0ac\uc9c4\uc774\ub77c\ub294 \ubb38\uc790\uc5f4\uc774 \ub4e4\uc5b4\uac04 TextView\ub294 \uac00\ub85c\ud3ed\uc758 \uae38\uc774\uac00 \uc815\ud574\uc838 \uc788\uc9c0 \uc54a\uace0 \ub098\uba38\uc9c0 \uacf5\uac04\uc744 \ubaa8\ub450 \ucc28\uc9c0\ud55c\ub2e4. \ucf54\ub4dc\ub294 \ub2e4\uc74c\uacfc \uac19\ub2e4. &lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?> &lt;LinearLayout xmlns:android=&#8221;http:\/\/schemas.android.com\/apk\/res\/android&#8221; xmlns:app=&#8221;http:\/\/schemas.android.com\/apk\/res-auto&#8221; android:layout_width=&#8221;match_parent&#8221; android:layout_height=&#8221;44dp&#8221; android:paddingHorizontal=&#8221;10dp&#8221; android:gravity=&#8221;center_vertical&#8221; android:orientation=&#8221;horizontal&#8221;> &lt;ImageView android:id=&#8221;@+id\/ivIcon&#8221; android:src=&#8221;@drawable\/ic_layers_black&#8221; android:layout_width=&#8221;wrap_content&#8221; android:layout_height=&#8221;wrap_content&#8221; app:tint=&#8221;#444444&#8243; \/> &lt;TextView android:textSize=&#8221;@dimen\/normal_text_size&#8221; android:id=&#8221;@+id\/tvCaption&#8221; android:layout_marginLeft=&#8221;10dp&#8221; android:layout_width=&#8221;match_parent&#8221; android:layout_weight=&#8221;1&#8243; android:layout_height=&#8221;wrap_content&#8221; \/> &lt;TextView &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.gisdeveloper.co.kr\/?p=10638\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;[Android] \ub098\uba38\uc9c0 \ud3ed \ucc28\uc9c0\ud558\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[],"class_list":["post-10638","post","type-post","status-publish","format-standard","hentry","category-android"],"_links":{"self":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/10638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10638"}],"version-history":[{"count":3,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/10638\/revisions"}],"predecessor-version":[{"id":10642,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/10638\/revisions\/10642"}],"wp:attachment":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10638"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}