{"id":276972,"date":"2016-03-25T16:52:02","date_gmt":"2016-03-25T13:52:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=276972"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=276972","title":{"rendered":"\u041a\u044e\u0432\u0435\u0442\u044b Android, \u0427\u0430\u0441\u0442\u044c 1: SDK"},"content":{"rendered":"<p>       \u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u0433\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u044f \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u043c\u043e\u0433 \u043f\u043e\u043d\u044f\u0442\u044c, \u0432 \u0447\u0451\u043c \u0436\u0435 \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 \u00ab\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439\u00bb \u0438 \u00ab\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c\u00bb. \u041d\u0435\u0442-\u043d\u0435\u0442, \u044f \u0443\u043c\u0435\u043b \u0438 \u0447\u0438\u0442\u0430\u0442\u044c, \u0438 \u0433\u0443\u0433\u043b\u0438\u0442\u044c, \u043d\u043e \u0434\u043e \u043c\u0435\u043d\u044f \u0432\u0441\u0451 \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u0434\u043e\u0445\u043e\u0434\u0438\u043b \u0441\u043c\u044b\u0441\u043b \u044d\u0442\u0438\u0445 \u043f\u043e\u043d\u044f\u0442\u0438\u0439. \u041d\u0430\u0447\u0430\u0432 \u0436\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u0430\u043d\u0434\u0440\u043e\u0438\u0434, \u044f \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u0437\u043d\u0430\u0447\u0430\u0442 \u0441\u043b\u043e\u0432\u0430 \u00ab\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442, \u043d\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u00bb.<br \/>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0435\u0440\u0438\u0438 \u0441\u0442\u0430\u0442\u044c\u0435\u0439 \u044f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u0445, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u0442\u043e\u043b\u043d\u0443\u043b\u0441\u044f \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043f\u043e\u0434 \u0430\u043d\u0434\u0440\u043e\u0438\u0434. \u041c\u043e\u0435\u0439 \u0446\u0435\u043b\u044c\u044e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0443\u0431\u0435\u0440-\u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u0430 \u043b\u0438\u0448\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043e \u0442\u043e\u043c, \u0441 \u043a\u0430\u043a\u0438\u043c\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c\u0438 \u043c\u043e\u0436\u0435\u0442 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u0442\u043e\u0442, \u043a\u0442\u043e \u043f\u043e\u0441\u044f\u0433\u043d\u0435\u0442 \u043d\u0430 <s>\u0441\u0432\u044f\u0442\u043e\u0439 \u0433\u0440\u0430\u0430\u043b\u044c<\/s> Android SDK. \u041d\u0435 \u0434\u0443\u043c\u0430\u044e, \u0447\u0442\u043e \u0441\u0443\u0440\u043e\u0432\u044b\u0435 \u0441\u0438\u043d\u044c\u043e\u0440\u044b \u043e\u0442\u043a\u0440\u043e\u044e\u0442 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u0410\u043c\u0435\u0440\u0438\u043a\u0443, \u043d\u043e \u043a\u0430\u043a \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0441\u044f: \u00ab\u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u0435 \u2014 \u043c\u0430\u0442\u044c \u0443\u0447\u0435\u043d\u0438\u044f\u00bb.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/907\/5f9\/f9f\/9075f9f9fefe6985f639b6ae3b6230c7.jpg\" alt=\"image\"\/><br \/>  <a name=\"habracut\"><\/a><\/p>\n<h4>1. <b>Dismiss <\/b> \u0434\u043b\u044f <b>DatePickerDialog<\/b> \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a <b>OnDateSetListener<\/b><\/h4>\n<p>  <\/p>\n<h5>\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f<\/h5>\n<p>  \u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0434\u043b\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0435\u0433\u043e. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0435\u0441\u043b\u0438 \u0432\u044b \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0435, \u0447\u0442\u043e SDK \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u0447\u0430\u0441\u044b. <br \/>  \u0412 \u0441\u0432\u043e\u0451 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u043e\u0432\u043e\u0437\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u0432 \u0447\u0451\u043c \u0434\u0435\u043b\u043e. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0443\u0441\u0443\u0433\u0443\u0431\u0438\u043b\u0430\u0441\u044c \u0442\u0435\u043c, \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0435 \u0431\u044b\u043b\u043e \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 (\u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u043d\u043e\u0432\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u043b\u043e\u0441\u044c). \u0412\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u043d\u043e\u0441\u0438\u043b\u0438\u0441\u044c \u0432 \u043e\u0431\u044a\u0435\u043a\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u043b\u0441\u044f \u0432 \u0411\u0414 \u0438 \u0441\u043f\u0443\u0441\u0442\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u043a\u0440\u0430\u043d\u043e\u0432 \u0447\u0438\u0442\u0430\u043b\u0441\u044f \u043e\u0431\u0440\u0430\u0442\u043d\u043e. <br \/>  \u041d\u0435\u0441\u043b\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c, \u043e\u0442\u043a\u0443\u0434\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0441\u044f \u0434\u0435\u0431\u0430\u0433 \u2014 \u0441 \u044d\u043a\u0440\u0430\u043d\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f (\u0442.\u043a. \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0434\u0430\u0442\u0430 <b>Date.now()<\/b> \u2014 \u044d\u0442\u043e \u0432\u043d\u0435\u0441\u043b\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043d\u0444\u0443\u0437), \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u043e \u0446\u0435\u043f\u043e\u0447\u043a\u0435.<\/p>\n<h5>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/h5>\n<p>  \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0432 <i>Lollipop<\/i> <a href=\"https:\/\/code.google.com\/p\/android\/issues\/detail?id=34833#c39\">\u0431\u0430\u0433 \u0431\u044b\u043b \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d<\/a>, \u043e\u0434\u043d\u0430\u043a\u043e <a href=\"http:\/\/developer.android.com\/intl\/ru\/about\/dashboards\/index.html#Platform\">\u043a\u043e\u0433\u043e<\/a> \u044d\u0442\u043e \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442? \u0412 <a href=\"https:\/\/code.google.com\/p\/android\/issues\/detail?id=34833#c41\">AppCompat \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0433\u0443\u0433\u043b \u0444\u0438\u043a\u0441 \u043d\u0435 \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442<\/a>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0443\u0436\u0435\u043d \u043e\u0431\u0445\u043e\u0434\u043d\u043e\u0439 \u043f\u0443\u0442\u044c. <a href=\"https:\/\/gist.github.com\/davidcesarino\/ff7c1336e9daedd15e7f\">\u0418 \u043e\u043d \u0435\u0441\u0442\u044c<\/a> \u2014 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0432\u0435\u0441\u044c \u0444\u0430\u0439\u043b \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u0438 \u043f\u043e\u043d\u0435\u0441\u043b\u0430\u0442\u044c. \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430 <a href=\"http:\/\/stackoverflow.com\/a\/11493752\/2653714\">stackoverflow<\/a>.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">DatePickerDialogFragment<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"java\">\/*  * Copyright 2012 David Cesarino de Sousa  *  * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);  * you may not use this file except in compliance with the License.  * You may obtain a copy of the License at  *  *      http:\/\/www.apache.org\/licenses\/LICENSE-2.0  *  * Unless required by applicable law or agreed to in writing, software  * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  * See the License for the specific language governing permissions and  * limitations under the License.  *\/ package net.davidcesarino.android.common.ui;  import android.annotation.TargetApi; import android.app.Activity; import android.app.DatePickerDialog; import android.app.DatePickerDialog.OnDateSetListener; import android.app.Dialog; import android.content.DialogInterface; import android.os.Build; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.widget.DatePicker;  \/**  * &lt;p&gt;Provides a usable {@link DatePickerDialog} wrapped as a {@link DialogFragment},  * using the compatibility package v4. Its main advantage is handling Issue 34833   * automatically for you.&lt;\/p&gt;  *   * &lt;p&gt;Current implementation (because I wanted that way =) ):&lt;\/p&gt;  *   * &lt;ul&gt;  * &lt;li&gt;Only two buttons, a {@code BUTTON_POSITIVE} and a {@code BUTTON_NEGATIVE}.  * &lt;li&gt;Buttons labeled from {@code android.R.string.ok} and {@code android.R.string.cancel}.  * &lt;\/ul&gt;  *   * &lt;p&gt;&lt;strong&gt;Usage sample:&lt;\/strong&gt;&lt;\/p&gt;  *   * &lt;pre&gt;class YourActivity extends Activity implements OnDateSetListener  *   * \/\/ ...  *   * Bundle b = new Bundle();  * b.putInt(DatePickerDialogFragment.YEAR, 2012);  * b.putInt(DatePickerDialogFragment.MONTH, 6);  * b.putInt(DatePickerDialogFragment.DATE, 17);  * DialogFragment picker = new DatePickerDialogFragment();  * picker.setArguments(b);  * picker.show(getActivity().getSupportFragmentManager(), &quot;fragment_date_picker&quot;);&lt;\/pre&gt;  *   * @author davidcesarino@gmail.com  * @version 2015.0904  * @see &lt;a href=&quot;http:\/\/code.google.com\/p\/android\/issues\/detail?id=34833&quot;&gt;Android Issue 34833&lt;\/a&gt;  * @see &lt;a href=&quot;http:\/\/stackoverflow.com\/q\/11444238\/489607&quot;  * &gt;Jelly Bean DatePickerDialog \u2014 is there a way to cancel?&lt;\/a&gt;  *  *\/ public class DatePickerDialogFragment extends DialogFragment {          public static final String YEAR = &quot;Year&quot;;     public static final String MONTH = &quot;Month&quot;;     public static final String DATE = &quot;Day&quot;;          private OnDateSetListener mListener;          @Override     public void onAttach(Activity activity) {         super.onAttach(activity);         this.mListener = (OnDateSetListener) activity;     }          @Override     public void onDetach() {         this.mListener = null;         super.onDetach();     }          @TargetApi(11)     @Override     public Dialog onCreateDialog(Bundle savedInstanceState) {         Bundle b = getArguments();         int y = b.getInt(YEAR);         int m = b.getInt(MONTH);         int d = b.getInt(DATE);                  \/\/ Jelly Bean introduced a bug in DatePickerDialog (and possibly          \/\/ TimePickerDialog as well), and one of the possible solutions is          \/\/ to postpone the creation of both the listener and the BUTTON_* .         \/\/          \/\/ Passing a null here won't harm because DatePickerDialog checks for a null         \/\/ whenever it reads the listener that was passed here. &gt;&gt;&gt; This seems to be          \/\/ true down to 1.5 \/ API 3, up to 4.1.1 \/ API 16. &lt;&lt;&lt; No worries. For now.         \/\/         \/\/ See my own question and answer, and details I included for the issue:         \/\/         \/\/ http:\/\/stackoverflow.com\/a\/11493752\/489607         \/\/ http:\/\/code.google.com\/p\/android\/issues\/detail?id=34833         \/\/         \/\/ Of course, suggestions welcome.                  final DatePickerDialog picker = new DatePickerDialog(getActivity(),                 getConstructorListener(), y, m, d);          if (isAffectedVersion()) {             picker.setButton(DialogInterface.BUTTON_POSITIVE,                     getActivity().getString(android.R.string.ok),                     new DialogInterface.OnClickListener() {                         @Override                         public void onClick(DialogInterface dialog, int which) {                             DatePicker dp = picker.getDatePicker();                             mListener.onDateSet(dp,                                     dp.getYear(), dp.getMonth(), dp.getDayOfMonth());                         }                     });             picker.setButton(DialogInterface.BUTTON_NEGATIVE,                     getActivity().getString(android.R.string.cancel),                     new DialogInterface.OnClickListener() {                         @Override                         public void onClick(DialogInterface dialog, int which) {}                     });         }         return picker;     }      private static boolean isAffectedVersion() {         return Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.JELLY_BEAN                 && Build.VERSION.SDK_INT &lt; Build.VERSION_CODES.LOLLIPOP;     }      private OnDateSetListener getConstructorListener() {         return isAffectedVersion() ? null : mListener;     } } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<h4>2. \u041a\u043d\u043e\u043f\u043a\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0434\u0432\u043e\u0439\u043d\u043e\u0439 \u043a\u043b\u0438\u043a \u043f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c<\/h4>\n<p>  <\/p>\n<h5>\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f<\/h5>\n<p>  \u0415\u0449\u0451 \u043e\u0434\u0438\u043d \u0441\u043b\u0443\u0447\u0430\u0439 \u0438\u0437 \u0440\u0430\u0437\u0440\u044f\u0434\u0430 \u00ab\u0434\u0430 \u043a\u0430\u043a \u0442\u0430\u043a \u0442\u043e!\u00bb. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0441\u0435\u0431\u0435 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e, \u043a\u043e\u0433\u0434\u0430 \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u043c \u043e\u043a\u043d\u0435 \u0432\u044b \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 <b>EditText<\/b>&#8216;\u0430\u0445, \u0430 \u0437\u0430\u0442\u0435\u043c \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u0442\u0435 OK. \u0427\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0439\u0442\u0438 \u043d\u0435 \u0442\u0430\u043a? \u041d\u0443 \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043a\u043d\u043e\u043f\u043a\u0430 OK \u043c\u043e\u0436\u0435\u0442 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0430\u0448\u0435 \u043d\u0430\u0436\u0430\u0442\u0438\u0435! \u041d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0435\u0440\u0432\u043e\u0435\u2026 \u0438 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430\u2026 <s>\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0432 \u043c\u0435\u0441\u044f\u0446&#8230;<\/s>. \u0418 \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 \u043e\u043f\u044f\u0442\u044c \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0434\u0435\u0431\u0430\u0433 \u0438 \u0434\u0435\u0431\u0430\u0433, \u0438 \u0434\u0435\u0431\u0430\u0433\u2026<\/p>\n<h5>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/h5>\n<p>  \u0410 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0434\u043e\u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0435. \u041d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u043e \u043c\u0430\u0433\u0438\u0438 <b>setFocusableInTouchMode()<\/b> \u0438 \u0447\u0442\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u044d\u0442\u043e \u0442\u0430\u043a\u043e\u0435. \u041c\u043d\u043e\u0433\u0438\u0435 \u0438\u0437 \u043d\u0430\u0441 \u043d\u0435 \u0443\u0434\u0435\u043b\u044f\u044e\u0442 \u0434\u043e\u043b\u0436\u043d\u043e\u0433\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443 <b>focusable<\/b>. \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043e\u043d\u043e \u0447\u0443\u0432\u0441\u0442\u0432\u0443\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u043e \u043f\u043e \u0441\u0435\u0431\u0435 \u0438 \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u0432\u043e\u0451\u043c \u0432\u0435\u0434\u0451\u0442 \u0441\u0435\u0431\u044f \u043a\u0430\u043a \u0441\u043b\u0435\u0434\u0443\u0435\u0442. \u0418 \u0432\u043e\u0442 \u0442\u0443\u0442 \u0442\u043e \u043d\u0430\u0441 \u0438 \u043b\u043e\u0432\u044f\u0442:  <\/p>\n<ul>\n<li>\u041a\u043e\u0433\u0434\u0430 \u044e\u0437\u0435\u0440 \u043a\u043b\u0438\u043a\u0430\u0435\u0442 \u043f\u043e \u043a\u043d\u043e\u043f\u043a\u0435, \u043e\u043d \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u0442 \u0444\u043e\u043a\u0443\u0441 \u043d\u0430 \u043d\u0435\u0451. <\/li>\n<li>\u041a\u043e\u0433\u0434\u0430 \u044e\u0437\u0435\u0440 \u043a\u043b\u0438\u043a\u0430\u0435\u0442 \u043f\u043e \u044d\u043a\u0440\u0430\u043d\u0443, \u043d\u043e \u043d\u0435 \u043f\u043e \u043a\u0430\u043a\u043e\u043c\u0443-\u043b\u0438\u0431\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u2014 \u0444\u043e\u043a\u0443\u0441 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u044d\u043a\u0440\u0430\u043d, \u0442\u043e \u0431\u0438\u0448\u044c \u0440\u0430\u0441\u0441\u0435\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u0442\u043e \u0431\u0438\u0448\u044c \u0444\u043e\u043a\u0443\u0441 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442 \u0432 \u0440\u0435\u0436\u0438\u043c Touch Mode \u0438\u043b\u0438 \u0432 \u0440\u0435\u0436\u0438\u043c \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u0444\u043e\u043a\u0443\u0441\u0430.<\/li>\n<\/ul>\n<p>  \u041f\u0440\u043e\u0441\u0442\u043e? \u041d\u0435 \u0442\u0443\u0442 \u0442\u043e \u0431\u044b\u043b\u043e, \u0432\u0441\u0435\u0433\u0434\u0430 \u0435\u0441\u0442\u044c \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f. \u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445, \u0444\u043e\u043a\u0443\u0441 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0438 \u0432 \u044d\u0442\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 (\u043a\u043e\u0442\u043e\u0440\u044b\u0439, \u043f\u043e\u0432\u0442\u043e\u0440\u044e\u0441\u044c, \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u00ab\u0440\u0435\u0436\u0438\u043c \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u0444\u043e\u043a\u0443\u0441\u0430\u00bb). \u0421\u0430\u043c\u044b\u0439 \u044f\u0440\u043a\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u2014 <b>EditText<\/b>. \u0422\u0430\u043a\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0438 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b, \u0438 <b>EditText<\/b>&#8216;\u0430. \u0418\u043d\u0430\u0447\u0435 \u0431\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043d\u0435 \u0432\u044b\u0448\u043b\u043e.<br \/>  \u0412 \u0438\u0442\u043e\u0433\u0435, \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <b>focusableInTouchMode=true<\/b> \u0434\u043b\u044f \u043a\u043d\u043e\u043f\u043a\u0438. \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u043e\u0441\u0442\u044b\u043c, \u043d\u043e \u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0437\u043d\u0430\u0435\u0448\u044c, \u0441 \u0447\u0435\u0433\u043e \u043d\u0430\u0447\u0430\u0442\u044c, \u0432\u0441\u0451 \u043e\u0431\u0440\u0435\u0442\u0430\u0435\u0442 \u0438\u043d\u044b\u0435 \u043a\u0440\u0430\u0441\u043a\u0438. \u0411\u043e\u043b\u0435\u0435 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430 <a href=\"http:\/\/android-developers.blogspot.ru\/2008\/12\/touch-mode.html\">android-developers.blogspot.ru<\/a>.<\/p>\n<h4>3. <b>Bundle.putParcelable()<\/b> \u2014 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/h4>\n<p>  <\/p>\n<h5>\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f<\/h5>\n<p>  \u0415\u0441\u0442\u044c \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u0435 \u043e\u043a\u043d\u043e, \u0435\u0441\u0442\u044c \u0430\u043a\u0442\u0438\u0432\u0438\u0442\u0438. \u0412\u044b, \u043a\u0430\u043a \u0431\u0440\u0430\u0432\u044b\u0439 \u0442\u043e\u0432\u0430\u0440\u0438\u0449, \u0440\u0435\u0448\u0430\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 <b>VeryComplexModel<\/b> \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u0435 \u043e\u043a\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430\u0434 \u043d\u0438\u043c \u043a\u0430\u043a\u0438\u0435-\u043b\u0438\u0431\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435), \u0430 \u0437\u0430\u0442\u0435\u043c \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u0432 \u0430\u043a\u0442\u0438\u0432\u0438\u0442\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 \u0411\u0414 \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e.<br \/>  \u0418 \u043e\u043f\u044f\u0442\u044c \u0436\u0435 \u043c\u0430\u0433\u0438\u044f \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u044f \u0434\u0438\u0430\u043b\u043e\u0433\u0430. \u041a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b, \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u043a\u043e\u043f\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442 \u0434\u043e\u043b\u0436\u043d\u0430 \u043e\u0441\u0442\u0430\u0442\u044c\u0441\u044f \u0441\u0442\u0430\u0440\u043e\u0439, \u043d\u043e \u043d\u0435\u0442. \u041e\u043d\u0430 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0430\u0441\u044c.<\/p>\n<h5>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/h5>\n<p>  \u0412\u0441\u0451 \u0434\u0435\u043b\u043e \u0432 \u043d\u0435\u0432\u0435\u0440\u043d\u043e\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u043e\u0432 \u0432 <b>Bundle<\/b>&#8216;\u0430. \u0412 \u043c\u043e\u0451\u043c \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0438, <b>Bundle<\/b>, \u043a\u0430\u043a \u0438 \u0432\u0441\u044f\u043a\u0438\u0435 <b>Serializable<\/b> \u0438 <b>JSONObject<\/b> \u2014 \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u043e\u0437\u0434\u0430\u044e\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 \u0441 \u043d\u0443\u043b\u044f, \u0435\u0441\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e <b>serialize()<\/b> \u0438 <b>deserialize()<\/b>. \u0412\u043e \u0432\u0441\u044f\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0442\u0430\u043a \u044f \u0434\u0443\u043c\u0430\u043b. \u041e\u0434\u043d\u0430\u043a\u043e \u0442\u043e \u043b\u0438 \u0438\u0437 \u0441\u043e\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0439, \u0442\u043e \u043b\u0438 \u043f\u043e \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u0440\u0438\u0447\u0438\u043d\u0435, <b>Bundle<\/b> \u043c\u043e\u0436\u0435\u0442 \u043d\u0435\u0441\u0442\u0438 \u0432 \u0441\u0435\u0431\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u0432\u0430\u0448 \u043e\u0431\u044a\u0435\u043a\u0442 \u0431\u0435\u0437 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. \u041e\u0442\u0441\u044e\u0434\u0430 \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u043c \u043e\u043a\u043d\u0435 \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 <b>dismiss<\/b>. \u041e\u0436\u0438\u0434\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u0435\u0442 \u043b\u0438\u0448\u044c \u043a\u043e\u043f\u0438\u044f, \u043d\u043e <a href=\"http:\/\/stackoverflow.com\/questions\/30439108\/bundle-putparcelable-getparcelable-pair-returns-same-object-instance\">Android SDK \u0440\u0430\u0441\u043f\u043e\u0440\u044f\u0434\u0438\u043b\u0441\u044f \u0438\u043d\u0430\u0447\u0435.<\/a><\/p>\n<h4>4. <b>getFragmentManager()<\/b> \u0432\u043d\u0443\u0442\u0440\u0438 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430<\/h4>\n<p>  <\/p>\n<h5>\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f<\/h5>\n<p>  \u041f\u043e\u0436\u0430\u043b\u0443\u0439, \u044d\u0442\u043e \u0441\u0430\u043c\u0430\u044f \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0441\u0440\u0435\u0434\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445 (\u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e!) \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432. \u0421\u0442\u043e\u0438\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u0441\u043b\u0430\u0431\u0438\u0442\u044c\u0441\u044f \u0438 \u0447\u0430\u0441\u043e\u043a-\u0434\u0440\u0443\u0433\u043e\u0439 \u0434\u0435\u0431\u0430\u0433\u0430 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d.<br \/>  <a href=\"http:\/\/developer.android.com\/intl\/ru\/guide\/components\/fragments.html#Managing\">FragmentManager<\/a> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u0430\u043a\u0442\u0438\u0432\u0438\u0442\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u043c\u0438 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u043e\u0432. <br \/>  \u0423 \u0430\u043a\u0442\u0438\u0432\u0438\u0442\u0438 \u0435\u0441\u0442\u044c \u043c\u0435\u0442\u043e\u0434 <b>getFragmentManager()<\/b>, \u0443 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430 \u0435\u0441\u0442\u044c \u043c\u0435\u0442\u043e\u0434 <b>getFragmentManger()<\/b> \u2014 \u0432\u044b\u0437\u0432\u0430\u043b, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b, \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u2026 \u0438\u043b\u0438 \u043d\u0435\u0442?.. \u0427\u0442\u043e-\u0442\u043e \u043e\u043f\u044f\u0442\u044c \u0441\u043b\u043e\u043c\u0430\u043b\u043e\u0441\u044c. <s>SDK, \u043f\u043e\u0436\u0430\u043b\u0435\u0439!<\/s><\/p>\n<h5>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/h5>\n<p>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0437\u043b\u0443\u044e \u0448\u0443\u0442\u043a\u0443 \u0437\u0434\u0435\u0441\u044c \u0438\u0433\u0440\u0430\u044e\u0442 \u0434\u0432\u0435 \u0432\u0435\u0449\u0438:   <\/p>\n<ul>\n<li>\u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0430\u043a\u0442\u0438\u0432\u0438\u0442\u0438 \u0438 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u044e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e<\/li>\n<li>\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0430 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/RTFM_%28%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D1%8F%29\">RTFM <\/a><\/li>\n<\/ul>\n<p>  \u0415\u0441\u043b\u0438 \u0433\u043b\u044f\u043d\u0443\u0442\u044c \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e, \u0442\u043e \u0441\u0440\u0430\u0437\u0443 \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e <a href=\"http:\/\/developer.android.com\/intl\/ru\/reference\/android\/app\/Fragment.html#getFragmentManager%28%29\">getFragmentManager() <\/a>\u0434\u043b\u044f \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u2026 <b>FragmentManager <\/b>\u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e <u>\u0430\u043a\u0442\u0438\u0432\u0438\u0442\u0438<\/u> (\u043d\u0435 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044f, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0430\u043a\u0442\u0438\u0432\u0438\u0442\u0438!). \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0442\u0430\u043a, \u043a\u0430\u043a \u043e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f, <b>FragmentManager<\/b> \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"http:\/\/developer.android.com\/intl\/ru\/reference\/android\/app\/Fragment.html#getChildFragmentManager%28%29\">getChildFragmentManager()<\/a>.<\/p>\n<h4>5. \u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f <b>Drawable<\/b> \u0432 runtime<\/h4>\n<p>  <\/p>\n<h5>\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f<\/h5>\n<p>  \u0421 \u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u043c\u043d\u0435 \u0434\u043e\u0432\u0435\u043b\u043e\u0441\u044c \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u0441\u044f \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0440\u0430\u0437\u043d\u043e\u0446\u0432\u0435\u0442\u043d\u044b\u0445 <b>background<\/b>&#8216;\u043e\u0432 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0447\u0430\u0442\u0430, \u0433\u0434\u0435 bubble (\u043f\u0443\u0437\u044b\u0440\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f) \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u043a\u0440\u0430\u0448\u0435\u043d \u0432 \u0441\u0435\u0440\u044b\u0439, \u0430 \u0434\u043b\u044f \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043d\u0438\u043a\u0430 \u0432 \u043a\u0440\u0430\u0441\u043d\u044b\u0439.<br \/>  \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u0430\u043c\u044b\u043c \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0442\u044c 2 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0445 \u0440\u0435\u0441\u0443\u0440\u0441\u0430. \u041d\u043e \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u0432\u0430\u0448 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u00ab\u043d\u0430 \u0440\u0430\u0437\u00bb, \u0430 \u0445\u0443\u0434\u043e\u0436\u043d\u0438\u043a \u0438\u0437 \u0432\u0430\u0441 \u043a\u0430\u043a \u0431\u0430\u043b\u0435\u0440\u0438\u043d\u0430? \u0422\u0443\u0442 \u0438 \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u043d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0432\u0438\u0434\u0430 <a href=\"http:\/\/developer.android.com\/intl\/ru\/reference\/android\/graphics\/drawable\/Drawable.html#setColorFilter%28android.graphics.ColorFilter%29\">setColorFilter()<\/a>. \u0412\u0435\u0440\u043d\u043e?.. \u041d\u0435\u0442. <\/p>\n<h5>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/h5>\n<p>  \u041f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a \u0432\u0437\u044f\u0432 \u0434\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0432 <a href=\"http:\/\/developer.android.com\/intl\/ru\/reference\/android\/graphics\/drawable\/Drawable.html#setColorFilter%28android.graphics.ColorFilter%29\">setColorFilter()<\/a> \u043d\u0430 \u043a\u0430\u043a\u043e\u043c-\u043d\u0438\u0431\u0443\u0434\u044c <b>R.drawable.bg_bubble<\/b>, \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043d\u0430\u0434 \u0432\u0441\u0435\u043c\u0438 <b>bg_bubble<\/b> <s>\u043d\u0430 \u0440\u0430\u0439\u043e\u043d\u0435<\/s> \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435. <br \/>  \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u0438\u0434\u0438\u0442 100 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0441 <b>bg_bubble<\/b>, \u044d\u0442\u043e \u043d\u0435 \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u0438\u043c\u0435\u0435\u0442\u0441\u044f 100 \u043a\u043e\u043f\u0438\u0439 \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u0430. \u042d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b\u0430. \u0412 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445, \u043a\u043e\u043f\u0438\u044f \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043b\u0438\u0448\u044c \u043e\u0434\u043d\u0430 \u0438 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 bg_<b>bubble <\/b>\u043a\u043e\u0441\u043d\u0443\u0442\u0441\u044f \u0441\u0440\u0430\u0437\u0443 \u0432\u0441\u0435\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439.<br \/>  \u041f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0435\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 <a href=\"http:\/\/stackoverflow.com\/questions\/7979440\/android-cloning-a-drawable-in-order-to-make-a-statelistdrawable-with-filters\">\u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u043a\u043e\u043f\u0438\u044e<\/a>:  <\/p>\n<pre><code class=\"java\">Drawable clone = drawable.getConstantState().newDrawable(); <\/code><\/pre>\n<p>  \u0411\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0441\u0443\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f <a href=\"http:\/\/www.curious-creature.com\/2009\/05\/02\/drawable-mutations\/\">\u0437\u0434\u0435\u0441\u044c \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435<\/a>.<\/p>\n<h4>6. \u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435 <b>TextView<\/b> \u043f\u043e <b>TextView<\/b>, \u043d\u0435\u0432\u0437\u0438\u0440\u0430\u044f \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u044b\/\u0448\u0440\u0438\u0444\u0442\u044b<\/h4>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0427\u0442\u043e? \u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u043e\u043d\u044f\u043b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/e7f\/0f1\/53c\/e7f0f153c03ebb10f79dfa111d1cdf0f.png\" alt=\"image\"\/>  <\/div>\n<\/div>\n<p>  \u0411\u0435\u0437 \u043b\u0438\u0448\u043d\u0438\u0445 \u0441\u043b\u043e\u0432, \u0441\u0440\u0430\u0437\u0443 \u0441\u0441\u044b\u043b\u043a\u0443 \u2014 <a href=\"https:\/\/possiblemobile.com\/2013\/10\/shifty-baseline-alignment\/\">Watch That Baseline Alignment<\/a>. \u0410 \u0442\u043e \u0438 <a href=\"http:\/\/stackoverflow.com\/questions\/21144227\/whats-the-difference-between-alignbaseline-and-alignbottom-in-android\">\u0434\u0432\u0435<\/a>.<br \/>  \u0421\u043a\u0430\u0437\u0430\u0442\u044c \u043e <b>baseline<\/b> \u0440\u043e\u0432\u043d\u044b\u043c \u0441\u0447\u0435\u0442\u043e\u043c \u043d\u0435\u0447\u0435\u0433\u043e, \u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0433\u0434\u0430 \u0437\u043d\u0430\u0435\u0448\u044c, \u0447\u0442\u043e \u043e\u043d\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442. \u0410 \u0432\u043e\u0442 \u0435\u0441\u043b\u0438 \u043d\u0435 \u0437\u043d\u0430\u0435\u0448\u044c\u2026 \u0432\u043e\u0442 \u0442\u043e\u0433\u0434\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0432\u0435\u0441\u0435\u043b\u044c\u0435 \u0441 <b>padding &#038; margin<\/b>. \u041b\u0438\u0447\u043d\u043e \u0432\u0438\u0434\u0435\u043b \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435. \u0414\u0430\u0436\u0435 \u00ab\u0437\u0432\u0435\u0440\u0435\u043c\u00bb \u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u0434 \u044f\u0437\u044b\u043a \u043d\u0435 \u043f\u043e\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0437\u0432\u0430\u0442\u044c.<\/p>\n<h4>7. <b>Spinner<\/b> \u0431\u0435\u0437 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f<\/h4>\n<p>  <\/p>\n<h5>\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f<\/h5>\n<p>  \u0415\u0441\u0442\u044c <b>Spinner<\/b> \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u00ab\u0437\u0430\u0449\u0438\u0442\u0443 \u043e\u0442 \u0434\u0443\u0440\u0430\u043a\u0430\u00bb \u0432 \u0432\u0438\u0434\u0435 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u0441\u0430\u043c\u043e\u0433\u043e \u0441\u043f\u0438\u043d\u043d\u0435\u0440\u0430.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Spinner \u0441 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u043e\u0439<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/5c8\/4bb\/b37\/5c84bbb37fb98323fad3fdf0aab94b6f.png\" alt=\"image\"\/>  <\/div>\n<\/div>\n<p>  \u041c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c, \u0447\u0442\u043e \u043c\u0435\u0442\u043e\u0434 <a href=\"http:\/\/developer.android.com\/intl\/ru\/reference\/android\/widget\/Spinner.html#setPrompt%28java.lang.CharSequence%29\">Spinner.setPrompt()<\/a> \u0434\u0435\u043b\u0430\u0435\u0442 \u0434\u0435\u043b\u043e, <a href=\"http:\/\/stackoverflow.com\/a\/13329980\/2653714\">\u043d\u043e \u043d\u0435 \u0442\u0443\u0442 \u0442\u043e \u0431\u044b\u043b\u043e<\/a>. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0445 \u043e\u043a\u043e\u043d, \u0434\u0430 \u0438 \u043d\u0435 \u043d\u0430 \u0432\u0441\u0435\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 \u0430\u043d\u0434\u0440\u043e\u0438\u0434\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f. \u0427\u0442\u043e \u0436\u0435 \u0434\u0435\u043b\u0430\u0442\u044c?<\/p>\n<h5>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/h5>\n<p>  \u00ab\u0410 \u043d\u0438\u0447\u0435\u0433\u043e. \u0416\u0438\u0432\u0438 \u0441 \u044d\u0442\u0438\u043c\u00bb (\u0441) Android SDK.<br \/>  \u041a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0445\u0430\u043a. \u041f\u0435\u0440\u0432\u043e\u0435, \u0447\u0442\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0432 \u0433\u043e\u043b\u043e\u0432\u0443: \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c 1 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u0432 \u043d\u0430\u0447\u0430\u043b\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0430. \u041e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u043e \u043f\u043b\u043e\u0445\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u041c\u0430\u043b\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u00ab\u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0443\u00bb \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f <b>Spinner<\/b>&#8216;\u0430, \u0442\u0430\u043a \u0435\u0449\u0451 \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <b>R.array <\/b>\/ <b>CursorAdapter<\/b>.<br \/>  \u0418 \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430, \u0441\u0430\u043c\u044b\u0439 \u043b\u0443\u0447\u0448\u0438\u0439 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0445\u0430\u043a\u043e\u0432 \u043d\u0430 <a href=\"http:\/\/stackoverflow.com\/questions\/867518\/how-to-make-an-android-spinner-with-initial-text-select-one?lq=1\">stackoverflow<\/a>.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">NothingSelectedSpinnerAdapter<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"java\">import android.content.Context; import android.database.DataSetObserver; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ListAdapter; import android.widget.SpinnerAdapter;  \/**  * Decorator Adapter to allow a Spinner to show a 'Nothing Selected...' initially  * displayed instead of the first choice in the Adapter.  *\/ public class NothingSelectedSpinnerAdapter implements SpinnerAdapter, ListAdapter {      protected static final int EXTRA = 1;     protected SpinnerAdapter adapter;     protected Context context;     protected int nothingSelectedLayout;     protected int nothingSelectedDropdownLayout;     protected LayoutInflater layoutInflater;      \/**      * Use this constructor to have NO 'Select One...' item, instead use      * the standard prompt or nothing at all.      * @param spinnerAdapter wrapped Adapter.      * @param nothingSelectedLayout layout for nothing selected, perhaps      * you want text grayed out like a prompt...      * @param context      *\/     public NothingSelectedSpinnerAdapter(       SpinnerAdapter spinnerAdapter,       int nothingSelectedLayout, Context context) {          this(spinnerAdapter, nothingSelectedLayout, -1, context);     }      \/**      * Use this constructor to Define your 'Select One...' layout as the first      * row in the returned choices.      * If you do this, you probably don't want a prompt on your spinner or it'll      * have two 'Select' rows.      * @param spinnerAdapter wrapped Adapter. Should probably return false for isEnabled(0)      * @param nothingSelectedLayout layout for nothing selected, perhaps you want      * text grayed out like a prompt...      * @param nothingSelectedDropdownLayout layout for your 'Select an Item...' in      * the dropdown.      * @param context      *\/     public NothingSelectedSpinnerAdapter(SpinnerAdapter spinnerAdapter,             int nothingSelectedLayout, int nothingSelectedDropdownLayout, Context context) {         this.adapter = spinnerAdapter;         this.context = context;         this.nothingSelectedLayout = nothingSelectedLayout;         this.nothingSelectedDropdownLayout = nothingSelectedDropdownLayout;         layoutInflater = LayoutInflater.from(context);     }      @Override     public final View getView(int position, View convertView, ViewGroup parent) {         \/\/ This provides the View for the Selected Item in the Spinner, not         \/\/ the dropdown (unless dropdownView is not set).         if (position == 0) {             return getNothingSelectedView(parent);         }         return adapter.getView(position - EXTRA, null, parent); \/\/ Could re-use                                                  \/\/ the convertView if possible.     }      \/**      * View to show in Spinner with Nothing Selected      * Override this to do something dynamic... e.g. &quot;37 Options Found&quot;      * @param parent      * @return      *\/     protected View getNothingSelectedView(ViewGroup parent) {         return layoutInflater.inflate(nothingSelectedLayout, parent, false);     }      @Override     public View getDropDownView(int position, View convertView, ViewGroup parent) {         \/\/ Android BUG! http:\/\/code.google.com\/p\/android\/issues\/detail?id=17128 -         \/\/ Spinner does not support multiple view types         if (position == 0) {             return nothingSelectedDropdownLayout == -1 ?               new View(context) :               getNothingSelectedDropdownView(parent);         }          \/\/ Could re-use the convertView if possible, use setTag...         return adapter.getDropDownView(position - EXTRA, null, parent);     }      \/**      * Override this to do something dynamic... For example, &quot;Pick your favorite      * of these 37&quot;.      * @param parent      * @return      *\/     protected View getNothingSelectedDropdownView(ViewGroup parent) {         return layoutInflater.inflate(nothingSelectedDropdownLayout, parent, false);     }      @Override     public int getCount() {         int count = adapter.getCount();         return count == 0 ? 0 : count + EXTRA;     }      @Override     public Object getItem(int position) {         return position == 0 ? null : adapter.getItem(position - EXTRA);     }      @Override     public int getItemViewType(int position) {         return 0;     }      @Override     public int getViewTypeCount() {         return 1;     }      @Override     public long getItemId(int position) {         return position &gt;= EXTRA ? adapter.getItemId(position - EXTRA) : position - EXTRA;     }      @Override     public boolean hasStableIds() {         return adapter.hasStableIds();     }      @Override     public boolean isEmpty() {         return adapter.isEmpty();     }      @Override     public void registerDataSetObserver(DataSetObserver observer) {         adapter.registerDataSetObserver(observer);     }      @Override     public void unregisterDataSetObserver(DataSetObserver observer) {         adapter.unregisterDataSetObserver(observer);     }      @Override     public boolean areAllItemsEnabled() {         return false;     }      @Override     public boolean isEnabled(int position) {         return position != 0; \/\/ Don't allow the 'nothing selected'                                              \/\/ item to be picked.     }  } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"java\">Spinner spinner = (Spinner) findViewById(R.id.spinner);     ArrayAdapter&lt;CharSequence&gt; adapter = ArrayAdapter.createFromResource(this, R.array.planets_array, android.R.layout.simple_spinner_item);     adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);     spinner.setPrompt(&quot;Select your favorite Planet!&quot;);      spinner.setAdapter(       new NothingSelectedSpinnerAdapter(             adapter,             R.layout.contact_spinner_row_nothing_selected,             \/\/ R.layout.contact_spinner_nothing_selected_dropdown, \/\/ Optional             this)); <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<h4>8. \u0420\u0435\u0448\u0435\u0442\u043e \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <b>SupportMapFragment<\/b><\/h4>\n<p>  <\/p>\n<h5>\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f<\/h5>\n<p>  \u041f\u043e \u0432\u043e\u043b\u0435 \u0441\u043b\u0443\u0447\u0430\u044f, \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438\u043c\u0435\u0442\u044c \u0434\u0435\u043b\u043e \u0441 \u043a\u0430\u0440\u0442\u0430\u043c\u0438\u2026 \u0431\u043b\u0430\u0433\u043e, \u0431\u044b\u043b\u043e \u044d\u0442\u043e \u043d\u0430 \u043e\u0434\u0438\u043d \u0440\u0430\u0437, \u043d\u043e \u0434\u0430\u0436\u0435 \u044d\u0442\u043e\u0433\u043e \u0445\u0432\u0430\u0442\u0438\u043b\u043e, \u0447\u0442\u043e\u0431\u044b <s>\u043e\u0431\u043b\u044b\u0441\u0435\u0442\u044c<\/s> \u0447\u0443\u0442\u044c-\u0447\u0443\u0442\u044c \u043f\u043e\u0432\u044b\u0440\u044b\u0432\u0430\u0442\u044c \u0432\u043e\u043b\u043e\u0441\u044b \u0438\u0437-\u0437\u0430 \u0441\u0442\u0440\u0435\u0441\u0441\u0430. <br \/>  \u041a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u0447\u0438\u0442\u0430\u044f, \u0447\u0442\u043e SDK \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0431\u0435\u0437\u0431\u0430\u0436\u043d\u043e \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u0447\u0430\u0441\u044b, \u044f \u0441\u0445\u0432\u0430\u0442\u0438\u043b \u043c\u0435\u043c-\u043b\u0438\u043a. \u041d\u0430 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u044f \u043e\u0431\u0440\u0430\u0434\u043e\u0432\u0430\u043b\u0441\u044f \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u043c\u0443 <a href=\"https:\/\/github.com\/square\/leakcanary\">LeakCanary<\/a>, \u043f\u043e\u0445\u0432\u0430\u043b\u0438\u043b \u0435\u0433\u043e \u043c\u044b\u0441\u043b\u0435\u043d\u043d\u043e \u0438 \u043f\u0440\u0438\u043d\u044f\u043b\u0441\u044f \u0438\u0437\u0443\u0447\u0430\u0442\u044c \u043b\u043e\u0433\u0438. \u041e\u043d\u0438 \u0431\u044b\u043b\u0438 \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u043c\u0438 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0431\u044b\u043b\u0430 \u0441\u0442\u0440\u043e\u043a\u0430 <b>com.google.android.gms.location.internal.zzk<\/b>), \u043d\u043e \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0443\u0442\u0435\u043a\u0430\u0435\u0442 \u043c\u043e\u0439 <b>MapFragment<\/b>. \u0427\u0442\u043e \u0436\u0435 \u044f \u043d\u0430\u0448\u0435\u043b \u0432 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u0441\u043b\u0435 \u0447\u0430\u0441\u0443 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0438\u0445 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432 \u0432\u0434\u043e\u043b\u044c \u0438 \u043f\u043e\u043f\u0435\u0440\u0451\u043a? \u041d\u0443, \u0434\u0443\u043c\u0430\u044e, \u043e\u0442\u0432\u0435\u0442 \u0438 \u0442\u0430\u043a \u044f\u0441\u0435\u043d.<\/p>\n<h5>\u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435..<\/h5>\n<p>  \u0410 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0432\u0438\u043d\u043e\u0432\u043d\u0430 <b>SDK<\/b> \u0438 \u0435\u0436\u0435 \u0441 \u043d\u0435\u0439. \u041a\u0430\u044e\u0441\u044c, \u043c\u043e\u044f \u043e\u0448\u0438\u0431\u043a\u0430, \u0441\u0442\u043e\u0438\u043b\u043e \u0441\u0440\u0430\u0437\u0443 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u0435 \u043b\u043e\u0433\u0438, \u043d\u043e \u043a\u0430\u043a-\u0442\u043e \u043d\u0435 \u0441\u0440\u043e\u0441\u043b\u043e\u0441\u044c. \u041b\u043e\u0433\u0438 \u0432 <b>LeakCanary<\/b> \u0447\u0430\u0441\u0442\u043e \u043d\u0435 \u043e\u0441\u043e\u0431\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u044b, \u043a\u0440\u043e\u043c\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0441\u0442\u0440\u043e\u0447\u0435\u043a, \u0433\u0434\u0435 \u0432\u0438\u0434\u043d\u044b \u0438\u043c\u0435\u043d\u043d\u043e \u00ab\u0441\u0432\u043e\u0438\u00bb \u0441\u0441\u044b\u043b\u043a\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0441\u0451 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u0431\u044b\u043b\u043e \u0431\u043b\u0430\u0433\u043e\u043f\u043e\u043b\u0443\u0447\u043d\u043e \u043f\u0440\u043e\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043e. \u041b\u0438\u0447\u043d\u043e \u044f \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435, \u043a\u0441\u0442\u0430\u0442\u0438, \u0441\u0445\u0432\u0430\u0442\u0438\u043b \u0437\u0430 \u043e\u0434\u0438\u043d \u0440\u0430\u0437:  <\/p>\n<ol>\n<li><a href=\"https:\/\/code.google.com\/p\/gmaps-api-issues\/issues\/detail?id=8596\">\u0423\u0442\u0435\u0447\u043a\u0430<\/a><\/li>\n<li><a href=\"https:\/\/code.google.com\/p\/gmaps-api-issues\/issues\/detail?id=5621\">OutOfMemoryError \u21161<\/a><\/li>\n<li><a href=\"https:\/\/code.google.com\/p\/gmaps-api-issues\/issues\/detail?id=7187\">OutOfMemoryError \u21162<\/a><\/li>\n<li><a href=\"https:\/\/code.google.com\/p\/gmaps-api-issues\/issues\/detail?id=6237\">BadParcelableException<\/a><\/li>\n<\/ol>\n<p>  \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u0435\u043d \u0431\u044b\u043b \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0431\u0430\u0433. \u0412\u043f\u0435\u0440\u0432\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 <a href=\"https:\/\/github.com\/johncarl81\/parceler\">Parceler<\/a>, \u044f \u0440\u0435\u0448\u0438\u043b, \u0447\u0442\u043e \u0431\u0430\u0433 \u0432 \u043d\u0435\u0439 \u0438\u043b\u0438 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u044f \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0435\u0451 <s>\u0433\u043e\u0442\u043e\u0432\u043b\u044e<\/s> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e. \u0418\u0434\u0435\u044f \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0431\u0430\u0433 \u0432\u043e\u0437\u043d\u0438\u043a \u0438\u0437-\u0437\u0430 <b>SupportMapFragment<\/b> \u0443 \u043c\u0435\u043d\u044f \u043d\u0443 \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u043b\u0430 \u2014 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0442\u0435\u0441\u044c, \u043f\u0440\u0438\u0447\u0435\u043c \u0442\u0443\u0442 \u043a\u0430\u0440\u0442\u044b \u0438 <b>BadParcelableException<\/b>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043a\u043e\u0433\u0434\u0430 \u0442\u044b \u043b\u0438\u0447\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0448\u044c \u0438 \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u0448\u044c \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 <b>Bundle<\/b>? \u0418 \u0442\u0430\u043a \u044f \u0441\u043d\u043e\u0432\u0430 \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u043e\u0432, \u0438\u0437\u0443\u0447\u0430\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 <b>Parceler<\/b> \u0438 <b>Bundle.putParcelable()<\/b> \u043a\u0430\u043a \u0443\u043c\u0430\u043b\u0438\u0448\u0435\u043d\u043d\u044b\u0439.<\/p>\n<h4>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0432\u0441\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0435 \u0437\u0434\u0435\u0441\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0438 \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0441\u0442\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0431\u0449\u0438\u0439 \u0442\u043e\u043d \u0438\u0437\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438, \u043c\u043d\u0435 \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u0430\u043d\u0434\u0440\u043e\u0438\u0434. \u0414\u0430, \u0438\u043d\u043e\u0433\u0434\u0430 SDK \u0434\u0430\u0451\u0442 \u043f\u043e\u0449\u0435\u0447\u0438\u043d\u0443-\u0434\u0440\u0443\u0433\u0443\u044e, \u043d\u043e \u0432 \u0446\u0435\u043b\u043e\u043c \u043e\u043d\u043e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u0438\u0445, \u0445\u043e\u0440\u043e\u0448\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 (!), \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439. \u0427\u0435\u0433\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u043e\u044f\u0442 \u043d\u043e\u0432\u044b\u0435 <a href=\"http:\/\/developer.android.com\/intl\/ru\/reference\/android\/widget\/Toolbar.html\">Toolbar<\/a>, <a href=\"http:\/\/developer.android.com\/intl\/ru\/training\/implementing-navigation\/nav-drawer.html\">NavigationDrawer <\/a>\u0438 <a href=\"http:\/\/developer.android.com\/intl\/ru\/reference\/android\/support\/design\/widget\/CoordinatorLayout.Behavior.html\">Behavior<\/a>? \u0427\u0442\u043e \u0438 \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u043e <a href=\"https:\/\/guides.codepath.com\/android\/Shared-Element-Activity-Transition\">Shared Element Activity Transition<\/a>!<br \/>  \u0421\u0442\u0430\u0442\u044c\u0435\u0439 \u044f \u0445\u043e\u0442\u0435\u043b \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043b\u0438\u0448\u044c \u043e\u0434\u043d\u043e\u0433\u043e \u2014 \u0447\u0442\u043e\u0431\u044b \u0435\u0441\u043b\u0438 \u0432\u044b \u0435\u0449\u0451 \u043d\u0435 \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0438\u0441\u044c \u0441 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c\u0438, \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0432\u0448\u0438\u0441\u044c, \u0441\u0440\u0430\u0437\u0443 \u043b\u0435\u0437\u043b\u0438 \u0432 \u0433\u0443\u0433\u043b, \u0430 \u043d\u0435 \u0441\u0438\u0434\u0435\u043b\u0438 \u0431\u0438\u0442\u044b\u0439 \u0447\u0430\u0441 \u043f\u043e\u0443\u0448\u0438 \u0432 \u0434\u0435\u0431\u0430\u0433\u0435. \u042f \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0435\u0449\u0451 2 \u0447\u0430\u0441\u0442\u0438 \u00ab\u043a\u044e\u0432\u0435\u0442\u043e\u0432\u00bb: SDK+libraries \u0438 RxJava, \u043d\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u0432\u0441\u0451 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u044d\u0442\u043e\u0439 \u0447\u0430\u0441\u0442\u0438.<br \/>  \u0414\u043b\u044f \u043d\u043e\u0432\u0438\u0447\u043a\u043e\u0432, \u0434\u0430 \u0438 \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 \u0441\u0440\u0435\u0434\u043d\u044f\u043a\u043e\u0432, \u043a\u0440\u0430\u0439\u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430 \u0434\u043e\u0441\u0443\u0433\u0435 <a href=\"http:\/\/guides.codepath.com\/android#navigation\">CodePath Android Cliffnotes<\/a>. \u041e\u043d\u043e \u043d\u0435 \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u0435\u0442 \u0438\u043c\u0435\u043d\u043d\u043e \u00ab\u043a\u044e\u0432\u0435\u0442\u044b\u00bb (\u0445\u043e\u0442\u044f \u0438 \u043d\u0435 \u0431\u0435\u0437 \u044d\u0442\u043e\u0433\u043e), \u043d\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043e\u0447\u0435\u043d\u044c \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0432\u0441\u0435\u0433\u043e SDK.               <\/p>\n<div class=\"clear\"><\/div>\n<p> \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:\/\/habrahabr.ru\/post\/279811\/\"> https:\/\/habrahabr.ru\/post\/279811\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u0433\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u044f \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u043c\u043e\u0433 \u043f\u043e\u043d\u044f\u0442\u044c, \u0432 \u0447\u0451\u043c \u0436\u0435 \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 \u00ab\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439\u00bb \u0438 \u00ab\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c\u00bb. \u041d\u0435\u0442-\u043d\u0435\u0442, \u044f \u0443\u043c\u0435\u043b \u0438 \u0447\u0438\u0442\u0430\u0442\u044c, \u0438 \u0433\u0443\u0433\u043b\u0438\u0442\u044c, \u043d\u043e \u0434\u043e \u043c\u0435\u043d\u044f \u0432\u0441\u0451 \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u0434\u043e\u0445\u043e\u0434\u0438\u043b \u0441\u043c\u044b\u0441\u043b \u044d\u0442\u0438\u0445 \u043f\u043e\u043d\u044f\u0442\u0438\u0439. \u041d\u0430\u0447\u0430\u0432 \u0436\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u0430\u043d\u0434\u0440\u043e\u0438\u0434, \u044f \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u0437\u043d\u0430\u0447\u0430\u0442 \u0441\u043b\u043e\u0432\u0430 \u00ab\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442, \u043d\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u00bb.<br \/>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0435\u0440\u0438\u0438 \u0441\u0442\u0430\u0442\u044c\u0435\u0439 \u044f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u0445, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u0442\u043e\u043b\u043d\u0443\u043b\u0441\u044f \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043f\u043e\u0434 \u0430\u043d\u0434\u0440\u043e\u0438\u0434. \u041c\u043e\u0435\u0439 \u0446\u0435\u043b\u044c\u044e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0443\u0431\u0435\u0440-\u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u0430 \u043b\u0438\u0448\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043e \u0442\u043e\u043c, \u0441 \u043a\u0430\u043a\u0438\u043c\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c\u0438 \u043c\u043e\u0436\u0435\u0442 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u0442\u043e\u0442, \u043a\u0442\u043e \u043f\u043e\u0441\u044f\u0433\u043d\u0435\u0442 \u043d\u0430 <s>\u0441\u0432\u044f\u0442\u043e\u0439 \u0433\u0440\u0430\u0430\u043b\u044c<\/s> Android SDK. \u041d\u0435 \u0434\u0443\u043c\u0430\u044e, \u0447\u0442\u043e \u0441\u0443\u0440\u043e\u0432\u044b\u0435 \u0441\u0438\u043d\u044c\u043e\u0440\u044b \u043e\u0442\u043a\u0440\u043e\u044e\u0442 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u0410\u043c\u0435\u0440\u0438\u043a\u0443, \u043d\u043e \u043a\u0430\u043a \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0441\u044f: \u00ab\u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u0435 \u2014 \u043c\u0430\u0442\u044c \u0443\u0447\u0435\u043d\u0438\u044f\u00bb.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/907\/5f9\/f9f\/9075f9f9fefe6985f639b6ae3b6230c7.jpg\" alt=\"image\"\/>  <\/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-276972","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/276972","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=276972"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/276972\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=276972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=276972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=276972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}