{"id":288608,"date":"2018-08-28T10:05:02","date_gmt":"2018-08-28T06:05:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=288608"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=288608","title":{"rendered":"Material 2.0 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432. \u041a\u0440\u0430\u0442\u043a\u0438\u0439 \u043e\u0431\u0437\u043e\u0440 \u043d\u043e\u0432\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432"},"content":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/company\/mobileup\/blog\/419545\/\" class=\"post__text post__text-html js-mediator-article\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/mu\/o2\/mh\/muo2mhc1wieii1oqraz_qgdd7pk.png\">  <\/p>\n<p>  \u0412 \u043c\u0430\u0435 \u043d\u0430 Google I\/O \u043c\u044b \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u0443\u0432\u0438\u0434\u0435\u043b\u0438 Material Design 2.0. \u041a\u043e\u043c\u0430\u043d\u0434\u0430 Google \u043f\u0440\u043e\u0432\u0435\u043b\u0430 \u043a\u0440\u0443\u043f\u043d\u044b\u0439 \u0440\u0435\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u043d\u0433 \u0438 \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0434\u0438\u0437\u0430\u0439\u043d\u0430. \u0412 \u043d\u0435\u0439 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u043d\u043e\u0432\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0438 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438. \u041c\u044b \u0441\u043b\u0435\u0434\u0438\u043c \u0437\u0430 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435\u043c Material Components \u0441 \u0441\u0430\u043c\u043e\u0433\u043e \u043d\u0430\u0447\u0430\u043b\u0430. \u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u0441\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0442\u0430\u0434\u0438\u0438 RC1, \u0438 \u0443\u0436\u0435 \u0441\u043a\u043e\u0440\u043e \u0432\u044b\u0439\u0434\u0435\u0442 \u0432 \u0440\u0435\u043b\u0438\u0437. \u041f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c \u043e\u0431\u0437\u043e\u0440 \u043d\u043e\u0432\u044b\u0445 \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 UI-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0435\u0449\u0435 \u043d\u0435 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0438\u0445 \u0432 \u0440\u0430\u0431\u043e\u0442\u0435, \u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442\u0441\u044f.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<h3 id=\"android-x-vmesto-support-library\">Android X \u0432\u043c\u0435\u0441\u0442\u043e Support library<\/h3>\n<p>  <\/p>\n<p>\u00ab\u041a\u0430\u043a \u044d\u0442\u043e \u0443\u0436\u0435 \u0437\u0430\u0434\u0435\u043f\u0440\u0438\u043a\u0435\u0439\u0442\u0438\u043b\u0438? \u042f \u0434\u0430\u0436\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u0442\u043e\u043b\u043a\u043e\u043c \u043d\u0435 \u0443\u0441\u043f\u0435\u043b\u00bb, \u2013 \u0441\u043a\u0430\u0437\u0430\u043b \u043e\u0434\u0438\u043d \u043c\u043e\u0439 \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0439, \u043a\u043e\u0433\u0434\u0430 \u0443\u0437\u043d\u0430\u043b \u043e \u043f\u0435\u0440\u0435\u0435\u0437\u0434\u0435 Material Components \u0432 \u043d\u043e\u0432\u044b\u0439 \u043f\u0430\u043a\u0435\u0442. \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 support.design \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442, \u0430 \u043d\u0430 \u0435\u0435 \u043c\u0435\u0441\u0442\u043e \u043f\u0440\u0438\u0434\u0435\u0442 com.google.android.material.<br \/>  \u0412 \u0440\u0430\u043c\u043a\u0430\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Android X Google \u0443\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u0440\u0435\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u043d\u0433 \u0432\u0441\u0435\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432 \u0438\u0445 <a href=\"https:\/\/android-developers.googleblog.com\/2018\/05\/hello-world-androidx.html\">\u0431\u043b\u043e\u0433\u0435<\/a>. \u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432:<\/p>\n<p>  <\/p>\n<p><strong>\u0441\u0442\u0430\u0440\u044b\u0439 \u043f\u0430\u043a\u0435\u0442<\/strong><\/p>\n<p>  <\/p>\n<blockquote><p>android.support.@<br \/>  android.databinding.@<br \/>  android.design.@<\/p><\/blockquote>\n<p><strong>\u043d\u043e\u0432\u044b\u0439 \u043f\u0430\u043a\u0435\u0442<\/strong><\/p>\n<p>  <\/p>\n<blockquote><p>androidx.@<br \/>  androidx.databinding.@<br \/>  com.google.android.material.@<\/p><\/blockquote>\n<p>\u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u0434\u043b\u044f \u00ab\u043c\u044f\u0433\u043a\u043e\u0433\u043e\u00bb \u043f\u0435\u0440\u0435\u0435\u0437\u0434\u0430 \u043d\u0430 \u043d\u043e\u0432\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443, \u0432 \u0441\u0442\u0443\u0434\u0438\u0438 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0432\u0441\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438. \u0421\u0435\u0439\u0447\u0430\u0441 \u044d\u0442\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0443\u0436\u0435 \u0432 [Android Studio Canary 3.3]. \u041e\u043d \u043f\u0440\u0438\u0437\u0432\u0430\u043d \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u0432\u0441\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 \u0438\u043c\u043f\u043e\u0440\u0442\u0430\u0445, \u0432 gradle \u0444\u0430\u0439\u043b\u0430\u0445, \u0432 XML \u0438 \u0432 Proguard.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/bt\/yd\/ri\/btydri4uzt7yf9isx_y6jqczv9w.png\" height=\"400\">  <\/p>\n<p>  <\/p>\n<p>  <\/p>\n<h3 id=\"material-library\">Material library<\/h3>\n<p>  <\/p>\n<p>\u0412\u0441\u0435 \u0441\u0442\u0430\u0440\u044b\u0435 UI-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0438\u0437 Support Library \u043f\u0435\u0440\u0435\u0435\u0445\u0430\u043b\u0438 \u0432 Material library, \u0430 \u0435\u0449\u0451 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u043d\u043e\u0432\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b. \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u043e\u0432\u0443\u044e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c:<\/p>\n<p>  <\/p>\n<pre><code>implementation 'com.google.android.material:material:1.0.0-rc01'<\/code><\/pre>\n<p>  <\/p>\n<p>\u041e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u0441 Support \u043d\u0435 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f. \u041f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u0432\u0441\u0435\u0445 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439, \u0433\u0434\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u043e\u0432\u043e support, \u0438 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0438\u0445 \u043d\u0430 <a href=\"https:\/\/developer.android.com\/topic\/libraries\/support-library\/refactor\">\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435<\/a> \u0438\u0437 Android X. \u0418\u043d\u0430\u0447\u0435 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0441\u043e\u0431\u0435\u0440\u0435\u0442\u0441\u044f \u0438\u0437-\u0437\u0430 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u043e\u0432. \u0414\u043b\u044f \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0438 \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0434\u0430\u0436\u0435 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c Glide \u043d\u0430 Picasso, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0439 \u0442\u044f\u043d\u0435\u0442 \u0437\u0430 \u0441\u043e\u0431\u043e\u0439 android-support. \u041d\u0430 \u0431\u043e\u043b\u044c\u0448\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zu\/wv\/58\/zuwv58khofmcyw3ycvx_cpeor7w.png\" height=\"250\">  <\/p>\n<p>  \u041e\u0434\u043d\u0430\u043a\u043e \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Material Components \u043c\u043e\u0436\u0435\u043c \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f support:design \u0432\u0435\u0440\u0441\u0438\u0438 28-beta, \u043a\u0443\u0434\u0430 Google \u043b\u044e\u0431\u0435\u0437\u043d\u043e \u043f\u0440\u043e\u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043b\u0430 \u0432\u0441\u0435 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b. \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u044d\u0442\u043e, 28 \u0432\u0435\u0440\u0441\u0438\u044f Support library \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439, \u0438 \u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u0435\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043f\u0440\u0435\u043a\u0440\u0430\u0442\u0438\u0442\u0441\u044f. \u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043d\u043e\u0432\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b, \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u044b\u0435 \u0441\u0442\u0430\u0440\u044b\u0435.<\/p>\n<p>  <\/p>\n<h4 id=\"bottomappbar\">BottomAppbar<\/h4>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/nr\/wk\/6n\/nrwk6n4exenpcdxihwjrmjxyre4.png\">  <\/p>\n<p>  <a href=\"https:\/\/material.io\/design\/components\/app-bars-bottom.html\">BottomAppbar<\/a> \u2013 \u044d\u0442\u043e \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0445\u043e\u0436\u0435\u0435 \u043d\u0430 Appbar, \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u044f Floating Action Button \u0438 \u0432\u044b\u0440\u0435\u0437\u043e\u043c \u043f\u043e\u0434 \u043d\u0435\u0433\u043e. \u041f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u043d\u0443\u0442\u0440\u0438 CoordinatorLayout.<br \/>  \u0412\u043e\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c:<\/p>\n<p>  <\/p>\n<ul>\n<li>app:backgroundTint \u2014 \u0446\u0432\u0435\u0442 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430<\/li>\n<li>app:fabAlignmentMode \u2014 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 FAB<\/li>\n<li>app:fabCradleMargin \u2014 \u043e\u0442\u0441\u0442\u0443\u043f \u043c\u0435\u0436\u0434\u0443 FAB \u0438 BottomAppbar<\/li>\n<li>app:fabCradleRoundedCornerRadius \u2014 \u0437\u0430\u043a\u0440\u0443\u0433\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u0443\u0433\u043b\u0430\u0445 \u0432\u044b\u0440\u0435\u0437\u0430 \u0434\u043b\u044f FAB<\/li>\n<li>app:fabCradleVerticalOffset<\/li>\n<li>app:hideOnScroll<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;com.google.android.material.floatingactionbutton.FloatingActionButton    android:layout_width=\"wrap_content\"    android:layout_height=\"wrap_content\"    app:layout_anchor=\"@id\/bottomAppBar\"\/&gt;  &lt;com.google.android.material.bottomappbar.BottomAppBar    android:id=\"@+id\/bottomAppBar\"    android:layout_width=\"match_parent\"    android:layout_height=\"wrap_content\"    android:layout_gravity=\"bottom\"    app:backgroundTint=\"@color\/colorPrimary\"    app:fabCradleMargin=\"4dp\"\/&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438, BottomAppBar \u0434\u043e\u0434\u0435\u043b\u0430\u043d \u043d\u0435 \u0434\u043e \u043a\u043e\u043d\u0446\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0435\u043b\u044c\u0437\u044f \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c NavigationIcon \u0432 \u0446\u0435\u043d\u0442\u0440\u0435 \u043f\u043e \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u0438, \u043d\u043e, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u044d\u0442\u043e \u0441\u043a\u043e\u0440\u043e \u0434\u043e\u043f\u0438\u043b\u044f\u0442.<\/p>\n<p>  <\/p>\n<h4 id=\"chips\">Chips<\/h4>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/lm\/ao\/ld\/lmaoldt81utcjti-mofm0br2sdq.png\">  <\/p>\n<p>  <a href=\"https:\/\/material.io\/develop\/android\/components\/chip\/\">Chip<\/a> \u2013 \u0435\u0449\u0435 \u043e\u0434\u043d\u0430 \u043d\u043e\u0432\u0430\u044f View \u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435. \u0421 \u0435\u0451 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0436\u043d\u043e \u0443\u0434\u043e\u0431\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0444\u0438\u043b\u044c\u0442\u0440\u044b \u0438\u043b\u0438 \u043a\u0430\u043a\u0438\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u041f\u043e \u0433\u0430\u0439\u0434\u043b\u0430\u0439\u043d\u0430\u043c Chip \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u041c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0438\u043a\u043e\u043d\u043a\u0443 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 (\u0441\u043b\u0435\u0432\u0430).<\/li>\n<li>\u041c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0438\u043a\u043e\u043d\u043a\u0443 \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f (\u0441\u043f\u0440\u0430\u0432\u0430).<\/li>\n<li>\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0442\u0435\u043a\u0441\u0442.<\/li>\n<li>\u041c\u043e\u0436\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0434\u0432\u0443\u0445 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f\u0445, \u043a\u0430\u043a CheckBox.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0432 Material library \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u0437 \u0441\u0435\u0431\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e AppCompatCheckBox, \u0438 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0440\u0430\u0434\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u0443\u0435\u043c\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438:<\/p>\n<p>  <\/p>\n<ul>\n<li>app:chipCornerRadius<\/li>\n<li>app:chipMinHeight<\/li>\n<li>app:chipBackgroundColor<\/li>\n<li>app:chipStrokeColor<\/li>\n<li>app:chipStrokeWidth<\/li>\n<li>app:rippleColor<\/li>\n<li>android:text<\/li>\n<li>android:textAppearance<\/li>\n<li>app:chipIconVisible<\/li>\n<li>app:chipIcon<\/li>\n<li>app:chipIconTint<\/li>\n<li>app:chipIconSize<\/li>\n<li>app:closeIconVisible<\/li>\n<li>app:closeIcon<\/li>\n<li>app:closeIconSize<\/li>\n<li>app:closeIconTint<\/li>\n<li>app:checkable<\/li>\n<li>app:checkedIconVisible<\/li>\n<li>app:checkedIcon<\/li>\n<li>app:showMotionSpec<\/li>\n<li>app:hideMotionSpec<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u044f\u0442\u043d\u043e \u0443\u0434\u0438\u0432\u0438\u043b\u043e \u043d\u0430\u043b\u0438\u0447\u0438\u0435 ChipGroup, \u044f\u0432\u043b\u044f\u044e\u0449\u0435\u0433\u043e\u0441\u044f \u043d\u0430\u0441\u043b\u0435\u0434\u043d\u0438\u043a\u043e\u043c <a href=\"https:\/\/github.com\/google\/flexbox-layout\">FlexboxLayout<\/a>, \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u043b\u0438 \u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0434\u0438\u0437\u0430\u0439\u043d\u0430. <\/p>\n<p>  <\/p>\n<h4 id=\"backdrop\">BackDrop<\/h4>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/n8\/o9\/00\/n8o900jioomp63s0egleddnnifa.png\">  <\/p>\n<p>  <a href=\"https:\/\/material.io\/design\/components\/backdrop.html\">BackDrop<\/a> \u2013 \u043d\u043e\u0432\u044b\u0439 \u0434\u043b\u044f Android \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438. \u0415\u0441\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u043e\u043d\u0442\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d \u043d\u0430 \u043f\u0435\u0440\u0435\u0434\u043d\u0435\u043c \u043f\u043b\u0430\u043d\u0435, \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c, \u043b\u0435\u0436\u0430\u0449\u0430\u044f \u043f\u043e\u0437\u0430\u0434\u0438 (\u043e\u0431\u044b\u0447\u043d\u043e \u044d\u0442\u043e \u043c\u0435\u043d\u044e \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438). \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0434\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0441\u0437\u0430\u0434\u0438, \u0442\u043e \u043f\u0435\u0440\u0435\u0434\u043d\u0438\u0439 \u043f\u043b\u0430\u043d \u0441\u044a\u0435\u0437\u0436\u0430\u0435\u0442 \u0432\u043d\u0438\u0437 \u0434\u043e \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f.<br \/>  \u0421\u043e\u0441\u0442\u043e\u0438\u0442 Backdrop \u0438\u0437 \u0442\u0440\u0435\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432:<\/p>\n<p>  <\/p>\n<ul>\n<li>Toolbar<\/li>\n<li>Front layout<\/li>\n<li>Back layout <\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u041d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 \u043e\u043d \u0435\u0449\u0435 \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435, \u0438 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c <a href=\"https:\/\/github.com\/material-components\/material-components-android\/blob\/master\/docs\/components\/Backdrop.md\">\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438<\/a> \u043f\u043e\u043a\u0430 \u043f\u0443\u0441\u0442\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e, \u043e\u0431\u0435\u0440\u043d\u0443\u0432 \u0435\u0435 \u0432 <a href=\"https:\/\/github.com\/Semper-Viventem\/Material-backdrop\">\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443<\/a>:<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u044f\u0435\u043c BackdropBehavior \u043d\u0430 \u043d\u0443\u0436\u043d\u044b\u0439 Front Container \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0435\u043c\u0443 Toolbar \u0438 Back Container.<\/p>\n<p>  <\/p>\n<p><strong>XML<\/strong><\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;android.support.design.widget.CoordinatorLayout     android:layout_width=\"match_parent\"     android:layout_height=\"match_parent\"&gt;      &lt;android.support.v7.widget.Toolbar         android:id=\"@+id\/toolbar\"         android:layout_width=\"match_parent\"         android:layout_height=\"wrap_content\"\/&gt;      &lt;LinearLayout         android:id=\"@+id\/backContainer\"         android:layout_width=\"match_parent\"         android:layout_height=\"wrap_content\"         android:orientation=\"vertical\"\/&gt;      &lt;!-- Add BackdropBehavior to this view --&gt;     &lt;android.support.design.card.MaterialCardView         android:id=\"@+id\/foregroundContainer\"         app:layout_behavior=\"ru.semper_viventem.backdrop.BackdropBehavior\"         android:layout_width=\"match_parent\"         android:layout_height=\"match_parent\"\/&gt;  &lt;\/android.support.design.widget.CoordinatorLayout&gt;<\/code><\/pre>\n<p>  <\/p>\n<p><strong>Kotlin<\/strong><\/p>\n<p>  <\/p>\n<pre><code>val backdropBehavior: BackdropBehavior = foregroundContainer.findBehavior() \/\/ find behavior  with(backdropBehavior) {         attachBackContainer(R.id.backContainer) \/\/ set back container         attachToolbar(R.id.toolbar) \/\/ set toolbar          \/\/ set navigation icons for toolbar         setClosedIcon(R.drawable.ic_menu)         setOpenedIcon(R.drawable.ic_close)          \/\/ add listener         addOnDropListener(object : BackdropBehavior.OnDropListener {             override fun onDrop(dropState: BackdropBehavior.DropState, fromUser: Boolean) {                 \/\/ TODO: handle listener                         }         }) }<\/code><\/pre>\n<p>  <\/p>\n<p>\u042d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0434\u0438\u043d \u0438\u0437 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. \u041d\u043e \u0434\u043b\u044f \u043c\u043e\u0435\u0433\u043e \u043a\u0435\u0439\u0441\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0443\u0434\u043e\u0431\u043d\u043e. \u0414\u0443\u043c\u0430\u044e, \u0440\u0435\u0448\u0435\u043d\u0438\u0435 Google \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f. \u0415\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u0435\u0441\u0442\u044c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0442\u043e \u0441 \u0440\u0430\u0434\u043e\u0441\u0442\u044c\u044e \u0433\u043e\u0442\u043e\u0432 \u043e\u0431\u0441\u0443\u0434\u0438\u0442\u044c \u0438\u0445 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043f\u043e\u0434 \u0441\u0442\u0430\u0442\u044c\u0435\u0439.<\/p>\n<p>  <\/p>\n<h4 id=\"materialbuttons\">MaterialButtons<\/h4>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/_h\/ju\/y8\/_hjuy8v2bsm7ieq88pvmzdkhr54.png\">  <\/p>\n<p>  <a href=\"https:\/\/material.io\/develop\/android\/components\/material-button\/\">MaterialButtons<\/a> \u2013 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0431\u043e\u043b\u0435\u0435 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u0443\u0435\u043c\u044b\u0435 \u043a\u043d\u043e\u043f\u043a\u0438. \u0423 \u043d\u0438\u0445 \u0435\u0441\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0434\u043b\u044f \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438:<\/p>\n<p>  <\/p>\n<ul>\n<li>android:inset (Left, Top, Right, Bottom) \u2014 \u043e\u0442\u0441\u0442\u0443\u043f \u043a\u043d\u043e\u043f\u043a\u0438 \u043e\u0442 \u043a\u0440\u0430\u044f View<\/li>\n<li>app:backgroundTint \u2014 \u0446\u0432\u0435\u0442 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043d\u043e\u043f\u043a\u0438<\/li>\n<li>app:backgroundTintMode<\/li>\n<li>app:icon \u2014 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0438\u043a\u043e\u043d\u043a\u0443, \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0441\u043b\u0435\u0432\u0430 \u043e\u0442 \u0442\u0435\u043a\u0441\u0442\u0430<\/li>\n<li>app:iconPadding<\/li>\n<li>app:iconTint<\/li>\n<li>app:iconTintMode<\/li>\n<li>app:strokeColor \u2014 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043a\u043d\u043e\u043f\u043e\u043a \u0441 \u043e\u0431\u0432\u043e\u0434\u043a\u043e\u0439<\/li>\n<li>app:strokeWidth<\/li>\n<li>app:cornerRadius<\/li>\n<li>app:rippleColor<\/li>\n<\/ul>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/pe\/8r\/i3\/pe8ri3k-cw1r5tykbjm7gxwxuss.png\" height=\"300\">  <\/p>\n<p>\u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u044d\u0442\u0438 \u0441\u0442\u0438\u043b\u0438 \u0434\u043b\u044f \u043a\u043d\u043e\u043f\u043e\u043a \u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e. \u041d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u043d\u043e\u043f\u043e\u043a \u0445\u043e\u0440\u043e\u0448\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u00ab\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438\u00bb, \u0438 \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e.<\/p>\n<p>  <\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u0441 \u043a\u0440\u0435\u0441\u0442\u0438\u043a\u043e\u043c, \u0440\u0430\u043d\u044c\u0448\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0431\u044b \u043f\u0438\u0441\u0430\u0442\u044c \u0434\u0432\u0430 XML \u0444\u0430\u0439\u043b\u0430:<\/p>\n<p>  <\/p>\n<p><strong>Layout:<\/strong><\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;Button    android:layout_width=\"wrap_content\"    android:layout_height=\"wrap_content\"    android:background=\"@drawable\/bg_button\"    android:drawablePadding=\"@dimen\/small_gap\"    android:drawableStart=\"@drawable\/ic_close\"    android:paddingStart=\"@dimen\/small_gap\"    android:paddingEnd=\"@dimen\/small_gap\"    android:drawableTint=\"@color\/colorAccent\"    android:text=\"Icon button\"\/&gt;<\/code><\/pre>\n<p>  <\/p>\n<p><strong>bg_button.xml<\/strong><\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt; &lt;layer-list xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"&gt;    &lt;item&gt;        &lt;ripple android:color=\"@color\/colorAccent\"&gt;            &lt;item android:id=\"@android:id\/mask\"&gt;                &lt;shape android:shape=\"rectangle\"&gt;                    &lt;solid android:color=\"@color\/white\"\/&gt;                    &lt;corners android:radius=\"16dp\"\/&gt;                &lt;\/shape&gt;            &lt;\/item&gt;        &lt;\/ripple&gt;    &lt;\/item&gt;    &lt;item&gt;        &lt;shape android:shape=\"rectangle\"&gt;            &lt;stroke                android:color=\"@color\/colorAccent\"                android:width=\"1dp\"\/&gt;            &lt;corners android:radius=\"16dp\"\/&gt;        &lt;\/shape&gt;    &lt;\/item&gt; &lt;\/layer-list&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u0441\u0440\u0430\u0437\u0443 \u043d\u0430 \u043c\u0435\u0441\u0442\u0435:<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;com.google.android.material.button.MaterialButton    style=\"@style\/Widget.MaterialComponents.Button.TextButton\"    android:layout_width=\"wrap_content\"    android:layout_height=\"wrap_content\"    app:cornerRadius=\"16dp\"    app:icon=\"@drawable\/ic_close\"    app:strokeColor=\"@color\/colorAccent\"    app:strokeWidth=\"1dp\"    android:text=\"Icon button\"\/&gt;<\/code><\/pre>\n<p>  <\/p>\n<h4 id=\"text-fields\">Text Fields<\/h4>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ji\/4z\/tm\/ji4ztm-mvydj-p9jfit4mv17-6u.png\">  <\/p>\n<p>  <a href=\"https:\/\/material.io\/develop\/android\/components\/text-input-layout\/\">Text Fields<\/a> \u2013 \u0442\u043e\u0436\u0435 \u043f\u0440\u0435\u0442\u0435\u0440\u043f\u0435\u043b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f. \u0422\u0435\u043f\u0435\u0440\u044c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c\u0443 \u043f\u043e\u043b\u044e \u00ab\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438\u00bb \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043e\u0431\u0432\u043e\u0434\u043a\u0443 \u043f\u043e \u043a\u043e\u043d\u0442\u0443\u0440\u0443, \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0433\u043e \u0437\u0430\u043b\u0438\u0442\u044b\u043c \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u0446\u0432\u0435\u0442\u043e\u043c, \u0438\u043b\u0438 \u0437\u0430\u043a\u0440\u0443\u0433\u043b\u0438\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0443\u0433\u043b\u044b.<\/p>\n<p>  <\/p>\n<p>\u041a\u0430\u043a \u0438 \u0440\u0430\u043d\u044c\u0448\u0435, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e \u0438\u0437 InputLayout \u0441 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u043c EditText, \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u0443\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043e\u043a, \u043e\u0448\u0438\u0431\u043e\u043a \u0438 \u043f\u0440\u043e\u0447\u0435\u0433\u043e \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0442\u0435\u043a\u0441\u0442\u0430.<\/p>\n<p>  <\/p>\n<ul>\n<li>app:boxCornerRadiusTopLeft<\/li>\n<li>app:boxCornerRadiusTopRight<\/li>\n<li>app:boxCornerRadiusBottomLeft<\/li>\n<li>app:boxCornerRadiusBottomRight<\/li>\n<li>android:hint<\/li>\n<li>app:hintEnabled<\/li>\n<li>app:errorEnabled<\/li>\n<li>app:setError<\/li>\n<li>app:helperTextEnabled<\/li>\n<li>app:helperText<\/li>\n<li>app:passwordToggleEnabled<\/li>\n<li>app:passwordToggleDrawable<\/li>\n<li>app:counterEnabled<\/li>\n<li>app:counterMaxLength<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0442\u043e\u0436\u0435 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435, \u043d\u043e \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435. \u0421 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0431\u0438\u0437\u043d\u0435\u0441\u0430, \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0438\u043c\u0435\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0438 \u0442\u0443\u0442 Google \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0438\u0441\u044c \u043d\u0435\u043f\u043b\u043e\u0445\u043e.<\/p>\n<p>  <\/p>\n<h4 id=\"materialcardview\">MaterialCardView<\/h4>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/oa\/i2\/6a\/oai26a-nrkzrv3yopyhj9h8xmpe.png\">  <\/p>\n<p>  <a href=\"https:\/\/material.io\/design\/components\/cards.html\">MaterialCardView<\/a> \u2013 \u044d\u0442\u043e \u0432\u0441\u0435 \u0441\u0442\u0430\u0440\u0430\u044f CardView, \u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0441 \u043e\u0431\u0432\u043e\u0434\u043a\u043e\u0439 \u043f\u043e \u043a\u043e\u043d\u0442\u0443\u0440\u0443, \u043a\u0430\u043a \u0443 \u043a\u043d\u043e\u043f\u043e\u043a.<\/p>\n<p>  <\/p>\n<ul>\n<li>app:strokeColor<\/li>\n<li>app:strokeWidth<\/li>\n<\/ul>\n<p>  <\/p>\n<h3 id=\"itogo\">\u0418\u0442\u043e\u0433\u043e<\/h3>\n<p>  <\/p>\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043d\u0435 \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e. \u041d\u043e\u0432\u044b\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u044b \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0443\u0442\u043e\u0447\u043a\u0443 \u043f\u0440\u043e\u0449\u0435 \u0442\u043e, \u0447\u0442\u043e \u043c\u044b \u0432\u0441\u0435 \u0434\u0435\u043b\u0430\u043b\u0438 \u0438 \u0440\u0430\u043d\u044c\u0448\u0435. \u0417\u0430\u0442\u043e \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u0441 Support library. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0435\u0437\u0436\u0430\u0442\u044c \u043d\u0430 Android X, \u0447\u0442\u043e \u043e\u0442\u043d\u0438\u043c\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438 \u043d\u0435\u0440\u0432\u043e\u0432. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e, \u0435\u0441\u043b\u0438 \u0443\u0447\u0435\u0441\u0442\u044c, \u043a\u0430\u043a\u0430\u044f \u043a\u043e\u0434\u043e\u0432\u0430\u044f \u0431\u0430\u0437\u0430 \u0441\u0435\u0439\u0447\u0430\u0441 support-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430. \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e Google \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0435\u0440\u0435\u0435\u0437\u0434\u0430 \u0441 \u0437\u0430\u043c\u0435\u043d\u043e\u0439 \u0432\u0441\u0435\u0445 \u0438\u043c\u043f\u043e\u0440\u0442\u043e\u0432, \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u043d \u043d\u0435 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e. \u041f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u0435\u0437\u0434\u044b \u043d\u0430 \u0441\u0432\u043e\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u0432\u0441\u0435-\u0442\u0430\u043a\u0438 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0436\u0438\u0442\u044c \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u044f\u043c\u0438.<br \/>  \u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0435 \u0432\u0441\u0435 \u0437\u0430\u044f\u0432\u043b\u0435\u043d\u043d\u044b\u0435 Material-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e, \u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0441\u043e\u0432\u0441\u0435\u043c. \u0411\u0443\u0434\u0435\u043c \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c.<\/p>\n<\/div>\n<p>        <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d()}}}t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>     <br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/post\/419545\/\"> https:\/\/habr.com\/post\/419545\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/company\/mobileup\/blog\/419545\/\" class=\"post__text post__text-html js-mediator-article\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/mu\/o2\/mh\/muo2mhc1wieii1oqraz_qgdd7pk.png\">  <\/p>\n<p>  \u0412 \u043c\u0430\u0435 \u043d\u0430 Google I\/O \u043c\u044b \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u0443\u0432\u0438\u0434\u0435\u043b\u0438 Material Design 2.0. \u041a\u043e\u043c\u0430\u043d\u0434\u0430 Google \u043f\u0440\u043e\u0432\u0435\u043b\u0430 \u043a\u0440\u0443\u043f\u043d\u044b\u0439 \u0440\u0435\u0444\u0430\u043a\u0442\u043e\u0440\u0438\u043d\u0433 \u0438 \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0434\u0438\u0437\u0430\u0439\u043d\u0430. \u0412 \u043d\u0435\u0439 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u043d\u043e\u0432\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0438 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438. \u041c\u044b \u0441\u043b\u0435\u0434\u0438\u043c \u0437\u0430 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435\u043c Material Components \u0441 \u0441\u0430\u043c\u043e\u0433\u043e \u043d\u0430\u0447\u0430\u043b\u0430. \u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u0441\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0442\u0430\u0434\u0438\u0438 RC1, \u0438 \u0443\u0436\u0435 \u0441\u043a\u043e\u0440\u043e \u0432\u044b\u0439\u0434\u0435\u0442 \u0432 \u0440\u0435\u043b\u0438\u0437. \u041f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c \u043e\u0431\u0437\u043e\u0440 \u043d\u043e\u0432\u044b\u0445 \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 UI-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0435\u0449\u0435 \u043d\u0435 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0438\u0445 \u0432 \u0440\u0430\u0431\u043e\u0442\u0435, \u043d\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442\u0441\u044f.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-288608","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/288608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=288608"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/288608\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=288608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=288608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=288608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}