{"id":3670,"date":"2021-10-28T23:24:04","date_gmt":"2021-10-28T14:24:04","guid":{"rendered":"https:\/\/www.skyer9.pe.kr\/wordpress\/?p=3670"},"modified":"2021-10-29T16:10:40","modified_gmt":"2021-10-29T07:10:40","slug":"bottomsheetdialogfragment-%eb%aa%a8%ec%84%9c%eb%a6%ac-%eb%91%a5%ea%b8%80%ea%b2%8c","status":"publish","type":"post","link":"https:\/\/www.skyer9.pe.kr\/wordpress\/?p=3670","title":{"rendered":"BottomSheetDialogFragment \ubaa8\uc11c\ub9ac \ub465\uae00\uac8c"},"content":{"rendered":"<h1>BottomSheetDialogFragment \ubaa8\uc11c\ub9ac \ub465\uae00\uac8c<\/h1>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/43852562\/round-corner-for-bottomsheetdialogfragment\">\ucc38\uc870<\/a><\/p>\n<p>\uc544\ub798\uc758 \ucf54\ub4dc\ub97c \ucd94\uac00\ud574 \uc8fc\uba74 <code>BottomSheetDialog<\/code> \uc758 \ubaa8\uc11c\ub9ac \ubd80\ubd84\uc774 \ub465\uad74\uac8c \ud560 \uc218 \uc788\ub2e4.<\/p>\n<h2>rounded_dialog.xml<\/h2>\n<pre><code class=\"language-xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;\n&lt;shape xmlns:android=&quot;http:\/\/schemas.android.com\/apk\/res\/android&quot;\n    android:shape=&quot;rectangle&quot;&gt;\n    &lt;solid android:color=&quot;@android:color\/white&quot;\/&gt;\n    &lt;corners android:topLeftRadius=&quot;16dp&quot;\n        android:topRightRadius=&quot;16dp&quot;\/&gt;\n\n&lt;\/shape&gt;<\/code><\/pre>\n<h2>styles.xml<\/h2>\n<p>\uc544\ub798 \uc124\uc815\uc73c\ub85c \ubaa8\ub4e0 BottomSheetDialogFragment \uc758 \ubaa8\uc11c\ub9ac\uac00 \ub465\uae00\uac8c \uc124\uc815\ub41c\ub2e4.<\/p>\n<p><code>&lt;item name=&quot;android:windowIsFloating&quot;&gt;false&lt;\/item&gt;<\/code> \ub97c \ucd94\uac00\ud558\uba74 \ub124\ube44\uac8c\uc774\uc158\ubc14\ub97c \ub36e\uc9c0 \uc54a\ub294\ub2e4.<\/p>\n<pre><code class=\"language-xml\">&lt;style name=&quot;AppTheme&quot; parent=&quot;Theme.AppCompat.Light.NoActionBar&quot;&gt;\n    ......\n    &lt;item name=&quot;bottomSheetDialogTheme&quot;&gt;@style\/AppBottomSheetDialogTheme&lt;\/item&gt;\n&lt;\/style&gt;\n\n&lt;style name=&quot;AppBottomSheetDialogTheme&quot;\n    parent=&quot;Theme.Design.Light.BottomSheetDialog&quot;&gt;\n    &lt;item name=&quot;bottomSheetStyle&quot;&gt;@style\/AppModalStyle&lt;\/item&gt;\n    &lt;item name=&quot;android:windowIsFloating&quot;&gt;false&lt;\/item&gt;\n&lt;\/style&gt;\n\n&lt;style name=&quot;AppModalStyle&quot;\n    parent=&quot;Widget.Design.BottomSheet.Modal&quot;&gt;\n    &lt;item name=&quot;android:background&quot;&gt;@drawable\/rounded_dialog&lt;\/item&gt;\n&lt;\/style&gt;<\/code><\/pre>\n<h2>\uc774\ubbf8\uc9c0<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/www.skyer9.pe.kr\/wordpress\/wp-content\/uploads\/2021\/10\/2021-10-29-01.jpg\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>BottomSheetDialogFragment \ubaa8\uc11c\ub9ac \ub465\uae00\uac8c \ucc38\uc870 \uc544\ub798\uc758 \ucf54\ub4dc\ub97c \ucd94\uac00\ud574 \uc8fc\uba74 BottomSheetDialog \uc758 \ubaa8\uc11c\ub9ac \ubd80\ubd84\uc774 \ub465\uad74\uac8c \ud560 \uc218 \uc788\ub2e4. rounded_dialog.xml &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;&gt; &lt;solid android:color=&quot;@android:color\/white&quot;\/&gt; &lt;corners android:topLeftRadius=&quot;16dp&quot; android:topRightRadius=&quot;16dp&quot;\/&gt; &lt;\/shape&gt; styles.xml \uc544\ub798 \uc124\uc815\uc73c\ub85c \ubaa8\ub4e0 BottomSheetDialogFragment \uc758 \ubaa8\uc11c\ub9ac\uac00 \ub465\uae00\uac8c \uc124\uc815\ub41c\ub2e4. &lt;item name=&quot;android:windowIsFloating&quot;&gt;false&lt;\/item&gt; \ub97c \ucd94\uac00\ud558\uba74 \ub124\ube44\uac8c\uc774\uc158\ubc14\ub97c \ub36e\uc9c0 \uc54a\ub294\ub2e4. &lt;style name=&quot;AppTheme&quot; parent=&quot;Theme.AppCompat.Light.NoActionBar&quot;&gt; &#8230;&#8230; &lt;item name=&quot;bottomSheetDialogTheme&quot;&gt;@style\/AppBottomSheetDialogTheme&lt;\/item&gt; &lt;\/style&gt; &lt;style name=&quot;AppBottomSheetDialogTheme&quot; parent=&quot;Theme.Design.Light.BottomSheetDialog&quot;&gt;\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.skyer9.pe.kr\/wordpress\/?p=3670\">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-3670","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\/3670","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=3670"}],"version-history":[{"count":7,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3670\/revisions"}],"predecessor-version":[{"id":3683,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3670\/revisions\/3683"}],"wp:attachment":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}