{"id":345856,"date":"2023-02-25T03:01:05","date_gmt":"2023-02-25T03:01:05","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=345856"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2023-02-25T03:01:05","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=345856","title":{"rendered":"<span>\u041a\u0440\u0430\u0442\u043a\u0438\u0439 \u043e\u0431\u0437\u043e\u0440 Layout XML \u0432 Android. \u0427\u0430\u0441\u0442\u044c 1<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u043e\u043a\u0430 \u043c\u043e\u0434\u043d\u044b\u0435 \u0438 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e\u0442 <strong>Jetpack Compose<\/strong> \u0432 \u043d\u043e\u0432\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u043c\u044b \u0441 \u0432\u0430\u043c\u0438 \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e \u0441\u0442\u0430\u0440\u043e\u0439 \u0434\u043e\u0431\u0440\u043e\u0439 <strong>XML \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0435<\/strong>. <\/p>\n<p>\u0411\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043f\u043e \u043f\u0430\u0440\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043e \u043a\u0430\u0436\u0434\u043e\u043c <strong>Layout<\/strong>, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043e\u0431\u0449\u0435\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u0431 \u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0438. \u0414\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0435\u0439 \u2014 \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u0438\u043b \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438.<\/p>\n<p>\u0421\u0442\u0430\u0442\u044c\u044f \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d\u0430 \u043d\u0430 \u0442\u0435\u0445, \u043a\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043d\u0430 <strong>Android<\/strong>, \u043d\u043e, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0438 \u0431\u043e\u043b\u0435\u0435 \u043e\u043f\u044b\u0442\u043d\u044b\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u043e\u0447\u0435\u0440\u043f\u043d\u0443\u0442 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/35a\/4a3\/d96\/35a4a3d96a37a815d2455ff5b8ea7900.PNG\" width=\"680\" height=\"411\"\/><figcaption><\/figcaption><\/figure>\n<h3>1. FrameLayout<\/h3>\n<ul>\n<li>\n<p>\u0421\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0442\u0438\u043f \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438.<\/p>\n<\/li>\n<li>\n<p>\u0412\u0441\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b FrameLayout \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u044f\u044e\u0442\u0441\u044f \u043a \u0432\u0435\u0440\u0445\u043d\u0435\u043c\u0443 \u043b\u0435\u0432\u043e\u043c\u0443 \u0443\u0433\u043b\u0443 \u044d\u043a\u0440\u0430\u043d\u0430.<\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0435\u00a0<strong>FrameLayout<\/strong>\u00a0\u043d\u0435\u043b\u044c\u0437\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430. \u041f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b\u00a0<strong>View<\/strong>\u00a0\u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0432\u0435\u0440\u0445 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432, \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u0442\u0435\u043d\u044f\u044f \u0438\u0445, \u0435\u0441\u043b\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u0439\u0441\u044f \u0441\u0432\u0435\u0440\u0445\u0443 \u043e\u0431\u044a\u0435\u043a\u0442 \u043d\u0435\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u0435\u043d, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0434\u043b\u044f\u00a0<strong>FrameLayout<\/strong>\u00a0\u043e\u0431\u044b\u0447\u043d\u043e \u0440\u0430\u0441\u0442\u044f\u043d\u0443\u0442 \u0434\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0438 \u0438\u043c\u0435\u0435\u0442 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b:  <\/p>\n<pre><code>android:layout_width=\"match_parent\"  android:layout_height=\"match_parent\" <\/code><\/pre>\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435:<\/strong>\u00a0<a href=\"http:\/\/developer.alexanderklimov.ru\/android\/layout\/framelayout.php\" rel=\"noopener noreferrer nofollow\">FrameLayout &#8212; \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u041a\u043b\u0438\u043c\u043e\u0432<\/a>  <\/p>\n<h3>2.\u00a0CoordinatorLayout<\/h3>\n<ul>\n<li>\n<p>\u042f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u0441\u043b\u0435\u0434\u043d\u0438\u043a\u043e\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e\u00a0<strong>FrameLayout<\/strong>.<\/p>\n<\/li>\n<li>\n<p>\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0444\u0438\u0448\u043a\u0430\u00a0<strong>CoordinatorLayout<\/strong>\u00a0\u2014 \u0441\u0432\u043e\u0438\u00a0<strong>Default behavior<\/strong>, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e\u00a0<strong>Behaviors<\/strong>\u00a0\u043c\u043e\u0436\u043d\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0439\u00a0<strong>View<\/strong>.<\/p>\n<\/li>\n<\/ul>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e\u00a0<strong>CoordinatorLayou<\/strong>t \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0435\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e \u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u044b \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439 \u0432 \u0441\u0430\u043c\u043e\u043c \u0444\u0430\u0439\u043b\u0435 XML.<\/p>\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435:<\/strong>  <br \/><a href=\"https:\/\/learntutorials.net\/ru\/android\/topic\/5714\/%D0%BA%D0%BE%D0%BE%D1%80%D0%B4%D0%B8%D0%BD%D0%B0%D1%82%D0%BE%D1%80layout-%D0%B8-%D0%BF%D0%BE%D0%B2%D0%B5%D0%B4%D0%B5%D0%BD%D0%B8%D0%B5\" rel=\"noopener noreferrer nofollow\">CoordinatorLayout &#8212; learntutorials.net<\/a>  <br \/><a href=\"https:\/\/temofeev.ru\/info\/articles\/kak-vnedrit-chto-to-svoye-v-coordinatorlayout-i-ne-umeret-put-android-samuraya\" rel=\"noopener noreferrer nofollow\">CoordinatorLayout &#8212; temofeev.ru<\/a>  <\/p>\n<h3>3. LinearLayout<\/h3>\n<ul>\n<li>\n<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0434\u0432\u0443\u043c\u044f \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u043c\u0438 \u2014\u00a0<strong>Horizontal<\/strong>\u00a0\u0438\u00a0<strong>Vertical<\/strong>.<\/p>\n<\/li>\n<li>\n<p>\u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0432 \u043e\u0434\u043d\u043e\u043c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u2014 \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u043e \u0438\u043b\u0438 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e.<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438\u00a0<strong>android:orientation<\/strong>:<\/p>\n<pre><code>android:orientation=\"horizontal\" android:orientation=\"vertical\"<\/code><\/pre>\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435:<\/strong>\u00a0<a href=\"http:\/\/developer.alexanderklimov.ru\/android\/layout\/linearlayout.php\" rel=\"noopener noreferrer nofollow\">LinearLayout &#8212; \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u041a\u043b\u0438\u043c\u043e\u0432<\/a>  <\/p>\n<h3>4. TableLayout<\/h3>\n<ul>\n<li>\n<p>\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0432 \u0432\u0438\u0434\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u0430\u043c \u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u043c.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043b\u0438\u043d\u0438\u0438 \u043e\u0431\u0440\u0430\u043c\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0441\u0442\u0440\u043e\u043a, \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u0438\u043b\u0438 \u044f\u0447\u0435\u0435\u043a.<\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u044f\u0447\u0435\u0435\u043a \u0432 \u0440\u0430\u0437\u043d\u044b\u0445\u00a0<strong>\u0441\u0442\u0440\u043e\u043a\u0430\u0445<\/strong>\u00a0\u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u0438 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0441\u0442\u0440\u043e\u043a\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f\u0447\u0435\u0439\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u043c\u0438.<\/p>\n<\/li>\n<\/ul>\n<p>\u0414\u043b\u044f \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u043e\u043a \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442\u00a0<strong>TableRow<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u00a0<strong>TableLayout<\/strong>. \u041a\u0430\u0436\u0434\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 <strong>TableRow<\/strong> \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435. \u042f\u0447\u0435\u0439\u043a\u0438 \u0441\u0442\u0440\u043e\u043a\u0438 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u043c\u0438 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. \u0412 \u044f\u0447\u0435\u0439\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u0432\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439\u00a0<strong>TableLayout<\/strong>\u00a0\u0438\u043b\u0438\u00a0<strong>LinearLayout<\/strong>. \u042d\u0442\u043e\u0442 \u0432\u0438\u0434 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438\u0433\u0440 \u0442\u0438\u043f\u0430 \u0421\u0443\u0434\u043e\u043a\u0443, \u041a\u0440\u0435\u0441\u0442\u0438\u043a\u0438-\u041d\u043e\u043b\u0438\u043a\u0438 \u0438 \u0442.\u043f.<\/p>\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435:<br \/><\/strong><a href=\"https:\/\/java-online.ru\/android-tablelayout.xhtml\" rel=\"noopener noreferrer nofollow\">TableLayout &#8212; java-online.ru<\/a>  <br \/><a href=\"http:\/\/developer.alexanderklimov.ru\/android\/layout\/tablelayout.php\" rel=\"noopener noreferrer nofollow\">TableLayout &#8212; \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u041a\u043b\u0438\u043c\u043e\u0432<\/a>  <\/p>\n<h3>5. GridLayout<\/h3>\n<ul>\n<li>\n<p>\u0414\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443 \u0438 \u043a\u043e\u043b\u043e\u043d\u043a\u0443, \u0438 \u0432 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u043c\u0435\u0449\u0451\u043d.<\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0441\u0442\u044f\u0433\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f\u0447\u0435\u0435\u043a \u0442\u0430\u0431\u043b\u0438\u0446\u044b.<\/p>\n<\/li>\n<li>\n<p>\u0412 \u043e\u0434\u043d\u0443 \u044f\u0447\u0435\u0439\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432.<\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0435 \u043d\u0435\u043b\u044c\u0437\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u0432\u0435\u0441\u0430, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u043d \u043d\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u0445\u00a0<strong>GridLayout<\/strong>. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u00a0<strong>layout_gravity<\/strong>.<\/p>\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435:<br \/><\/strong><a href=\"https:\/\/metanit.com\/java\/android\/3.6.php\" rel=\"noopener noreferrer nofollow\">GridLayout &#8212; metanit.com<\/a>  <br \/><a href=\"http:\/\/developer.alexanderklimov.ru\/android\/layout\/gridlayout.php\" rel=\"noopener noreferrer nofollow\">GridLayout &#8212; \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u041a\u043b\u0438\u043c\u043e\u0432<\/a>   <\/p>\n<h3>6. SwipeRefreshLayout<\/h3>\n<ul>\n<li>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 &#171;\u043f\u0440\u043e\u0432\u0435\u0434\u0438 \u043f\u0430\u043b\u044c\u0446\u0435\u043c \u0432\u043d\u0438\u0437, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044e (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c)&#187;.<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435<\/strong>:<br \/><a href=\"https:\/\/habr.com\/ru\/post\/218365\/\" rel=\"noopener noreferrer nofollow\">SwipeRefreshLayout &#8212; habr.com<\/a>  <br \/><a href=\"https:\/\/javadevblog.com\/primer-ispol-zovaniya-swiperefreshlayout-v-android.html\" rel=\"noopener noreferrer nofollow\">SwipeRefreshLayout &#8212; javadevblog.com<\/a>  <br \/><a href=\"http:\/\/developer.alexanderklimov.ru\/android\/layout\/swiperefreshlayout.php\" rel=\"noopener noreferrer nofollow\">SwipeRefreshLayout &#8212; \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u041a\u043b\u0438\u043c\u043e\u0432<\/a>  <\/p>\n<h3>7. RelativeLayout<\/h3>\n<ul>\n<li>\n<p>\u0420\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0438\u043b\u0438 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0441\u0430\u043c\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438\u00a0<strong>RelativeLayout<\/strong>.<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435<\/strong>:<br \/><a href=\"https:\/\/metanit.com\/java\/android\/3.3.php\" rel=\"noopener noreferrer nofollow\">RelativeLayout &#8212; metanit.com<\/a>  <br \/><a href=\"https:\/\/developer.alexanderklimov.ru\/android\/layout\/relativelayout.php\" rel=\"noopener noreferrer nofollow\">RelativeLayout &#8212; \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u041a\u043b\u0438\u043c\u043e\u0432<\/a>  <\/p>\n<hr\/>\n<h4>\u0411\u043e\u043d\u0443\u0441 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043b\u044e\u0431\u0438\u0442 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0438\u0442\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u0438, \u0430 \u0435\u0449\u0435 \u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0438\u0434\u0435\u043e:<\/h4>\n<p>\u0412\u0438\u0434\u0435\u043e\u00a0<a href=\"https:\/\/www.youtube.com\/watch?v=KK_t3e-1Z1o&amp;list=PLRmiL0mct8WnodKkGLpBN0mfXIbAAX-Ux&amp;index=3\" rel=\"noopener noreferrer nofollow\">\u041e\u0441\u043d\u043e\u0432\u044b XML-\u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f &#8212; Roman Andrushchenko<\/a><br \/>\u0412\u0438\u0434\u0435\u043e\u00a0<a href=\"https:\/\/www.youtube.com\/watch?v=wXlG9MRDix0&amp;list=PLRmiL0mct8WnodKkGLpBN0mfXIbAAX-Ux&amp;index=4\" rel=\"noopener noreferrer nofollow\">FrameLayout, LinearLayout, GridLayout &#8212; Roman Andrushchenko<\/a><br \/>\u0412\u0438\u0434\u0435\u043e\u00a0<a href=\"https:\/\/www.youtube.com\/watch?v=uScCjYAC2ck&amp;list=PLRmiL0mct8WnodKkGLpBN0mfXIbAAX-Ux&amp;index=7\" rel=\"noopener noreferrer nofollow\">\u041a\u0440\u0430\u0442\u043a\u0438\u0439 \u043e\u0431\u0437\u043e\u0440 \u0431\u0430\u0437\u043e\u0432\u044b\u0445 UI-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 &#8212; Roman Andrushchenko<\/a><\/p>\n<hr\/>\n<p><em>\u0425\u043c, \u0430 \u0433\u0434\u0435 \u0436\u0435 <\/em><strong><em>ConstraintLayout<\/em><\/strong><em>? \u0422\u044b \u0447\u0442\u043e, \u0437\u0430\u0431\u044b\u043b \u043f\u0440\u043e \u0441\u0430\u043c\u044b\u0439 \u043a\u0440\u0443\u0442\u043e\u0439 \u043c\u0430\u043a\u0435\u0442?<br \/><\/em><br \/>\u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0443 <strong>ConstraintLayout<em> <\/em><\/strong>\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0438 &#171;\u0444\u0438\u0448\u0435\u043a&#187;, \u0447\u0442\u043e \u043b\u043e\u0433\u0438\u0447\u043d\u0435\u0435 \u043f\u043e\u0441\u0432\u044f\u0442\u0438\u0442\u044c \u0435\u043c\u0443 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e, \u0430 \u043d\u0435 \u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0432\u043f\u0438\u0445\u043d\u0443\u0442\u044c \u0432\u0441\u0435 \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u0447\u0430\u0441\u0442\u044c. <\/p>\n<p>\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0438 \u0441 <strong>MotionLayout\u00a0<\/strong> \u2014\u00a0 \u043f\u0440\u043e \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e \u0435\u0441\u0442\u044c \u0441\u043c\u044b\u0441\u043b \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0447\u0430\u0441\u0442\u044f\u0445 \u043e\u0431\u0437\u043e\u0440\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p> <!----> <!----><\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/718890\/\"> https:\/\/habr.com\/ru\/post\/718890\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u043e\u043a\u0430 \u043c\u043e\u0434\u043d\u044b\u0435 \u0438 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e\u0442 <strong>Jetpack Compose<\/strong> \u0432 \u043d\u043e\u0432\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u043c\u044b \u0441 \u0432\u0430\u043c\u0438 \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e \u0441\u0442\u0430\u0440\u043e\u0439 \u0434\u043e\u0431\u0440\u043e\u0439 <strong>XML \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0435<\/strong>. <\/p>\n<p>\u0411\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043f\u043e \u043f\u0430\u0440\u0435 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043e \u043a\u0430\u0436\u0434\u043e\u043c <strong>Layout<\/strong>, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043e\u0431\u0449\u0435\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u0431 \u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0438. \u0414\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0435\u0439 \u2014 \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u0438\u043b \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438.<\/p>\n<p>\u0421\u0442\u0430\u0442\u044c\u044f \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d\u0430 \u043d\u0430 \u0442\u0435\u0445, \u043a\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043d\u0430 <strong>Android<\/strong>, \u043d\u043e, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0438 \u0431\u043e\u043b\u0435\u0435 \u043e\u043f\u044b\u0442\u043d\u044b\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u043e\u0447\u0435\u0440\u043f\u043d\u0443\u0442 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h3>1. FrameLayout<\/h3>\n<ul>\n<li>\n<p>\u0421\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0442\u0438\u043f \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438.<\/p>\n<\/li>\n<li>\n<p>\u0412\u0441\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b FrameLayout \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u044f\u044e\u0442\u0441\u044f \u043a \u0432\u0435\u0440\u0445\u043d\u0435\u043c\u0443 \u043b\u0435\u0432\u043e\u043c\u0443 \u0443\u0433\u043b\u0443 \u044d\u043a\u0440\u0430\u043d\u0430.<\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0435\u00a0<strong>FrameLayout<\/strong>\u00a0\u043d\u0435\u043b\u044c\u0437\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430. \u041f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b\u00a0<strong>View<\/strong>\u00a0\u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0432\u0435\u0440\u0445 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432, \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u0442\u0435\u043d\u044f\u044f \u0438\u0445, \u0435\u0441\u043b\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u0439\u0441\u044f \u0441\u0432\u0435\u0440\u0445\u0443 \u043e\u0431\u044a\u0435\u043a\u0442 \u043d\u0435\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u0435\u043d, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0434\u043b\u044f\u00a0<strong>FrameLayout<\/strong>\u00a0\u043e\u0431\u044b\u0447\u043d\u043e \u0440\u0430\u0441\u0442\u044f\u043d\u0443\u0442 \u0434\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0438 \u0438\u043c\u0435\u0435\u0442 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b:  <\/p>\n<pre><code>android:layout_width=\"match_parent\"  android:layout_height=\"match_parent\" <\/code><\/pre>\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435:<\/strong>\u00a0<a href=\"http:\/\/developer.alexanderklimov.ru\/android\/layout\/framelayout.php\" rel=\"noopener noreferrer nofollow\">FrameLayout &#8212; \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u041a\u043b\u0438\u043c\u043e\u0432<\/a>  <\/p>\n<h3>2.\u00a0CoordinatorLayout<\/h3>\n<ul>\n<li>\n<p>\u042f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u0441\u043b\u0435\u0434\u043d\u0438\u043a\u043e\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e\u00a0<strong>FrameLayout<\/strong>.<\/p>\n<\/li>\n<li>\n<p>\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0444\u0438\u0448\u043a\u0430\u00a0<strong>CoordinatorLayout<\/strong>\u00a0\u2014 \u0441\u0432\u043e\u0438\u00a0<strong>Default behavior<\/strong>, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e\u00a0<strong>Behaviors<\/strong>\u00a0\u043c\u043e\u0436\u043d\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0439\u00a0<strong>View<\/strong>.<\/p>\n<\/li>\n<\/ul>\n<p>\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e\u00a0<strong>CoordinatorLayou<\/strong>t \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0435\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e \u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u044b \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439 \u0432 \u0441\u0430\u043c\u043e\u043c \u0444\u0430\u0439\u043b\u0435 XML.<\/p>\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435:<\/strong>  <br \/><a href=\"https:\/\/learntutorials.net\/ru\/android\/topic\/5714\/%D0%BA%D0%BE%D0%BE%D1%80%D0%B4%D0%B8%D0%BD%D0%B0%D1%82%D0%BE%D1%80layout-%D0%B8-%D0%BF%D0%BE%D0%B2%D0%B5%D0%B4%D0%B5%D0%BD%D0%B8%D0%B5\" rel=\"noopener noreferrer nofollow\">CoordinatorLayout &#8212; learntutorials.net<\/a>  <br \/><a href=\"https:\/\/temofeev.ru\/info\/articles\/kak-vnedrit-chto-to-svoye-v-coordinatorlayout-i-ne-umeret-put-android-samuraya\" rel=\"noopener noreferrer nofollow\">CoordinatorLayout &#8212; temofeev.ru<\/a>  <\/p>\n<h3>3. LinearLayout<\/h3>\n<ul>\n<li>\n<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0434\u0432\u0443\u043c\u044f \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u043c\u0438 \u2014\u00a0<strong>Horizontal<\/strong>\u00a0\u0438\u00a0<strong>Vertical<\/strong>.<\/p>\n<\/li>\n<li>\n<p>\u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0432 \u043e\u0434\u043d\u043e\u043c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u2014 \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u043e \u0438\u043b\u0438 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e.<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438\u00a0<strong>android:orientation<\/strong>:<\/p>\n<pre><code>android:orientation=\"horizontal\" android:orientation=\"vertical\"<\/code><\/pre>\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435:<\/strong>\u00a0<a href=\"http:\/\/developer.alexanderklimov.ru\/android\/layout\/linearlayout.php\" rel=\"noopener noreferrer nofollow\">LinearLayout &#8212; \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u041a\u043b\u0438\u043c\u043e\u0432<\/a>  <\/p>\n<h3>4. TableLayout<\/h3>\n<ul>\n<li>\n<p>\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0432 \u0432\u0438\u0434\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u0430\u043c \u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u043c.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043b\u0438\u043d\u0438\u0438 \u043e\u0431\u0440\u0430\u043c\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0441\u0442\u0440\u043e\u043a, \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u0438\u043b\u0438 \u044f\u0447\u0435\u0435\u043a.<\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u044f\u0447\u0435\u0435\u043a \u0432 \u0440\u0430\u0437\u043d\u044b\u0445\u00a0<strong>\u0441\u0442\u0440\u043e\u043a\u0430\u0445<\/strong>\u00a0\u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u0438 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0441\u0442\u0440\u043e\u043a\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f\u0447\u0435\u0439\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u043c\u0438.<\/p>\n<\/li>\n<\/ul>\n<p>\u0414\u043b\u044f \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u043e\u043a \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442\u00a0<strong>TableRow<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u00a0<strong>TableLayout<\/strong>. \u041a\u0430\u0436\u0434\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 <strong>TableRow<\/strong> \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435. \u042f\u0447\u0435\u0439\u043a\u0438 \u0441\u0442\u0440\u043e\u043a\u0438 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u043c\u0438 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. \u0412 \u044f\u0447\u0435\u0439\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u0432\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439\u00a0<strong>TableLayout<\/strong>\u00a0\u0438\u043b\u0438\u00a0<strong>LinearLayout<\/strong>. \u042d\u0442\u043e\u0442 \u0432\u0438\u0434 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438\u0433\u0440 \u0442\u0438\u043f\u0430 \u0421\u0443\u0434\u043e\u043a\u0443, \u041a\u0440\u0435\u0441\u0442\u0438\u043a\u0438-\u041d\u043e\u043b\u0438\u043a\u0438 \u0438 \u0442.\u043f.<\/p>\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435:<br \/><\/strong><a href=\"https:\/\/java-online.ru\/android-tablelayout.xhtml\" rel=\"noopener noreferrer nofollow\">TableLayout &#8212; java-online.ru<\/a>  <br \/><a href=\"http:\/\/developer.alexanderklimov.ru\/android\/layout\/tablelayout.php\" rel=\"noopener noreferrer nofollow\">TableLayout &#8212; \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u041a\u043b\u0438\u043c\u043e\u0432<\/a>  <\/p>\n<h3>5. GridLayout<\/h3>\n<ul>\n<li>\n<p>\u0414\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443 \u0438 \u043a\u043e\u043b\u043e\u043d\u043a\u0443, \u0438 \u0432 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u043c\u0435\u0449\u0451\u043d.<\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0441\u0442\u044f\u0433\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f\u0447\u0435\u0435\u043a \u0442\u0430\u0431\u043b\u0438\u0446\u044b.<\/p>\n<\/li>\n<li>\n<p>\u0412 \u043e\u0434\u043d\u0443 \u044f\u0447\u0435\u0439\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432.<\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0435 \u043d\u0435\u043b\u044c\u0437\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u0432\u0435\u0441\u0430, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u043d \u043d\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u0445\u00a0<strong>GridLayout<\/strong>. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u00a0<strong>layout_gravity<\/strong>.<\/p>\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435:<br \/><\/strong><a href=\"https:\/\/metanit.com\/java\/android\/3.6.php\" rel=\"noopener noreferrer nofollow\">GridLayout &#8212; metanit.com<\/a>  <br \/><a href=\"http:\/\/developer.alexanderklimov.ru\/android\/layout\/gridlayout.php\" rel=\"noopener noreferrer nofollow\">GridLayout &#8212; \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u041a\u043b\u0438\u043c\u043e\u0432<\/a>   <\/p>\n<h3>6. SwipeRefreshLayout<\/h3>\n<ul>\n<li>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 &#171;\u043f\u0440\u043e\u0432\u0435\u0434\u0438 \u043f\u0430\u043b\u044c\u0446\u0435\u043c \u0432\u043d\u0438\u0437, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044e (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c)&#187;.<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435<\/strong>:<br \/><a href=\"https:\/\/habr.com\/ru\/post\/218365\/\" rel=\"noopener noreferrer nofollow\">SwipeRefreshLayout &#8212; habr.com<\/a>  <br \/><a href=\"https:\/\/javadevblog.com\/primer-ispol-zovaniya-swiperefreshlayout-v-android.html\" rel=\"noopener noreferrer nofollow\">SwipeRefreshLayout &#8212; javadevblog.com<\/a>  <br \/><a href=\"http:\/\/developer.alexanderklimov.ru\/android\/layout\/swiperefreshlayout.php\" rel=\"noopener noreferrer nofollow\">SwipeRefreshLayout &#8212; \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u041a\u043b\u0438\u043c\u043e\u0432<\/a>  <\/p>\n<h3>7. RelativeLayout<\/h3>\n<ul>\n<li>\n<p>\u0420\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0438\u043b\u0438 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0441\u0430\u043c\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438\u00a0<strong>RelativeLayout<\/strong>.<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435<\/strong>:<br \/><a href=\"https:\/\/metanit.com\/java\/android\/3.3.php\" rel=\"noopener noreferrer nofollow\">RelativeLayout &#8212; metanit.com<\/a>  <br \/><a href=\"https:\/\/developer.alexanderklimov.ru\/android\/layout\/relativelayout.php\" rel=\"noopener noreferrer nofollow\">RelativeLayout &#8212; \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440 \u041a\u043b\u0438\u043c\u043e\u0432<\/a>  <\/p>\n<hr\/>\n<h4>\u0411\u043e\u043d\u0443\u0441 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043b\u044e\u0431\u0438\u0442 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0438\u0442\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u0438, \u0430 \u0435\u0449\u0435 \u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0438\u0434\u0435\u043e:<\/h4>\n<p>\u0412\u0438\u0434\u0435\u043e\u00a0<a href=\"https:\/\/www.youtube.com\/watch?v=KK_t3e-1Z1o&amp;list=PLRmiL0mct8WnodKkGLpBN0mfXIbAAX-Ux&amp;index=3\" rel=\"noopener noreferrer nofollow\">\u041e\u0441\u043d\u043e\u0432\u044b XML-\u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f &#8212; Roman Andrushchenko<\/a><br \/>\u0412\u0438\u0434\u0435\u043e\u00a0<a href=\"https:\/\/www.youtube.com\/watch?v=wXlG9MRDix0&amp;list=PLRmiL0mct8WnodKkGLpBN0mfXIbAAX-Ux&amp;index=4\" rel=\"noopener noreferrer nofollow\">FrameLayout, LinearLayout, GridLayout &#8212; Roman Andrushchenko<\/a><br \/>\u0412\u0438\u0434\u0435\u043e\u00a0<a href=\"https:\/\/www.youtube.com\/watch?v=uScCjYAC2ck&amp;list=PLRmiL0mct8WnodKkGLpBN0mfXIbAAX-Ux&amp;index=7\" rel=\"noopener noreferrer nofollow\">\u041a\u0440\u0430\u0442\u043a\u0438\u0439 \u043e\u0431\u0437\u043e\u0440 \u0431\u0430\u0437\u043e\u0432\u044b\u0445 UI-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 &#8212; Roman Andrushchenko<\/a><\/p>\n<hr\/>\n<p><em>\u0425\u043c, \u0430 \u0433\u0434\u0435 \u0436\u0435 <\/em><strong><em>ConstraintLayout<\/em><\/strong><em>? \u0422\u044b \u0447\u0442\u043e, \u0437\u0430\u0431\u044b\u043b \u043f\u0440\u043e \u0441\u0430\u043c\u044b\u0439 \u043a\u0440\u0443\u0442\u043e\u0439 \u043c\u0430\u043a\u0435\u0442?<br \/><\/em><br \/>\u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0443 <strong>ConstraintLayout<em> <\/em><\/strong>\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0438 &#171;\u0444\u0438\u0448\u0435\u043a&#187;, \u0447\u0442\u043e \u043b\u043e\u0433\u0438\u0447\u043d\u0435\u0435 \u043f\u043e\u0441\u0432\u044f\u0442\u0438\u0442\u044c \u0435\u043c\u0443 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e, \u0430 \u043d\u0435 \u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0432\u043f\u0438\u0445\u043d\u0443\u0442\u044c \u0432\u0441\u0435 \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u0447\u0430\u0441\u0442\u044c. <\/p>\n<p>\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0438 \u0441 <strong>MotionLayout\u00a0<\/strong> \u2014\u00a0 \u043f\u0440\u043e \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e \u0435\u0441\u0442\u044c \u0441\u043c\u044b\u0441\u043b \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0447\u0430\u0441\u0442\u044f\u0445 \u043e\u0431\u0437\u043e\u0440\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p> <!----> <!----><\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/718890\/\"> https:\/\/habr.com\/ru\/post\/718890\/<\/a><br \/><\/br><\/br><\/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-345856","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/345856","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=345856"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/345856\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=345856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=345856"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=345856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}