{"id":292631,"date":"2019-07-26T21:00:15","date_gmt":"2019-07-26T21:00:15","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=292631"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=292631","title":{"rendered":"\u041f\u0438\u0448\u0435\u043c Android \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043a\u0438\u043d\u043e\u043c\u0430\u043d\u043e\u0432 \u2014 \u0427\u0430\u0441\u0442\u044c 2 (\u0414\u0438\u0437\u0430\u0439\u043d)"},"content":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/z3\/lk\/qk\/z3lkqkingdtxbafgzlxy6bs_wj8.png\"><\/p>\n<p>  \u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440!<\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u044d\u043a\u0440\u0430\u043d\u043e\u0432, \u043e\u043f\u0438\u0440\u0430\u044f\u0441\u044c \u043d\u0430 \u043c\u0430\u043a\u0435\u0442\u044b \u0438\u0437 <a href=\"https:\/\/habr.com\/ru\/post\/461059\/\">\u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438<\/a>. <br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>\u0412\u0435\u0440\u0441\u0442\u043a\u0430 \u044d\u043a\u0440\u0430\u043d\u043e\u0432<\/h2>\n<p>  <\/p>\n<h3>\u0413\u043b\u0430\u0432\u043d\u044b\u0439 \u044d\u043a\u0440\u0430\u043d<\/h3>\n<p>  \u041d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u043c \u044d\u043a\u0440\u0430\u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0442\u044c\u0441\u044f \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u044b \u0438 \u043c\u0435\u043d\u044e \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438. \u041d\u0430\u043f\u0438\u0448\u0435\u043c \u043c\u0435\u043d\u044e, \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432 \u0438\u043a\u043e\u043d\u043a\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043e\u0442\u043a\u0440\u043e\u0435\u043c \u043f\u0430\u043f\u043a\u0443 <b>drawable<\/b>, \u043d\u0430\u0436\u043c\u0435\u043c <b>New <\/b>\u0438 \u0432\u044b\u0431\u0435\u0440\u0435\u043c <b>Vector Assets<\/b>. \u0412 \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0435\u043c\u0441\u044f \u043e\u043a\u043d\u0435 \u043d\u0430\u0436\u043c\u0435\u043c \u043d\u0430 <b>Clip Art <\/b>\u0438 \u0432\u044b\u0431\u0435\u0440\u0435\u043c \u0438\u043a\u043e\u043d\u043a\u0438 <i>Settings<\/i>, <i>Search <\/i>\u0438 <i>\u0421ontent paste<\/i>. \u0420\u0430\u0437\u043c\u0435\u0440 \u043e\u0441\u0442\u0430\u0432\u0438\u043c 24 \u043d\u0430 24.<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0435 <b>values <\/b>\u0444\u0430\u0439\u043b <b>strings<\/b> \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0438:<\/p>\n<pre><code class=\"xml\">&lt;resources&gt;       &lt;string name=\"title_home\"&gt;Home&lt;\/string&gt;     &lt;string name=\"title_search\"&gt;Search&lt;\/string&gt;     &lt;string name=\"title_settings\"&gt;Settings&lt;\/string&gt; &lt;\/resources&gt;   <\/code><\/pre>\n<p>  \u0412\u044b\u043d\u0435\u0441\u0435\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0441\u0442\u0440\u043e\u043a \u0432 \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0443\u044e \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<br \/>  \u0415\u0441\u043b\u0438 \u0412\u044b \u0437\u0430\u0445\u043e\u0442\u0438\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439 \u044f\u0437\u044b\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0440\u0443\u0441\u0441\u043a\u0438\u0439, \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0444\u0430\u0439\u043b \u0441 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u043c <i>Locale<\/i>, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 <i>Language <\/i>\u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u0439 \u044f\u0437\u044b\u043a \u0438 \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u044d\u0442\u0438 \u0436\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0438, \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u044f \u0438\u0445.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u043c\u0435\u043d\u044e. \u0412 \u043f\u0430\u043f\u043a\u0435 <b>menu <\/b>\u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c <b>Menu resourse file<\/b>, \u043d\u0430\u0437\u043e\u0432\u0435\u043c \u0435\u0433\u043e &#171;<i>bottom_nav_menu<\/i>&#187; \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043d\u0435\u0433\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt; &lt;menu xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"&gt;      &lt;item             android:id=\"@+id\/navigation_home\"             android:icon=\"@drawable\/ic_content_paste_black_24dp\"             android:title=\"@string\/title_home\"\/&gt;      &lt;item             android:id=\"@+id\/navigation_search\"             android:icon=\"@drawable\/ic_search_black_24dp\"             android:title=\"@string\/title_search\"\/&gt;      &lt;item             android:id=\"@+id\/navigation_settings\"             android:icon=\"@drawable\/ic_settings_black_24dp\"             android:title=\"@string\/title_settings\"\/&gt;  &lt;\/menu&gt;<\/code><\/pre>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0435 <b>values<\/b> \u0444\u0430\u0439\u043b <b>styles<\/b> \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434:<\/p>\n<pre><code class=\"xml\">&lt;resources&gt;         &lt;style name=\"MyLinearLayout\"&gt;         &lt;item name=\"android:layout_width\"&gt;match_parent&lt;\/item&gt;         &lt;item name=\"android:layout_height\"&gt;match_parent&lt;\/item&gt;         &lt;item name=\"android:orientation\"&gt;vertical&lt;\/item&gt;     &lt;\/style&gt; &lt;\/resources&gt; <\/code><\/pre>\n<p>  \u0421\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0442\u0438\u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0438 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0441\u0442\u0438\u043b\u0435\u0439. \u041e\u043d\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0435 \u0437\u0430 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 \u0438 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0441\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0432 \u0444\u0430\u0439\u043b\u0435 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438, \u0430 \u043f\u043e\u0442\u043e\u043c \u0432\u044b\u043d\u0435\u0441\u0442\u0438 \u0438\u0445 \u0432 \u0444\u0430\u0439\u043b styles \u043d\u0430\u0436\u0430\u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044e: \u041f\u041a\u041c -&gt; <b>Refactor<\/b>-&gt;<b>Extract<\/b>-&gt;<b>Style<\/b>. Style \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e\u0431 \u044d\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"https:\/\/code.tutsplus.com\/ru\/tutorials\/android-from-scratch-creating-styles-and-themes--cms-26942\">\u0437\u0434\u0435\u0441\u044c<\/a>. <\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e layout \u0434\u043b\u044f Activity. \u0412 \u043f\u0430\u043f\u043a\u0435 <b>layout <\/b>\u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c <b>Layout resourse file<\/b>, \u043d\u0430\u0437\u043e\u0432\u0435\u043c \u0435\u0433\u043e &#171;<i>activity_main<\/i>&#187; \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt; &lt;LinearLayout         xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"         xmlns:app=\"http:\/\/schemas.android.com\/apk\/res-auto\"         xmlns:tools=\"http:\/\/schemas.android.com\/tools\"         tools:context=\".MainActivity\" style=\"@style\/MyLinearLayout\"&gt;     &lt;FrameLayout             android:layout_width=\"match_parent\"             android:layout_height=\"match_parent\"              android:layout_weight=\"1\"              android:id=\"@+id\/fragment_container\"     \/&gt;     &lt;android.support.design.widget.BottomNavigationView             android:layout_width=\"match_parent\"             android:layout_height=\"wrap_content\"              android:id=\"@+id\/nav_view\"              app:menu=\"@menu\/bottom_nav_menu\"             android:background=\"#6986c2\"     \/&gt; &lt;\/LinearLayout&gt;<\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/st\/uf\/3l\/stuf3lwe9vel5bdfgqfn9tv1kc0.png\" width=\"300\"><\/p>\n<h3>\u042d\u043a\u0440\u0430\u043d \u0434\u043b\u044f \u0432\u043a\u043b\u0430\u0434\u043a\u0438 Home<\/h3>\n<p>  \u041e\u0442\u043a\u0440\u043e\u0435\u043c \u0444\u0430\u0439\u043b <b>styles<\/b> \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u0442\u0438\u043b\u0438 \u0434\u043b\u044f Toolbar \u0441 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u043c TextView \u0438 RecyclerView:<\/p>\n<pre><code class=\"xml\">    &lt;style name=\"MyToolbar\"&gt;         &lt;item name=\"android:layout_width\"&gt;match_parent&lt;\/item&gt;         &lt;item name=\"android:layout_height\"&gt;wrap_content&lt;\/item&gt;         &lt;item name=\"android:background\"&gt;#6986c2&lt;\/item&gt;     &lt;\/style&gt;      &lt;style name=\"Toolbar_TextView\"&gt;         &lt;item name=\"android:layout_width\"&gt;match_parent&lt;\/item&gt;         &lt;item name=\"android:layout_height\"&gt;match_parent&lt;\/item&gt;         &lt;item name=\"android:gravity\"&gt;center&lt;\/item&gt;     &lt;\/style&gt;      &lt;style name=\"MyRecyclerView\"&gt;         &lt;item name=\"android:layout_width\"&gt;match_parent&lt;\/item&gt;         &lt;item name=\"android:layout_height\"&gt;match_parent&lt;\/item&gt;         &lt;item name=\"android:background\"&gt;#fff&lt;\/item&gt;     &lt;\/style&gt; <\/code><\/pre>\n<p>  \u0412 \u0444\u0430\u0439\u043b <b>strings<\/b> \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0438: <\/p>\n<pre><code class=\"xml\">    &lt;string name=\"desc_home\"&gt;Notification list&lt;\/string&gt;     &lt;string name=\"movie_title\"&gt;Movie title&lt;\/string&gt;     &lt;string name=\"default_imdb_rating\"&gt;IMDb rating: 7,4&lt;\/string&gt; <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c <b>layout<\/b> \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c &#171;<i>fragment_home<\/i>&#187; \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043d\u0435\u0433\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434: <\/p>\n<pre><code class=\"xml\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt; &lt;LinearLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"               style=\"@style\/MyLinearLayout\"&gt;      &lt;android.support.v7.widget.Toolbar             android:id=\"@+id\/toolbar_home\" style=\"@style\/MyToolbar\"&gt;         &lt;TextView                 android:text=\"@string\/desc_home\" style=\"@style\/Toolbar_TextView\"\/&gt;     &lt;\/android.support.v7.widget.Toolbar&gt;      &lt;android.support.v7.widget.RecyclerView             android:id=\"@+id\/recView_home\" style=\"@style\/MyRecyclerView\"\/&gt; &lt;\/LinearLayout&gt;<\/code><\/pre>\n<p>  \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043f\u0430\u043f\u043a\u0443 <b>drawable<\/b> \u0438\u043a\u043e\u043d\u043a\u0438 <i>Notification<\/i> \u0438 <i>Notification none<\/i>.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0441\u043f\u0438\u0441\u043a\u0430. \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0444\u0430\u0439\u043b &#171;<i>item_movie<\/i>&#187; \u0432 \u043f\u0430\u043f\u043a\u0443 <b>layout<\/b> \u0438 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u0432 \u043d\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt; &lt;FrameLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"              xmlns:app=\"http:\/\/schemas.android.com\/apk\/res-auto\" xmlns:tools=\"http:\/\/schemas.android.com\/tools\"              android:layout_width=\"match_parent\"              android:layout_height=\"wrap_content\"              android:orientation=\"vertical\" &gt;      &lt;android.support.v7.widget.CardView             android:layout_width=\"match_parent\"             android:layout_height=\"120dp\"             app:cardCornerRadius=\"16dp\"             android:layout_marginLeft=\"16dp\"             android:layout_marginTop=\"8dp\"             android:layout_marginRight=\"16dp\"             android:layout_marginBottom=\"8dp\"             app:cardBackgroundColor=\"#00FFFFFF\"&gt;                  &lt;ImageView                 android:layout_width=\"98dp\"                 android:layout_height=\"98dp\"                 app:srcCompat=\"@mipmap\/ic_launcher\"                 android:id=\"@+id\/item_image\"                 android:layout_gravity=\"center|start\"                 android:layout_marginLeft=\"10dp\"\/&gt;                  &lt;TextView                 android:text=\"@string\/movie_title\"                 android:layout_width=\"wrap_content\"                 android:layout_height=\"wrap_content\"                 android:id=\"@+id\/item_title\"                 android:layout_marginTop=\"18dp\"                 android:layout_marginLeft=\"120dp\"                 android:textStyle=\"bold\"                 android:textColor=\"@android:color\/black\"                 android:ellipsize=\"end\"                 android:maxLines=\"1\"                 android:layout_marginRight=\"16dp\"\/&gt;                  &lt;TextView                 android:text=\"@string\/default_imdb_rating\"                 android:layout_width=\"wrap_content\"                 android:layout_height=\"wrap_content\"                 android:id=\"@+id\/item_rating\"                 android:layout_marginLeft=\"120dp\"                 android:layout_marginTop=\"50dp\"\/&gt;                  &lt;ImageView                 android:layout_width=\"wrap_content\"                 android:layout_height=\"wrap_content\"                 app:srcCompat=\"@drawable\/ic_notifications_black_24dp\"                 android:id=\"@+id\/item_notification\"                  android:layout_gravity=\"bottom|right\"                  android:layout_marginRight=\"16dp\"                 android:layout_marginBottom=\"16dp\"                  tools:ignore=\"VectorDrawableCompat\"\/&gt;              &lt;\/android.support.v7.widget.CardView&gt; &lt;\/FrameLayout&gt;<\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/i5\/iz\/3m\/i5iz3mnq4isaij4vhqzzo0wdxsu.png\" width=\"300\"><\/p>\n<h3>\u042d\u043a\u0440\u0430\u043d \u0434\u043b\u044f \u0432\u043a\u043b\u0430\u0434\u043a\u0438 Search<\/h3>\n<p>  \u0412 \u0444\u0430\u0439\u043b <b>strings<\/b> \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0434\u043b\u044f Toolbar: <\/p>\n<pre><code class=\"xml\">&lt;string name=\"desc_settings\"&gt;Preferences&lt;\/string&gt;<\/code><\/pre>\n<p>  \u0418 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c <b>layout<\/b> \u0441 \u0438\u043c\u0435\u043d\u0435\u043c &#171;<i>fragment_search<\/i>&#171;, \u043f\u043e\u043f\u0443\u0442\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0431\u043b\u043e\u043a \u043a\u043e\u0434\u0430:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt; &lt;LinearLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"               style=\"@style\/MyLinearLayout\"&gt;      &lt;android.support.v7.widget.Toolbar             android:id=\"@+id\/toolbar_search\"              style=\"@style\/MyToolbar\"&gt;          &lt;android.support.v7.widget.SearchView                 android:layout_width=\"match_parent\"                 android:layout_height=\"match_parent\"                 android:background=\"@drawable\/border_search_view\"                  android:layout_marginRight=\"15dp\"                 android:id=\"@+id\/search_view\"\/&gt;     &lt;\/android.support.v7.widget.Toolbar&gt;      &lt;android.support.v7.widget.RecyclerView             android:id=\"@+id\/recView_search\"              style=\"@style\/MyRecyclerView\"\/&gt; &lt;\/LinearLayout&gt;<\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/rr\/ng\/qw\/rrngqw7s7ifmdhwk7wyzebpxf0s.png\" width=\"300\"><\/p>\n<h3>\u042d\u043a\u0440\u0430\u043d \u0434\u043b\u044f \u0432\u043a\u043b\u0430\u0434\u043a\u0438 Settings<\/h3>\n<p>  \u042d\u0442\u043e\u0442 \u044d\u043a\u0440\u0430\u043d \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0441\u0430\u043c\u044b\u043c \u043e\u0431\u044a\u0435\u043c\u043d\u044b\u043c, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432 \u043d\u0435\u043c \u043c\u0430\u043b\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u044e\u0449\u0438\u0445\u0441\u044f \u0441\u0442\u0438\u043b\u0435\u0439.<\/p>\n<p>  \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u0444\u0430\u0439\u043b <b>styles<\/b> \u043a\u043e\u0434 \u0434\u043b\u044f TextView \u0438 CardView:<\/p>\n<pre><code class=\"xml\">    &lt;style name=\"MyTextView\"&gt;         &lt;item name=\"android:layout_width\"&gt;wrap_content&lt;\/item&gt;         &lt;item name=\"android:layout_height\"&gt;wrap_content&lt;\/item&gt;         &lt;item name=\"android:textStyle\"&gt;bold&lt;\/item&gt;         &lt;item name=\"android:textColor\"&gt;@android:color\/black&lt;\/item&gt;         &lt;item name=\"android:layout_marginLeft\"&gt;16dp&lt;\/item&gt;         &lt;item name=\"android:layout_marginTop\"&gt;8dp&lt;\/item&gt;         &lt;item name=\"android:layout_marginBottom\"&gt;8dp&lt;\/item&gt;         &lt;item name=\"android:typeface\"&gt;normal&lt;\/item&gt;     &lt;\/style&gt;      &lt;style name=\"MyCardView\"&gt;         &lt;item name=\"android:layout_width\"&gt;match_parent&lt;\/item&gt;         &lt;item name=\"android:layout_height\"&gt;wrap_content&lt;\/item&gt;         &lt;item name=\"android:layout_margin\"&gt;16dp&lt;\/item&gt;     &lt;\/style&gt;<\/code><\/pre>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u0444\u0430\u0439\u043b <b>strings<\/b> \u0435\u0449\u0435 \u043f\u0430\u0440\u0443 \u0441\u0442\u0440\u043e\u0447\u0435\u043a:<\/p>\n<pre><code class=\"xml\">         &lt;string name=\"imdb_rating\"&gt;IMDb rating&lt;\/string&gt;     &lt;string name=\"default_rating\"&gt;6&lt;\/string&gt;     &lt;string name=\"movie_genres\"&gt;Movie genres&lt;\/string&gt; <\/code><\/pre>\n<p>  \u0415\u0449\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043f\u0430\u043f\u043a\u0443 <b>drawable<\/b> \u0438\u043a\u043e\u043d\u043a\u0443 <i>Star border<\/i>.<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c <b>layout<\/b> \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u00abfragment_settings\u00bb \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt; &lt;LinearLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"               xmlns:app=\"http:\/\/schemas.android.com\/apk\/res-auto\"               xmlns:tools=\"http:\/\/schemas.android.com\/tools\"               style=\"@style\/MyLinearLayout\"               android:background=\"#fff\"&gt;      &lt;android.support.v7.widget.Toolbar             style=\"@style\/MyToolbar\"             android:id=\"@+id\/toolbar_home\"             app:title=\"@string\/desc_home\"&gt;                  &lt;TextView                 android:text=\"@string\/desc_settings\"                 style=\"@style\/Toolbar_TextView\"\/&gt;              &lt;\/android.support.v7.widget.Toolbar&gt;      &lt;android.support.v7.widget.CardView             app:cardCornerRadius=\"16dp\"             app:cardBackgroundColor=\"#00FFFFFF\"             style=\"@style\/MyCardView\"&gt;                  &lt;ImageView                 android:layout_width=\"wrap_content\"                 android:layout_height=\"wrap_content\"                 app:srcCompat=\"@drawable\/ic_star_border_black_24dp\"                 android:layout_gravity=\"right\"                 android:layout_marginRight=\"50dp\"                 android:layout_marginTop=\"8dp\"                 tools:ignore=\"VectorDrawableCompat\"\/&gt;                  &lt;TextView                 android:text=\"@string\/default_rating\"                 android:layout_width=\"wrap_content\"                 android:layout_height=\"wrap_content\"                 android:id=\"@+id\/rating_value\"                 android:layout_gravity=\"right\"                 android:layout_marginRight=\"40dp\"                 android:layout_marginTop=\"8dp\"                 android:textColor=\"#666666\"\/&gt;                  &lt;TextView                 android:text=\"@string\/imdb_rating\"                 android:id=\"@+id\/textView\"                 style=\"@style\/MyTextView\"\/&gt;                  &lt;SeekBar                 style=\"@style\/Widget.AppCompat.SeekBar.Discrete\"                 android:layout_width=\"match_parent\"                 android:layout_height=\"wrap_content\"                 android:max=\"10\"                 android:progress=\"6\"                 android:id=\"@+id\/seek_bar\"                 android:layout_marginLeft=\"16dp\"                 android:layout_marginTop=\"50dp\"                 android:layout_marginBottom=\"20dp\"                 android:layout_marginRight=\"16dp\"\/&gt;     &lt;\/android.support.v7.widget.CardView&gt;          &lt;android.support.v7.widget.CardView             app:cardCornerRadius=\"16dp\"             app:cardBackgroundColor=\"#00FFFFFF\"             style=\"@style\/MyCardView\"&gt;                  &lt;TextView                 android:text=\"@string\/movie_genres\"                 style=\"@style\/MyTextView\"\/&gt;                  &lt;android.support.v7.widget.RecyclerView                 android:layout_width=\"match_parent\"                 android:layout_height=\"match_parent\"                 android:background=\"#00FFFFFF\"                 android:layout_marginLeft=\"16dp\"                 android:layout_marginTop=\"36dp\"                 android:layout_marginBottom=\"16dp\"                 android:layout_marginRight=\"16dp\"                 android:id=\"@+id\/recView_settings\"\/&gt;     &lt;\/android.support.v7.widget.CardView&gt; &lt;\/LinearLayout&gt;<\/code><\/pre>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0441\u043f\u0438\u0441\u043a\u0430. \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0444\u0430\u0439\u043b &#171;<i>item_genre<\/i>&#187; \u0432 \u043f\u0430\u043f\u043a\u0443 <b>layout<\/b> \u0438 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt; &lt;FrameLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"              android:layout_width=\"match_parent\" android:layout_height=\"wrap_content\"&gt;     &lt;CheckBox             android:text=\"@string\/movie_genres\"             android:layout_width=\"match_parent\"             android:layout_height=\"wrap_content\"              android:id=\"@+id\/item_check_box\"\/&gt; &lt;\/FrameLayout&gt;<\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/vb\/co\/vt\/vbcovt0a_2o7w7asxqilzj7_myo.png\" width=\"300\"><\/p>\n<h2>\u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u0438\u0437\u0430\u0439\u043d\u0430<\/h2>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0430\u043a \u0447\u0430\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u0443\u0447\u0430\u0441\u0442\u043e\u043a \u044d\u043a\u0440\u0430\u043d\u0430, \u0442\u043e \u0435\u0441\u0442\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043b\u0438\u0448\u043d\u044f\u044f \u0440\u0430\u0431\u043e\u0442\u0430. <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<th>\u0425\u043e\u0440\u043e\u0448\u043e<\/th>\n<th>\u041f\u043b\u043e\u0445\u043e<\/th>\n<\/tr>\n<tr>\n<td>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/qq\/7v\/td\/qq7vtdp4quh_qfnkjhq1-6zh9bq.png\" width=\"400\"><\/div>\n<p>  <\/td>\n<td>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/d1\/om\/pf\/d1ompfx_rlshhssae7uxo0l5qge.png\" width=\"400\"><\/div>\n<p>  <\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  \u0426\u0432\u0435\u0442 \u0433\u043e\u043b\u0443\u0431\u043e\u0439 \u2014 \u043f\u0435\u0440\u0435\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0435\u0442\u0441\u044f <b>\u043e\u0434\u0438\u043d<\/b> \u0440\u0430\u0437. \u0425\u043e\u0440\u043e\u0448\u043e.<br \/>  \u0426\u0432\u0435\u0442 \u0437\u0435\u043b\u0435\u043d\u044b\u0439 \u2014 \u043f\u0435\u0440\u0435\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0435\u0442\u0441\u044f <b>\u0434\u0432\u0430<\/b> \u0440\u0430\u0437\u0430. \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f.<br \/>  \u0426\u0432\u0435\u0442 \u0441\u0432\u0435\u0442\u043b\u043e-\u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u2014 \u043f\u0435\u0440\u0435\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0435\u0442\u0441\u044f <b>\u0442\u0440\u0438<\/b> \u0440\u0430\u0437. \u041e\u0447\u0435\u043d\u044c \u043f\u043b\u043e\u0445\u043e.<br \/>  \u0426\u0432\u0435\u0442 \u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u2014 \u043f\u0435\u0440\u0435\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435 <b>4<\/b> \u0440\u0430\u0437. \u0427\u0442\u043e-\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a.<br \/>  \u0410 \u0435\u0441\u043b\u0438 \u043d\u0438\u0447\u0435\u043c \u043d\u0435 \u0437\u0430\u043a\u0440\u0430\u0448\u0435\u043d\u043e, \u0437\u043d\u0430\u0447\u0438\u0442 \u0443\u0447\u0430\u0441\u0442\u043e\u043a \u043d\u0435 \u043f\u0435\u0440\u0435\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0435\u0442\u0441\u044f. \u041e\u0442\u043b\u0438\u0447\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430.<\/p>\n<p>  \u041f\u043e\u0447\u0435\u043c\u0443 \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435 \u0432\u0441\u0435 \u043a\u0440\u0430\u0441\u043d\u043e\u0435? \u041a \u043a\u0430\u0436\u0434\u043e\u043c\u0443 Layout, RecyclerView \u0438 CardView \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0431\u0435\u043b\u044b\u0439 \u0444\u043e\u043d, \u0438\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e \u043d\u0430\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u043b\u043e\u0435\u0432 \u0434\u0440\u0443\u0433 \u043d\u0430 \u0434\u0440\u0443\u0433\u0430. \u0412 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u043c \u0432\u044b\u0448\u0435 \u0434\u0438\u0437\u0430\u0439\u043d\u0435 \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u0442, \u043f\u0440\u0438\u043c\u0435\u0440 \u043b\u0438\u0448\u044c \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442 \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u043e\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438.<\/p>\n<p>  \u041d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0444\u043e\u043d \u043d\u0430 LinearLayout \u0434\u043b\u044f \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430 Home, \u043f\u0435\u0440\u0435\u0440\u0438\u0441\u043e\u0432\u043a\u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043e\u0442\u043c\u0435\u043d\u0438\u043b\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043c\u0435\u0442\u043e\u0434:<\/p>\n<pre><code class=\"kotlin\">window.setBackgroundDrawable(null)<\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0430 \u043a\u0430\u0434\u0440\u043e\u0432.<\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<th>\u0414\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0441\u043b\u0443\u0447\u0430\u044f<\/th>\n<th>\u0414\u043b\u044f \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0441\u043b\u0443\u0447\u0430\u044f<\/th>\n<\/tr>\n<tr>\n<td>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/_t\/bo\/ce\/_tboceiumfjhpsqb8zsbpghl2i8.png\" width=\"400\"><\/div>\n<p>  <\/td>\n<td>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/mr\/bz\/1g\/mrbz1ggtytyyloa7tpvlau9e6ks.png\" width=\"400\"><\/div>\n<p>  <\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  \u0413\u043e\u043b\u0443\u0431\u043e\u0439 \u0446\u0432\u0435\u0442 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0432\u0440\u0435\u043c\u044f, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0435 \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 View.<br \/>  \u0424\u0438\u043e\u043b\u0435\u0442\u043e\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0432\u0440\u0435\u043c\u044f, \u0437\u0430\u0442\u0440\u0430\u0447\u0435\u043d\u043d\u043e\u0435 \u043d\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u0430 \u043f\u043e\u0442\u043e\u043a\u0430.<br \/>  \u041a\u0440\u0430\u0441\u043d\u044b\u0439 \u0446\u0432\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0438.<br \/>  \u041e\u0440\u0430\u043d\u0436\u0435\u0432\u044b\u0439 \u0446\u0432\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0443 \u0434\u043b\u044f \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f, \u043a\u043e\u0433\u0434\u0430 GPU \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442 \u0441\u0432\u043e\u044e \u0440\u0430\u0431\u043e\u0442\u0443. \u041e\u043d \u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043f\u0440\u0438 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0430\u0445.<\/p>\n<p>  \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u0435 \u0432\u043a\u043b\u0430\u0434\u043a\u0438 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0437\u0430 \u0432\u0440\u0435\u043c\u044f \u043c\u0435\u043d\u044c\u0448\u0435 16\u043c\u0441, \u0442\u043e \u0435\u0441\u0442\u044c \u043d\u0438\u0436\u0435 \u0437\u0435\u043b\u0435\u043d\u043e\u0439 \u043f\u043e\u043b\u043e\u0441\u044b. \u0415\u0441\u043b\u0438 \u0441\u0442\u043e\u043b\u0431\u0438\u043a \u0431\u0443\u0434\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u044d\u0442\u043e\u0439 \u043b\u0438\u043d\u0438\u0438, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043c\u043e\u0436\u0435\u0442 \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u0442\u044c.<\/p>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u0442\u0430\u043a\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"http:\/\/developer.alexanderklimov.ru\/android\/debug\/gpu.php\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>  \u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c, \u0430 \u043f\u043e\u043a\u0430 \u0430\u0432\u0442\u043e\u0440 \u0435\u0435 \u043f\u0438\u0448\u0435\u0442, \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0434\u0438\u0437\u0430\u0439\u043d \u0432 \u043e\u043f\u0440\u043e\u0441\u0435 \u043d\u0438\u0436\u0435.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b, \u0437\u0430\u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0412\u044b \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0435, \u0447\u0442\u043e \u0434\u0438\u0437\u0430\u0439\u043d (XML) \u043c\u043e\u0436\u043d\u043e \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u0438\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043b\u0443\u0447\u0448\u0435, \u043f\u0440\u043e\u0441\u044c\u0431\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0431 \u044d\u0442\u043e\u043c.<\/p><\/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\/ru\/post\/461249\/\"> https:\/\/habr.com\/ru\/post\/461249\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/z3\/lk\/qk\/z3lkqkingdtxbafgzlxy6bs_wj8.png\"><\/p>\n<p>  \u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440!<\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u044d\u043a\u0440\u0430\u043d\u043e\u0432, \u043e\u043f\u0438\u0440\u0430\u044f\u0441\u044c \u043d\u0430 \u043c\u0430\u043a\u0435\u0442\u044b \u0438\u0437 <a href=\"https:\/\/habr.com\/ru\/post\/461059\/\">\u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438<\/a>.   <\/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-292631","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/292631","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=292631"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/292631\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=292631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=292631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=292631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}