{"id":208344,"date":"2014-01-07T16:52:03","date_gmt":"2014-01-07T12:52:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=208344"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=208344","title":{"rendered":"<span class=\"post_title\">\u041f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0442 \u0432\u0435\u0431-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430: \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445, \u0432\u0435\u0440\u0441\u0442\u0430 \u043f\u043e\u0434 Android, \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u0432 google play<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u0412\u0441\u0435\u043c \u0434\u043e\u0431\u0440\u0430!<\/p>\n<h4>\u0427\u0435\u043c\u0443 \u043d\u0430\u0443\u0447\u0438\u0442 \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u0441\u044f? <\/h4>\n<p>  \u0421\u0442\u0430\u0442\u044c\u044f \u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u0434\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u043f\u0440\u043e\u0445\u043e\u0434\u0446\u0435\u0432 \u0438 \u0434\u043b\u044f \u0432\u0435\u0431-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432, \u044d\u0442\u043e \u043f\u043e\u043b\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441 \u043d\u0443\u043b\u044f \u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438. \u0420\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u00ab\u0423\u0447\u0435\u0442 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432\u00bb, \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u043d\u043e\u0435 \u0432 google play. \u042d\u0442\u043e \u043c\u043e\u0435 \u043f\u0435\u0440\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0437\u043d\u0430\u043d\u0438\u0439 \u043e\u0442 \u043d\u043e\u0432\u0438\u0447\u043a\u0430 \u043a \u0437\u0430\u0431\u043b\u0443\u0434\u0448\u0435\u043c\u0443. <\/p>\n<ul>\n<li>\u041f\u043e\u043d\u0438\u043c\u0430\u0435\u043c \u0430\u0437\u044b<\/li>\n<li>\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0441 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445<\/li>\n<li>\u0414\u0435\u043b\u0430\u0435\u043c \u0432\u0435\u0440\u0441\u0442\u043a\u0443 <\/li>\n<li>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u0443\u0435\u043c<\/li>\n<\/ul>\n<h4>\u041a\u0430\u043a \u044d\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e?<\/h4>\n<p>  \u041d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0431\u044b\u043b\u043e \u0441\u043f\u0440\u043e\u0432\u043e\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u0443 \u0438\u043c\u0435\u044e\u0449\u0438\u0445\u0441\u044f \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432. <br \/>  \u0415\u0441\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043d\u043e \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043e\u043d\u0438 \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0435\u043d\u044b \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438. <\/p>\n<h4>\u0427\u0442\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c?<\/h4>\n<p>  \u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043a \u043c\u043e\u0435\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u0431\u044b\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435:<\/p>\n<ul>\n<li>\u0423\u0447\u0435\u0442 \u0440\u0430\u0441\u0445\u043e\u0434\u0430 \u0437\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u0435\u0441\u044f\u0446<\/li>\n<li>\u0412\u0432\u043e\u0434 \u0440\u0430\u0441\u0445\u043e\u0434\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043a\u0440\u0443\u043f\u043d\u0443\u044e \u043a\u043b\u0430\u0432\u0438\u0448\u0443 \u00ab\u0432\u0432\u0435\u0441\u0442\u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u00bb<\/li>\n<li>\u041e\u0431\u0437\u043e\u0440 \u0441\u0443\u043c\u043c \u0440\u0430\u0441\u0445\u043e\u0434\u0430 \u0437\u0430 \u044d\u0442\u043e\u0442 \u043c\u0435\u0441\u044f\u0446<\/li>\n<li>\u041e\u0431\u0437\u043e\u0440 \u043e\u0431\u0449\u0435\u0439 \u0441\u0443\u043c\u043c\u044b \u0437\u0430\u0442\u0440\u0430\u0442 \u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u0435\u0441\u044f\u0446<\/li>\n<li>\u041e\u0431\u0437\u043e\u0440 \u0441\u0443\u043c\u043c\u044b \u0437\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043c\u0435\u0441\u044f\u0446<\/li>\n<\/ul>\n<p>   <a name=\"habracut\"><\/a><\/p>\n<h4>\u041f\u0430\u0440\u0443 \u0441\u043b\u043e\u0432 \u043e \u0440\u0430\u0431\u043e\u0447\u0435\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435<\/h4>\n<p>  \u0413\u043e\u0442\u043e\u0432 \u043f\u0440\u043e\u043a\u043b\u0438\u043d\u0430\u0442\u044c \u0432\u0435\u0447\u043d\u043e, \u0432\u0435\u0440\u0441\u0442\u043a\u0443 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 xml. \u041d\u0430 html\/css \u044f \u043c\u043e\u0433\u0443 \u0441\u0432\u0435\u0440\u0441\u0442\u0430\u0442\u044c \u0432\u0441\u0435 \u0447\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e, \u043d\u043e \u043a\u043e\u0433\u0434\u0430 \u0434\u043e\u0448\u043b\u043e \u0434\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0442\u043a\u0438, \u0431\u043e\u0435\u0432\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439 \u0443\u043b\u0435\u0442\u0443\u0447\u0438\u043b\u0441\u044f. \u041d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u043c \u0432 \u0441\u0435\u0442\u0438 \u0432\u0432\u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430 \u043d\u0430 \u0442\u0435\u043c\u0443: xml \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u0434\u043b\u044f \u0442\u0435\u0445 \u043a\u0442\u043e \u0437\u043d\u0430\u0435\u0442 html\/css. \u042f \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0432 \u0441\u043a\u043e\u0440\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c\u0441\u044f. \u041d\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u0430 \u043b\u043e\u0433\u0438\u043a\u0430 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0432\u0441\u0435 \u043f\u0435\u0440\u0435\u043a\u0430\u0448\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438 \u043d\u0435 \u0441\u043b\u0443\u0448\u0430\u0435\u0442\u0441\u044f. \u0423\u0431\u0438\u0432\u0430\u0435\u0442 \u043d\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u00ab\u0431\u043e\u0440\u0434\u0435\u0440\u00bb (\u0432\u0432\u0435\u0440, \u043b\u0435\u0432\u044b\u0439) \u0434\u043b\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. <\/p>\n<h4>\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430<\/h4>\n<p>  \u0412\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 eclipse, \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u0438 \u0432\u0430\u043c \u0443\u0434\u0430\u043b\u043e\u0441\u044c (\u043f\u043e\u0441\u043b\u0435 10 \u043c\u0438\u043d\u0443\u0442\u043d\u044b\u0445 \u043f\u043e\u0442\u0443\u0433\u043e\u0432 \u043d\u0430 \u0442\u043e\u043f\u043e\u0432\u043e\u043c \u041f\u041a) \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440? \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0434 \u0432\u0430\u043c\u0438 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u043e\u0434 Android, \u043e\u0434\u043d\u0443 \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0432 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c \u043c\u0438\u0440\u0435. <\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043d\u0430\u0448 \u043f\u0435\u0440\u0432\u044b\u0439 activity, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u0447\u043a\u043e\u0439 \u0432\u0445\u043e\u0434\u0430 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 activity_main.xml. \u041d\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u043a\u0430\u044f MVC \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430:<\/p>\n<p>  <i>com.laguna.sa \u2014 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0435\u0433\u043e package<\/i><\/p>\n<p>  \u041b\u043e\u0433\u0438\u043a\u0430 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0432: \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435_\u043f\u0440\u043e\u0435\u043a\u0442\u0430\/src\/com.laguna.sa\/ *<br \/>  \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u044e\u0442\u0441\u044f \u0432: res\/layout\/ *<\/p>\n<p>  \u041f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 activity, \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0444\u0430\u0439\u043b \u043b\u043e\u0433\u0438\u043a\u0438 \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f. \u041f\u0440\u0438 \u0432\u0435\u0440\u0441\u0442\u043a\u0435 \u043d\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u044f \u0432\u044b\u0431\u0440\u0430\u043b <b>LinearLayout<\/b>. LinearLayout \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0430\u0437\u043c\u0435\u0448\u0430\u0442\u044c \u0432 \u0441\u0435\u0431\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b. \u041d\u0430 \u0432\u044b\u0431\u043e\u0440 \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c \u0438 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c. \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a android:orientation=\u00abvertical\u00bb. \u0414\u043b\u044f \u043c\u043e\u0438\u0445 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0435\u0439 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u044d\u0442\u043e\u0433\u043e \u0445\u0432\u0430\u0442\u0430\u0435\u0442, \u044f \u0434\u0430\u0436\u0435 border \u044d\u043c\u0438\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f LinearLayout \u0432\u044b\u0441\u043e\u0442\u043e\u0439 3dp. \u0427\u0442\u043e \u0442\u043e \u043d\u0430 \u043f\u043e\u0434\u043e\u0431\u0438\u0435 div \u0432 html. <\/p>\n<p>  <b>activity_main.xml \u043b\u0438\u0441\u0442\u0438\u043d\u0433 \u0447\u0430\u0441\u0442\u044c 1:<\/b>  <\/p>\n<pre><code class=\"xml\">&lt;LinearLayout xmlns:android=&quot;http:\/\/schemas.android.com\/apk\/res\/android&quot;     xmlns:tools=&quot;http:\/\/schemas.android.com\/tools&quot;     android:layout_width=&quot;fill_parent&quot;     android:layout_height=&quot;fill_parent&quot;     android:background=&quot;#6c6c75&quot;     android:gravity=&quot;center&quot;     android:orientation=&quot;vertical&quot;     tools:context=&quot;.MainActivity&quot; &gt;       &lt;LinearLayout          android:layout_width=&quot;fill_parent&quot;          android:layout_height=&quot;3dp&quot;          android:background=&quot;#99CC00&quot;          android:orientation=&quot;horizontal&quot; &gt;      &lt;\/LinearLayout&gt;             &lt;\/LinearLayout&gt; <\/code><\/pre>\n<p>  \u0421\u0435\u0439\u0447\u0430\u0441 \u0442\u0443\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0441\u043b\u043e\u0439 \u0441 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u043c\u0438 <b>android:layout_width<\/b> \u0438 <b>android:layout_height<\/b> \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u0430\u0434\u0430\u043d\u044b \u043a\u0430\u043a <b>fill_parent<\/b>, \u0447\u0442\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u043b\u043e\u044e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0432\u0441\u0435 \u0438 \u0432\u0441\u044f. \u0422\u0430\u043a \u0436\u0435 \u043c\u044b \u0437\u0430\u0434\u0430\u0435\u043c \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u043f\u043e \u0446\u0435\u043d\u0442\u0440\u0443<b> android:gravity=\u00abcenter\u00bb<\/b>.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u044f \u0441\u043e\u0437\u0434\u0430\u044e \u0441\u0435\u043a\u0441\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u0437\u0435\u043b\u0435\u043d\u0443\u044e \u043f\u043e\u043b\u043e\u0441\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f LinearLayout \u0441 \u0432\u044b\u0441\u043e\u0442\u043e\u0439 3dp. \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u043d\u0435 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u043b\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442, \u043d\u043e 1 \u0440\u0430\u0437 \u0442\u0430\u043a \u0441\u043e\u0433\u0440\u0435\u0448\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e.<\/p>\n<pre><code class=\"xml\"> &lt;LinearLayout          android:layout_width=&quot;fill_parent&quot;          android:layout_height=&quot;3dp&quot;          android:background=&quot;#99CC00&quot;          android:orientation=&quot;horizontal&quot; &gt;      &lt;\/LinearLayout&gt; <\/code><\/pre>\n<p>  \u041d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/7a4\/944\/241\/7a4944241377372740bc24deac4b4fb9.png\" alt=\"image\"\/><\/p>\n<p>  \u0421\u043b\u0435\u0434\u043e\u043c \u0437\u0430 \u043f\u043e\u043b\u043e\u0441\u043e\u0439, \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u044e \u0434\u0432\u0430 \u043f\u043e\u043b\u044f \u0434\u043b\u044f \u0442\u0435\u043a\u0441\u0442\u0430. \u0420\u0430\u0437\u043c\u0435\u0449\u0430\u044e \u0432 \u043d\u043e\u0432\u043e\u043c <i>LinearLayout<\/i>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u0435\u043b\u0430\u044e <i>horizontal<\/i>.<\/p>\n<pre><code class=\"xml\">&lt;LinearLayout          android:layout_width=&quot;fill_parent&quot;          android:layout_height=&quot;wrap_content&quot;          android:background=&quot;#FFf&quot;          android:orientation=&quot;horizontal&quot; &gt;                       &lt;TextView              android:id=&quot;@+id\/textView2&quot;              android:layout_width=&quot;wrap_content&quot;              android:layout_height=&quot;wrap_content&quot;              android:layout_marginBottom=&quot;3dp&quot;              android:layout_marginLeft=&quot;10dp&quot;              android:layout_marginRight=&quot;5dp&quot;              android:layout_marginTop=&quot;6dp&quot;              android:text=&quot;@string\/text2&quot;              android:textSize=&quot;16sp&quot; \/&gt;                    &lt;TextView              android:id=&quot;@+id\/textView1&quot;              android:layout_width=&quot;wrap_content&quot;              android:layout_height=&quot;wrap_content&quot;              android:layout_marginBottom=&quot;3dp&quot;              android:layout_marginTop=&quot;6dp&quot;              android:text=&quot;date&quot;              android:textSize=&quot;16sp&quot; \/&gt;               &lt;\/LinearLayout&gt; <\/code><\/pre>\n<p>  \u0422\u0443\u0442 \u0432\u0441\u0435 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043d\u043e \u0441\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432. \u0412 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0435\u0441\u0442\u044c \u043f\u0430\u043f\u043a\u0430 <b>values<\/b> \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0444\u0430\u0439\u043b <b>strings.xml<\/b>. \u0414\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u0442\u0440\u043e\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f android:text=&quot;@string\/text2&quot; \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0432\u044b\u0448\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 TextView. \u0422\u0435\u043a\u0441\u0442 \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432 \u043a\u043e\u0434\u0435, \u043d\u043e \u0432 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u0448\u0430\u0442\u044c \u043d\u0430\u0434\u043e\u0435\u0434\u043b\u0438\u0432\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0430 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439. <br \/>   \u0414\u043b\u044f \u0444\u0430\u0439\u043b\u0430 \u0441\u0442\u0440\u043e\u043a \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438 \u043d\u0435 \u043a\u043e\u043f\u0430\u044f\u0441\u044c \u0432 \u043a\u043e\u0434\u0435. \u041f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0440\u043e\u043a\u0438 \u043d\u043e \u0438 \u043f\u0440\u043e\u0447\u0438\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b. \u041d\u043e \u043a\u0430\u043a \u043f\u043e\u043d\u044f\u043b \u044f, \u0441\u0442\u0440\u043e\u043a\u0438 \u0438 \u0441\u0442\u0438\u043b\u0438 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e. <\/p>\n<p>  \u0415\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e. \u041f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0437 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0433\u0434\u0435 \u0432 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u0430\u0442\u0430. <\/p>\n<pre><code class=\"java\">        SimpleDateFormat sdf = new SimpleDateFormat(&quot;dd.MM.yyyy&quot;);         String currentDateandTime = sdf.format(new Date());                  TextView textView1 = (TextView) findViewById(R.id.textView1);          textView1.setText(currentDateandTime); <\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u043e\u043b\u043d\u044b\u0439 \u043b\u0438\u0441\u0442\u0438\u043d\u0433 activity_main.xml \u0438 \u0435\u0433\u043e \u043b\u043e\u0433\u0438\u043a\u0438:<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"xml\">&lt;LinearLayout xmlns:android=&quot;http:\/\/schemas.android.com\/apk\/res\/android&quot;     xmlns:tools=&quot;http:\/\/schemas.android.com\/tools&quot;     android:layout_width=&quot;fill_parent&quot;     android:layout_height=&quot;fill_parent&quot;     android:background=&quot;#6c6c75&quot;     android:gravity=&quot;center&quot;     android:orientation=&quot;vertical&quot;     tools:context=&quot;.MainActivity&quot; &gt;       &lt;LinearLayout          android:layout_width=&quot;fill_parent&quot;          android:layout_height=&quot;3dp&quot;          android:background=&quot;#99CC00&quot;          android:orientation=&quot;horizontal&quot; &gt;      &lt;\/LinearLayout&gt;                &lt;LinearLayout          android:layout_width=&quot;fill_parent&quot;          android:layout_height=&quot;wrap_content&quot;          android:background=&quot;#FFf&quot;          android:orientation=&quot;horizontal&quot; &gt;                       &lt;TextView              android:id=&quot;@+id\/textView2&quot;              android:layout_width=&quot;wrap_content&quot;              android:layout_height=&quot;wrap_content&quot;              android:layout_marginBottom=&quot;3dp&quot;              android:layout_marginLeft=&quot;10dp&quot;              android:layout_marginRight=&quot;5dp&quot;              android:layout_marginTop=&quot;6dp&quot;              android:text=&quot;@string\/text2&quot;              android:textSize=&quot;16sp&quot; \/&gt;                    &lt;TextView              android:id=&quot;@+id\/textView1&quot;              android:layout_width=&quot;wrap_content&quot;              android:layout_height=&quot;wrap_content&quot;              android:layout_marginBottom=&quot;3dp&quot;              android:layout_marginTop=&quot;6dp&quot;              android:text=&quot;date&quot;              android:textSize=&quot;16sp&quot; \/&gt;               &lt;\/LinearLayout&gt;              &lt;LinearLayout         android:layout_width=&quot;match_parent&quot;         android:layout_height=&quot;wrap_content&quot;         android:layout_marginLeft=&quot;0dp&quot;         android:layout_marginRight=&quot;0dp&quot;         android:layout_marginTop=&quot;0dp&quot;         android:background=&quot;#FFf&quot;         android:gravity=&quot;bottom&quot;         android:orientation=&quot;vertical&quot; &gt;                    &lt;EditText              android:id=&quot;@+id\/amount&quot;              android:layout_width=&quot;match_parent&quot;              android:layout_height=&quot;wrap_content&quot;              android:layout_marginTop=&quot;20sp&quot;              android:ems=&quot;10&quot;              android:hint=&quot;@string\/amount_of_expense&quot; &gt;          &lt;\/EditText&gt;          &lt;Button             android:id=&quot;@+id\/button2&quot;             android:layout_width=&quot;match_parent&quot;             android:layout_height=&quot;wrap_content&quot;             android:layout_marginLeft=&quot;4dp&quot;             android:layout_marginRight=&quot;4dp&quot;             android:background=&quot;@drawable\/mybtn_style_selector&quot;             android:onClick=&quot;makebutton_Click&quot;             android:text=&quot;@string\/makebutton&quot; \/&gt;  \t\t&lt;Button \t\t    android:id=&quot;@+id\/button3&quot; \t\t    android:layout_width=&quot;match_parent&quot; \t\t    android:layout_height=&quot;wrap_content&quot; \t\t    android:layout_marginLeft=&quot;4dp&quot; \t\t    android:layout_marginRight=&quot;4dp&quot; \t\t    android:layout_marginTop=&quot;2dp&quot; \t\t    android:background=&quot;@drawable\/mybtn_style_selector&quot; \t\t    android:onClick=&quot;costs_Click&quot; \t\t    android:text=&quot;@string\/costs&quot; \/&gt;              &lt;\/LinearLayout&gt;          \t\t &lt;LinearLayout \t\t     android:layout_width=&quot;match_parent&quot; \t\t     android:layout_height=&quot;80sp&quot; \t\t     android:layout_gravity=&quot;center_vertical&quot; \t\t     android:layout_marginTop=&quot;0dp&quot; \t\t     android:background=&quot;#fff&quot; \t\t     android:orientation=&quot;horizontal&quot; &gt;           \t\t     &lt;TextView \t\t         android:id=&quot;@+id\/amount_per_month_text&quot; \t\t         android:layout_width=&quot;wrap_content&quot; \t\t         android:layout_height=&quot;wrap_content&quot; \t\t         android:layout_gravity=&quot;center&quot; \t\t         android:layout_marginLeft=&quot;20dp&quot; \t\t         android:layout_marginTop=&quot;20dp&quot; \t\t         android:text=&quot;\u0417\u0430 \u044d\u0442\u043e\u0442 \u043c\u0435\u0441\u044f\u0446:&quot; \t\t         android:textSize=&quot;20sp&quot; \/&gt; \t\t      \t\t     &lt;Button \t\t         android:id=&quot;@+id\/amount_per_month&quot; \t\t         android:layout_width=&quot;140dp&quot; \t\t         android:layout_height=&quot;wrap_content&quot; \t\t         android:layout_marginLeft=&quot;5dp&quot; \t\t         android:layout_marginTop=&quot;40dp&quot; \t\t         android:onClick=&quot;reload_Click&quot; \t\t         android:background=&quot;@drawable\/button321&quot; \t\t         android:text=&quot;&quot; \/&gt;          &lt;\/LinearLayout&gt; \t\t \t\t &lt;LinearLayout \t\t     android:layout_width=&quot;match_parent&quot; \t\t     android:layout_height=&quot;80sp&quot; \t\t     android:layout_gravity=&quot;center_vertical&quot; \t\t     android:layout_marginTop=&quot;0dp&quot; \t\t     android:background=&quot;#fff&quot; \t\t     android:orientation=&quot;horizontal&quot; &gt;  \t\t     &lt;TextView \t\t         android:id=&quot;@+id\/amount_per_month_text2&quot; \t\t         android:layout_width=&quot;wrap_content&quot; \t\t         android:layout_height=&quot;wrap_content&quot; \t\t         android:layout_gravity=&quot;center&quot; \t\t         android:layout_marginLeft=&quot;20dp&quot; \t\t         android:layout_marginTop=&quot;0dp&quot; \t\t         android:text=&quot;\u0412\u044b\u0431\u043e\u0440 \u043c\u0435\u0441\u044f\u0446\u0430:&quot; \t\t         android:textSize=&quot;20sp&quot; \/&gt;  \t\t     &lt;Spinner \t\t         android:id=&quot;@+id\/spinner_month&quot; \t\t         android:layout_width=&quot;140dp&quot; \t\t         android:layout_height=&quot;wrap_content&quot; \t\t         android:layout_marginTop=&quot;20dp&quot; &gt;  \t\t     &lt;\/Spinner&gt; \t\t &lt;\/LinearLayout&gt; \t\t          &lt;LinearLayout             android:layout_width=&quot;match_parent&quot;             android:layout_height=&quot;fill_parent&quot;             android:layout_marginTop=&quot;0dp&quot;             android:background=&quot;#FFf&quot;             android:gravity=&quot;bottom&quot;             android:orientation=&quot;vertical&quot; &gt;                          &lt;Button                 android:id=&quot;@+id\/button1&quot;                 android:layout_width=&quot;match_parent&quot;                 android:layout_height=&quot;wrap_content&quot;                 android:background=&quot;@drawable\/mybtn_style_selector&quot;                 android:onClick=&quot;howtousebutton_Click&quot;                 android:text=&quot;@string\/howtousebutton&quot; \/&gt;                      &lt;\/LinearLayout&gt;           &lt;\/LinearLayout&gt; <\/code><\/pre>\n<pre><code class=\"java\">package com.laguna.sa;  \/\/ \u0442\u0443\u0442 \u0438\u043c\u043f\u043e\u0440\u0442   @SuppressLint(&quot;SimpleDateFormat&quot;) public class MainActivity extends Activity { \t     @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);                  SimpleDateFormat sdf = new SimpleDateFormat(&quot;dd.MM.yyyy&quot;);         String currentDateandTime = sdf.format(new Date());                  TextView textView1 = (TextView) findViewById(R.id.textView1);          textView1.setText(currentDateandTime);                  \/\/ \u043e\u0431\u0449\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u0437\u0430 \u044d\u0442\u043e\u0442 \u043c\u0435\u0441\u044f\u0446                  WorkWithDatabase wwd = new WorkWithDatabase(this);         Cursor cursor = wwd.total_amount_for_this_month();                  if(cursor.moveToFirst()) {         \t         \tButton amount_per_month = (Button ) findViewById(R.id.amount_per_month);         \tamount_per_month.setText(&quot;&quot;+cursor.getInt(0)+&quot;&quot;);         }                  String[] data = {&quot;01&quot;, &quot;02&quot;, &quot;03&quot;, &quot;04&quot;, &quot;05&quot;, &quot;06&quot;, &quot;07&quot;, &quot;08&quot;, &quot;09&quot;, &quot;10&quot;, &quot;11&quot;, &quot;12&quot;};                  \/\/ \u0430\u0434\u0430\u043f\u0442\u0435\u0440         ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_spinner_item, data);         adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);                  final Spinner spinner = (Spinner) findViewById(R.id.spinner_month);         spinner.setAdapter(adapter);         \/\/ \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a         spinner.setPrompt(&quot;\u043c\u0435\u0441\u044f\u0446&quot;);                  spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {             public void onItemSelected(AdapterView&lt;?&gt; adapterView, View view, int pos, long l) {                               \tString month = spinner.getSelectedItem().toString();             \tset_selected_mont(month);             \t             }               public void onNothingSelected(AdapterView&lt;?&gt; adapterView) {                 return;             }          });       }          @Override     public boolean onCreateOptionsMenu(Menu menu) {         \/\/ Inflate the menu; this adds items to the action bar if it is present.         getMenuInflater().inflate(R.menu.main, menu);         return true;     }          public void makebutton_Click(View v){      \t\/\/ \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0430\u0442\u0443     \tTextView date = (TextView) findViewById(R.id.textView1);          \/\/ \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u0443\u043c\u043c\u0446         EditText amount = (EditText) findViewById(R.id.amount);          if(amount.toString() != &quot;&quot;)         {         \tWorkWithDatabase wwd = new WorkWithDatabase(this);             wwd.entry_costs(date, amount);                          \/\/ \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0446\u0438\u0444\u0440 \u0438\u0437 \u043f\u043e\u043b\u044f             amount.setText(&quot;&quot;);             reload_Click(v);         }      }      \/\/ \u043e\u0431\u043d\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u0431\u0449\u0435\u0439 \u0441\u0443\u043c\u043c\u044b \u0437\u0430 \u044d\u0442\u043e\u0442 \u043c\u0435\u0441\u044f\u0446     public void reload_Click(View v){     \t     \tWorkWithDatabase wwd = new WorkWithDatabase(this);         Cursor cursor = wwd.total_amount_for_this_month();                  if(cursor.moveToFirst()) {         \t         \tButton amount_per_month = (Button ) findViewById(R.id.amount_per_month);         \tamount_per_month.setText(&quot;&quot;+cursor.getInt(0)+&quot;&quot;);         }     \t     }          public void set_selected_mont(String month){     \t     \tWorkWithDatabase wwd = new WorkWithDatabase(this);         Cursor cursor = wwd.total_amount_for_selected_month(month);                  if(cursor.moveToFirst()) {         \t         \tButton amount_per_month = (Button ) findViewById(R.id.amount_per_month);         \tamount_per_month.setText(&quot;&quot;+cursor.getInt(0)+&quot;&quot;);         }     \t     }               \/\/ \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432     public void costs_Click(View v){     \tIntent intent = new Intent(MainActivity.this,CostsActivity.class);         startActivity(intent);     }          \/\/ \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043a \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438     public void howtousebutton_Click(View v){     \tIntent intent = new Intent(MainActivity.this, HowtouseActivity.class);         startActivity(intent);     }           }  <\/code><\/pre>\n<\/p><\/div>\n<\/div>\n<p>  \u041e\u0441\u043e\u0431\u043e \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0443\u0436\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u044f\u0445 \u0442\u0443\u0442 \u043d\u0435\u0442, \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043e\u0431\u0440\u0430\u0449\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0441\u043f\u043e\u0441\u043e\u0431 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438:<\/p>\n<pre><code class=\"java\">    \/\/ \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432     public void costs_Click(View v){     \tIntent intent = new Intent(MainActivity.this,CostsActivity.class);         startActivity(intent);     } <\/code><\/pre>\n<p>  \u041e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043e\u0442 \u043e\u0434\u043d\u043e\u0433\u043e Activity \u043a \u0434\u0440\u0443\u0433\u043e\u043c\u0443. <\/p>\n<h4>\u0411\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043d\u0435\u0439<\/h4>\n<p>  \u0412 Android \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0441\u0430\u043c\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 SQLite \u0438 \u043a\u043b\u0430\u0441\u0441 \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a SQLiteOpenHelper, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0437\u0430 \u043c\u0435\u043d\u044f \u0432\u0441\u044e \u0433\u0440\u044f\u0437\u043d\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443. \u0414\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u0441 MySql, \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u043e\u0441\u043e\u0431\u044b\u0445 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0435\u0439 \u0432 \u043e\u0441\u0432\u043e\u0435\u043d\u0438\u0438 \u0438 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0438. <br \/>  SQLiteOpenHelper \u0442\u0430\u043a\u0436\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u0443\u0435\u0442 \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435, \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0434\u0435\u043b\u0430\u0435\u0442 \u00ab\u0430\u043f\u0433\u0440\u0435\u0439\u0434\u00bb.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041b\u0438\u0441\u0442\u0438\u043d\u0433 \u043a\u043b\u0430\u0441\u0441\u0430 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445 WorkWithDatabase.java:<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"java\">package com.laguna.sa;  import java.text.SimpleDateFormat; import java.util.Date;  import android.annotation.SuppressLint; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.widget.EditText; import android.widget.TextView;  public class WorkWithDatabase extends SQLiteOpenHelper {   \t\/\/ \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b \u0434\u043b\u044f \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430 \tprivate static final String DATABASE_NAME = &quot;costs_database.db&quot;; \tprivate static final int DATABASE_VERSION = 1; \t\/\/\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u044b \tpublic static final String TABLE_NAME = &quot;costs&quot;; \tpublic static final String UID = &quot;_id&quot;; \tpublic static final String DATE = &quot;date&quot;; \tpublic static final String AMOUNT = &quot;amount&quot;; \tpublic static final String MONTH = &quot;month&quot;; \t     public WorkWithDatabase(Context context) { \t\tsuper(context, DATABASE_NAME, null, DATABASE_VERSION); \t\t\/\/ TODO Auto-generated constructor stub \t} \t \t \t\/\/ \u0437\u0430\u043f\u0440\u043e\u0441 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \tprivate static final String SQL_CREATE_ENTRIES = &quot;create table if not exists &quot; + TABLE_NAME + &quot;( &quot; + UID + &quot;  integer primary key autoincrement, &quot; + DATE + &quot; text not null, &quot; + AMOUNT + &quot; integer not null, &quot; + MONTH + &quot; integer not null);&quot;; \t\/\/ \u0437\u0430\u043f\u0440\u043e\u0441 \u0434\u043b\u044f \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \tprivate static final String SQL_DELETE_ENTRIES = &quot;DROP TABLE IF EXISTS &quot; + TABLE_NAME; \t \t \t \t@Override \tpublic void onCreate(SQLiteDatabase db) {  \t\tdb.execSQL(SQL_CREATE_ENTRIES); \t\t \t}  \t \t  \t@Override \tpublic void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { \t\t \t\t\/\/ \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043f\u0440\u0438 \u0430\u043f\u0433\u0440\u0435\u0439\u0434\u0435 \t\tdb.execSQL(SQL_DELETE_ENTRIES); \t\t\/\/ \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043d\u043e\u0432\u044b\u0439 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \t\tonCreate(db);  \t} \t \t \t \t \t\/\/ ------------------------------------------------------------------------------- \/\/ \t \tpublic void entry_costs(TextView date, EditText amount) { \t\t \t\tSQLiteDatabase wwd = this.getReadableDatabase(); \t\t         \/\/ \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043c\u0435\u0441\u044f\u0446\u0430         SimpleDateFormat sdf = new SimpleDateFormat(&quot;MM&quot;);         String month = sdf.format(new Date());         \/\/ \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445         ContentValues values = new ContentValues();         values.put(&quot;date&quot;, date.getText().toString());         values.put(&quot;amount&quot;, amount.getText().toString());         values.put(&quot;month&quot;, month.toString());         wwd.insert(&quot;costs&quot;, null, values);         wwd.close(); \t\t \t\t \t} \t \t \t@SuppressLint(&quot;SimpleDateFormat&quot;) \tpublic Cursor obtaining_costs_for_this_month() { \t\t \t\tSQLiteDatabase wwd = this.getReadableDatabase(); \t\t \t\tSimpleDateFormat sdf = new SimpleDateFormat(&quot;MM&quot;);         String month = sdf.format(new Date()); \t\t         String query = &quot;SELECT * FROM costs WHERE month = &quot;+ month +&quot; ORDER BY _id DESC&quot;; \t\tCursor cursor = wwd.rawQuery(query, null); \t\t \t\treturn cursor; \t} \t \t \tpublic Cursor total_amount_for_this_month() { \t\t \t\tSQLiteDatabase wwd = this.getReadableDatabase(); \t\t \t\tSimpleDateFormat sdf2 = new SimpleDateFormat(&quot;MM&quot;);         String month = sdf2.format(new Date()); \t\t         String query = &quot;SELECT SUM(amount) FROM costs WHERE month=&quot; + month + &quot;&quot;;         Cursor cursor = wwd.rawQuery(query, null);          \t\treturn cursor; \t\t \t} \t     public Cursor total_amount_for_selected_month(String month) { \t\t \t\tSQLiteDatabase wwd = this.getReadableDatabase(); \t\t         String query = &quot;SELECT SUM(amount) FROM costs WHERE month=&quot; + month + &quot;&quot;;         Cursor cursor = wwd.rawQuery(query, null);          \t\treturn cursor; \t\t \t} \t \t  } <\/code><\/pre>\n<\/p><\/div>\n<\/div>\n<p>  \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0434\u043b\u044f \u0432\u0441\u0442\u0430\u0432\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f:  <\/p>\n<pre><code class=\"java\">ContentValues values = new ContentValues(); <\/code><\/pre>\n<p>  \u0412\u0441\u0442\u0430\u0432\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 \u0441\u0442\u043e\u043b\u0431\u0435\u0446 -&gt; \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. <\/p>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0439. \u0421\u0442\u043e\u0438\u0442 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e <a href=\"http:\/\/developer.android.com\/reference\/android\/database\/Cursor.html\">Cursor<\/a>. \u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u044f \u0441\u043a\u0430\u0440\u043c\u043b\u0438\u0432\u0430\u044e \u0441\u044b\u0440\u044b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b rawQuery \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u044e \u0441 Cursor&#8217;\u043e\u043c.<\/p>\n<p>  \u0422\u0443\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, \u043b\u0438\u0441\u0442\u0438\u043d\u0433 \u0444\u0430\u0439\u043b\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u0443\u043c\u043c\u044b \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c \u044d\u043a\u0440\u0430\u043d\u0435. <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041b\u0438\u0441\u0442\u0438\u043d\u0433 \u0444\u0430\u0439\u043b\u0430 CostsActivity.java \u0438 \u0435\u0433\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"xml\">&lt;RelativeLayout xmlns:android=&quot;http:\/\/schemas.android.com\/apk\/res\/android&quot;     xmlns:tools=&quot;http:\/\/schemas.android.com\/tools&quot;     android:layout_width=&quot;match_parent&quot;     android:layout_height=&quot;match_parent&quot;     android:paddingBottom=&quot;@dimen\/activity_vertical_margin&quot;     android:paddingLeft=&quot;@dimen\/activity_horizontal_margin&quot;     android:paddingRight=&quot;@dimen\/activity_horizontal_margin&quot;     android:paddingTop=&quot;@dimen\/activity_vertical_margin&quot;     android:background=&quot;#fff&quot;     tools:context=&quot;.CostsActivity&quot; &gt;            &lt;ScrollView         android:id=&quot;@+id\/scrollView1&quot;         android:layout_width=&quot;wrap_content&quot;         android:layout_height=&quot;wrap_content&quot;         android:layout_alignParentBottom=&quot;true&quot;         android:layout_alignParentLeft=&quot;true&quot;         android:layout_alignParentRight=&quot;true&quot;         android:layout_alignParentTop=&quot;true&quot; &gt;          &lt;LinearLayout             android:id=&quot;@+id\/costslist&quot;             android:layout_width=&quot;match_parent&quot;             android:layout_height=&quot;wrap_content&quot;             android:orientation=&quot;vertical&quot; &gt;                                                             &lt;\/LinearLayout&gt;     &lt;\/ScrollView&gt;       &lt;\/RelativeLayout&gt;  <\/code><\/pre>\n<pre><code class=\"java\">package com.laguna.sa;    import android.os.Build; import android.os.Bundle; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.ActionBar.LayoutParams; import android.app.Activity; import android.database.Cursor; import android.view.Menu; import android.widget.LinearLayout; import android.widget.TextView;  public class CostsActivity extends Activity {  \t@SuppressWarnings(&quot;deprecation&quot;) \t@SuppressLint(&quot;NewApi&quot;) \t@Override \tprotected void onCreate(Bundle savedInstanceState) { \t\tsuper.onCreate(savedInstanceState); \t\tsetContentView(R.layout.activity_costs); \t\t \t\tLinearLayout linearLayout = (LinearLayout)findViewById(R.id.costslist); \t\t \t\tint sdk = android.os.Build.VERSION.SDK_INT; \t\t \t\tWorkWithDatabase wwd = new WorkWithDatabase(this); \t\tCursor cursor = wwd.obtaining_costs_for_this_month(); \t\t \t\twhile (cursor.moveToNext()) { \t\t\tint amount = cursor.getInt(cursor.getColumnIndex(&quot;amount&quot;)); \t\t\t \t\t\tString date = cursor.getString(cursor.getColumnIndex(&quot;date&quot;)); \t\t\t \t\t\tTextView dateTv = new TextView(this); \t\t\t \t\t\tLinearLayout.LayoutParams llp = new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); \t\t\tllp.setMargins(0, 1, 0, 1); \/\/ llp.setMargins(left, top, right, bottom); \t\t\t\/\/------------------------------------------------------------ \t\t\t \t\t\tif(sdk &lt; android.os.Build.VERSION_CODES.JELLY_BEAN) { \t\t\t    dateTv.setBackgroundDrawable(getResources().getDrawable(R.drawable.test)); \t\t\t} else { \t\t\t\tdateTv.setBackground(getResources().getDrawable(R.drawable.test)); \t\t\t} \t\t\t\/\/------------------------------------------------------------ \t\t\tdateTv.setLayoutParams(llp); \t\t\tdateTv.setPadding(4, 1, 2, 1); \t\t\tdateTv.setText(date + &quot; - \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043e: &quot; + amount); \t\t\tlinearLayout.addView(dateTv); \t\t\t \t\t} \t\tcursor.close(); \t\t \t\t \t}  \t@Override \tpublic boolean onCreateOptionsMenu(Menu menu) { \t\t\/\/ Inflate the menu; this adds items to the action bar if it is present. \t\tgetMenuInflater().inflate(R.menu.costs, menu); \t\treturn true; \t}  }  <\/code><\/pre>\n<\/p><\/div>\n<\/div>\n<p>  \u0412 \u0446\u0438\u043a\u043b\u0435 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043c \u043f\u043e \u0432\u0441\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043d\u0443\u0436\u043d\u044b\u0435. \u0422\u0430\u043c \u0436\u0435 \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e TextView, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0442\u0438\u043b\u0435\u0439 \u0438 \u0433\u043e\u0442\u043e\u0432\u043e. <br \/>  \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0436\u0430\u043b\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u043d\u0430 \u043c\u0435\u0442\u043e\u0434\u044b, \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0432\u0435\u0440\u0441\u0438\u044f\u043c\u0438 \u041e\u0421. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u0440\u0438\u0431\u0435\u0433\u0430\u0442\u044c \u043a \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430\u043c \u0432\u0435\u0440\u0441\u0438\u0439, \u0434\u043b\u044f \u0437\u0430\u0434\u0430\u043d\u0438\u044f Background. \u0411\u0443\u0434\u0443 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u0435\u043d \u0435\u0441\u043b\u0438 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445 \u043d\u0430\u043f\u0440\u0430\u0432\u044f\u0442 \u043d\u0430 \u043f\u0443\u0442\u044c \u0438\u0441\u0442\u0438\u043d\u043d\u044b\u0439 \u043a\u0430\u0441\u0430\u0442\u0435\u043b\u044c\u043d\u043e setBackground.<\/p>\n<h4>\u041f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. <\/h4>\n<p>  \u041f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u043c\u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0430\u0441\u044c, \u0432\u0441\u0435 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0438\u0445 \u0445\u043b\u043e\u043f\u043e\u0442. \u0412\u0435\u043b\u0438\u043a\u043e\u043b\u0435\u043f\u043d\u0430\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430, \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438. \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u043d\u043e\u0435 \u0432\u0435\u0447\u0435\u0440\u043e\u043c, \u0431\u044b\u043b\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0443\u0436\u0435 \u043d\u043e\u0447\u044c\u044e. <\/p>\n<p>  \u0421\u0430\u043c\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/lh3.ggpht.com\/bX-S5PlYKr98wvdcA9cSaTPL6_TI-a3mOCb6l8K4SQjcKGGJUeDC22za8qyJJSPGPgep=h900-rw\" alt=\"image\"\/><br \/>  <img decoding=\"async\" src=\"https:\/\/lh5.ggpht.com\/aMZHd_JXQ3JkR7gz2JNqIvWz8yK-ERFczlnhOEtOav1fG7QG_M92dya2Go3d99Wx8A=h900-rw\" alt=\"image\"\/><\/p>\n<p>  <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.laguna.sa\"><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/440\/70c\/7d7\/44070c7d73005557139f3941608a587f.png\" alt=\"image\"\/><br \/>  <\/a>    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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=\"http:\/\/habrahabr.ru\/post\/208344\/\"> http:\/\/habrahabr.ru\/post\/208344\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u0412\u0441\u0435\u043c \u0434\u043e\u0431\u0440\u0430!<\/p>\n<h4>\u0427\u0435\u043c\u0443 \u043d\u0430\u0443\u0447\u0438\u0442 \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u0441\u044f? <\/h4>\n<p>  \u0421\u0442\u0430\u0442\u044c\u044f \u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u0434\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u043f\u0440\u043e\u0445\u043e\u0434\u0446\u0435\u0432 \u0438 \u0434\u043b\u044f \u0432\u0435\u0431-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432, \u044d\u0442\u043e \u043f\u043e\u043b\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441 \u043d\u0443\u043b\u044f \u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438. \u0420\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u00ab\u0423\u0447\u0435\u0442 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432\u00bb, \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u043d\u043e\u0435 \u0432 google play. \u042d\u0442\u043e \u043c\u043e\u0435 \u043f\u0435\u0440\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0437\u043d\u0430\u043d\u0438\u0439 \u043e\u0442 \u043d\u043e\u0432\u0438\u0447\u043a\u0430 \u043a \u0437\u0430\u0431\u043b\u0443\u0434\u0448\u0435\u043c\u0443. <\/p>\n<ul>\n<li>\u041f\u043e\u043d\u0438\u043c\u0430\u0435\u043c \u0430\u0437\u044b<\/li>\n<li>\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0441 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445<\/li>\n<li>\u0414\u0435\u043b\u0430\u0435\u043c \u0432\u0435\u0440\u0441\u0442\u043a\u0443 <\/li>\n<li>\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u0443\u0435\u043c<\/li>\n<\/ul>\n<h4>\u041a\u0430\u043a \u044d\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e?<\/h4>\n<p>  \u041d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0431\u044b\u043b\u043e \u0441\u043f\u0440\u043e\u0432\u043e\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u0443 \u0438\u043c\u0435\u044e\u0449\u0438\u0445\u0441\u044f \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432. <br \/>  \u0415\u0441\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043d\u043e \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043e\u043d\u0438 \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0435\u043d\u044b \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438. <\/p>\n<h4>\u0427\u0442\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c?<\/h4>\n<p>  \u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043a \u043c\u043e\u0435\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u0431\u044b\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435:<\/p>\n<ul>\n<li>\u0423\u0447\u0435\u0442 \u0440\u0430\u0441\u0445\u043e\u0434\u0430 \u0437\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u0435\u0441\u044f\u0446<\/li>\n<li>\u0412\u0432\u043e\u0434 \u0440\u0430\u0441\u0445\u043e\u0434\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043a\u0440\u0443\u043f\u043d\u0443\u044e \u043a\u043b\u0430\u0432\u0438\u0448\u0443 \u00ab\u0432\u0432\u0435\u0441\u0442\u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u00bb<\/li>\n<li>\u041e\u0431\u0437\u043e\u0440 \u0441\u0443\u043c\u043c \u0440\u0430\u0441\u0445\u043e\u0434\u0430 \u0437\u0430 \u044d\u0442\u043e\u0442 \u043c\u0435\u0441\u044f\u0446<\/li>\n<li>\u041e\u0431\u0437\u043e\u0440 \u043e\u0431\u0449\u0435\u0439 \u0441\u0443\u043c\u043c\u044b \u0437\u0430\u0442\u0440\u0430\u0442 \u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u0435\u0441\u044f\u0446<\/li>\n<li>\u041e\u0431\u0437\u043e\u0440 \u0441\u0443\u043c\u043c\u044b \u0437\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043c\u0435\u0441\u044f\u0446<\/li>\n<\/ul>\n<p>   <\/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-208344","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/208344","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=208344"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/208344\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=208344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=208344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=208344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}