{"id":287718,"date":"2018-08-16T14:15:17","date_gmt":"2018-08-16T10:15:17","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=287718"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=287718","title":{"rendered":"\u00ab\u041f\u043e\u044f\u0441\u043d\u044f\u0435\u043c \u0437\u0430 \u0447\u0451\u043b\u043a\u0443\u00bb \u0432 Android P. \u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0441 Android Cutout?"},"content":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/company\/funcorp\/blog\/419109\/\" class=\"post__text post__text-html js-mediator-article\"><s>\u0413\u043e\u0440\u0435\u043b \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c 2007 \u0433\u043e\u0434\u0430.<\/s> \u0428\u0451\u043b \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c 2017 \u0433\u043e\u0434\u0430, Apple \u0432\u0435\u0440\u043d\u0443\u043b\u0438 \u043c\u043e\u0434\u0443 \u043d\u0430 \u0447\u0451\u043b\u043a\u0443, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0432 iPhone X. \u041d\u0435\u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0447\u0442\u043e \u043d\u0430\u0448\u0438 \u0434\u0440\u0443\u0437\u044c\u044f \u0438\u0437 \u041a\u0438\u0442\u0430\u044f, \u043d\u0435\u0434\u043e\u043b\u0433\u043e \u0434\u0443\u043c\u0430\u044f, \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u044d\u0442\u043e\u0442 \u0434\u0438\u0437\u0430\u0439\u043d \u0443 Apple (\u0445\u043e\u0442\u044f \u0441\u0430\u043c\u0430\u044f \u043f\u0435\u0440\u0432\u0430\u044f \u043c\u0438\u043d\u0438-\u0447\u0451\u043b\u043a\u0430 \u0431\u044b\u043b\u0430 \u0435\u0449\u0451 \u0432 Essential Phone, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u0432\u0437\u043b\u0435\u0442\u0435\u043b). \u041d\u043e \u0447\u0442\u043e \u043c\u044b \u0432\u0438\u0434\u0438\u043c \u0441\u0435\u0439\u0447\u0430\u0441? Huawei P20, Asus Zenfone 5, OnePlus 6, Motorola One Power, Xiaomi Redmi 6 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0431\u043e\u043b\u0435\u0435-\u043c\u0435\u043d\u0435\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u0438 \u0443\u0436\u0435 \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u044e\u0442 \u0438\u043b\u0438 \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u044b \u0441 \u0447\u0451\u043b\u043a\u043e\u0439. Samsung \u0438 Google \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u043c\u0438 \u043e\u043f\u043b\u043e\u0442\u0430\u043c\u0438 \u0432 \u044d\u0442\u043e\u0439 <s>\u0433\u043e\u043d\u043a\u0435 \u0437\u0430 \u0445\u0430\u0439\u043f\u043e\u043c<\/s> \u0431\u043e\u0440\u044c\u0431\u0435 \u0437\u0430 \u0431\u0435\u0437\u0440\u0430\u043c\u043e\u0447\u043d\u043e\u0441\u0442\u044c. \u0418\u043b\u0438 \u043d\u0435\u0442? \u041f\u043e \u0441\u043b\u0443\u0445\u0430\u043c, Google Pixel 3 XL \u0442\u043e\u0436\u0435 \u0431\u0443\u0434\u0435\u0442 <s>\u0441 \u044d\u0442\u043e\u0439 \u0445\u0440\u0435\u043d\u044c\u044e<\/s> \u0441 \u0438\u0437\u044f\u0449\u043d\u044b\u043c \u0432\u044b\u0440\u0435\u0437\u043e\u043c. \u0427\u0442\u043e \u0436, \u043d\u0430\u043c, \u043a\u0430\u043a \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c, \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0434 \u044d\u0442\u043e\u0442 \u0432\u044b\u0440\u0435\u0437, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0441\u043c\u043e\u0433\u043b\u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u043e \u0438\u043c\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f. \u0417\u0430 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/vc\/za\/ep\/vczaephxhgg4entua42pcfj4rxa.png\"><br \/>  <a name=\"habracut\"><\/a><br \/>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f, \u043d\u0443\u0436\u043d\u0430 \u043b\u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e?<br \/>  \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 fullscreen-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438\u043b\u0438 \u0432 \u0442\u0435\u043c\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 <code>windowActionBarOverlay = true<\/code>, \u0442\u043e \u0441 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e \u043d\u0443\u0436\u043d\u0430.<\/p>\n<p>  \u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441\u043e\u0441\u0442\u043e\u044f\u0442 \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u044d\u043a\u0440\u0430\u043d\u0430, \u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u043a\u0430\u043a \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043d\u0438\u0445 \u043f\u043e\u0435\u0434\u0435\u0442 \u0432\u0451\u0440\u0441\u0442\u043a\u0430. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0435\u0441\u043b\u0438 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u043e\u0431\u044a\u0451\u043c\u043d\u044b\u0439 legacy code. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0442\u043e\u0438\u0442 \u0432\u0441\u0451-\u0442\u0430\u043a\u0438 \u043f\u0440\u043e\u0439\u0442\u0438\u0441\u044c \u043f\u043e \u0432\u0441\u0435\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u044d\u043a\u0440\u0430\u043d\u0430\u043c \u0438 \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0451\u043c\u0441\u044f, \u0447\u0442\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c.<\/p>\n<h4>1. \u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0434\u0435\u0432\u0430\u0439\u0441\/\u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440<\/h4>\n<p>  \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441 \u0447\u0451\u043b\u043a\u043e\u0439, \u043d\u0443\u0436\u043d\u0430 (\u0441\u043f\u0430\u0441\u0438\u0431\u043e, \u043a\u044d\u043f!) Android P. \u0412 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0432\u0435\u0440\u0441\u0438\u044f Android P Preview 5 \u0434\u043b\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 (\u0441\u043f\u0430\u0441\u0438\u0431\u043e Project Treble):<br \/>  Essential Phone;<br \/>  Google Pixel 2;<br \/>  Google Pixel 2 XL;<br \/>  Google Pixel;<br \/>  Google Pixel XL;<br \/>  Nokia 7 plus;<br \/>  OnePlus 6;<br \/>  Oppo R15 Pro;<br \/>  Sony Xperia XZ2;<br \/>  Vivo X21UD;<br \/>  Vivo X21;<br \/>  Xiaomi Mi Mix 2S.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c Android P \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 <a href=\"https:\/\/developer.android.com\/preview\/devices\/\">\u0441\u044e\u0434\u0430<\/a> \u0438 \u043d\u0430\u0436\u0430\u0442\u044c \u00ab\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u0435\u0442\u0430-\u0432\u0435\u0440\u0441\u0438\u044e\u00bb \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430. \u041f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0435\u0451 \u043f\u043e \u0432\u043e\u0437\u0434\u0443\u0445\u0443 \u0438\u043b\u0438 \u043d\u0430\u043a\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u043c\u0443 \u2014 \u0432\u044b\u0431\u043e\u0440 \u0437\u0430 \u0432\u0430\u043c\u0438. \u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u043f\u0440\u0438\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f.<br \/>  \u041d\u043e \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u043b\u0438 \u043d\u0435 \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c Android P \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0442\u043e \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043e\u0442\u043c\u0435\u043d\u044f\u043b \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440. \u0418\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 <a href=\"https:\/\/developer.android.com\/preview\/get\">\u0442\u0443\u0442<\/a>.<\/p>\n<h4>2. \u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u0430\u043c\u0443 \u0447\u0451\u043b\u043a\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e (\u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u043e\u0439)<\/h4>\n<p>  \u0422\u0443\u0442 \u0432\u0441\u0451 \u043f\u0440\u043e\u0441\u0442\u043e: \u0438\u0434\u0451\u043c \u0432 System -&gt; Developer options -&gt; Simulate a display with a cutout.<br \/>  \u0417\u0434\u0435\u0441\u044c \u043d\u0430 \u0432\u044b\u0431\u043e\u0440 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f 3 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430:  <\/p>\n<ul>\n<li>Corner<\/li>\n<li>Double<\/li>\n<li>Tall<\/li>\n<\/ul>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/cz\/oo\/pw\/czoopw-4xddmw5l5f9k9-obslpa.png\" width=\"300\"><br \/>  \u0412\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u043e\u043d\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:  <\/p>\n<table>\n<tr>\n<th>Corner<\/th>\n<th>Double<\/th>\n<th>Tall<\/th>\n<\/tr>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/hs\/x2\/4b\/hsx24b9mdq9bf3i1wl50vycxpru.png\"><\/td>\n<td><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/pq\/ta\/hj\/pqtahjumpjjnulq24ir5deudl0m.png\"><\/td>\n<td><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/i0\/he\/f9\/i0hef98an6wlx95vlg71evri_9s.png\"><\/td>\n<\/tr>\n<\/table>\n<p>  <\/p>\n<h4>3. \u041f\u0440\u043e\u0439\u0442\u0438\u0441\u044c \u043f\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u044d\u043a\u0440\u0430\u043d\u0430\u043c<\/h4>\n<p>  \u0421\u0430\u043c\u043e \u0441\u043e\u0431\u043e\u0439, \u044d\u0442\u043e\u0442 \u043a\u0435\u0439\u0441 \u0443 \u0432\u0441\u0435\u0445 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u043d\u044b\u0439. \u0423 \u043a\u043e\u0433\u043e-\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u043b\u043e\u0433\u0438\u043a\u0430, \u0443 \u043a\u043e\u0433\u043e-\u0442\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c. \u041f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u0430\u0440\u0443 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u044d\u043a\u0440\u0430\u043d\u043e\u0432 \u0441 \u043f\u043e\u0435\u0445\u0430\u0432\u0448\u0435\u0439 \u0432\u0451\u0440\u0441\u0442\u043a\u043e\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f \u043d\u0430\u0448\u0451\u043b \u0432 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438.  <\/p>\n<table>\n<tr>\n<th>Explore<\/th>\n<th>Profile<\/th>\n<\/tr>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/br\/8w\/nb\/br8wnbapotdaxbd9gwevvq7gqgq.png\" width=\"300\"><\/td>\n<td><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/lq\/th\/bm\/lqthbm55j1rexitpvdjhbwmtvla.png\" width=\"300\"><\/td>\n<\/tr>\n<\/table>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a\u0438\u0435 \u0435\u0441\u0442\u044c \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u0432 \u0432\u0451\u0440\u0441\u0442\u043a\u0438.<\/p>\n<h4>\u041d\u0435 \u043f\u043e\u0432\u044b\u0448\u0430\u044f compileSdkVersion<\/h4>\n<p> \u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 20 API, \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043a\u043b\u0430\u0441\u0441 <a href=\"https:\/\/developer.android.com\/reference\/android\/view\/WindowInsets\">WindowInsets<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043e\u0431\u044a\u0435\u043a\u0442\u044b <a href=\"https:\/\/developer.android.com\/reference\/android\/graphics\/Rect\">Rect<\/a>, \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0447\u0430\u0441\u0442\u0438 \u044d\u043a\u0440\u0430\u043d\u0430. \u0412\u043c\u0435\u0441\u0442\u0435 \u0441 \u043d\u0438\u043c\u0438 \u0432\u043e View \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0442\u0430\u043a\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u044b, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 \u044d\u043a\u0440\u0430\u043d\u0430:<\/p>\n<pre><code class=\"java\">WindowInsets dispatchApplyWindowInsets(WindowInsets); WindowInsets onApplyWindowInsets(WindowInsets); void requestApplyInsets(); void setOnApplyWindowInsetsListener(OnApplyWindowInsetsListener);<\/code><\/pre>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0438\u043c\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f, <a href=\"https:\/\/medium.com\/@azizbekian\/windowinsets-24e241d4afb9\">\u0442\u0443\u0442<\/a>.<\/p>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0438 \u043c\u0435\u0442\u043e\u0434\u044b \u043c\u043e\u0436\u043d\u043e \u0434\u0432\u0443\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438:<br \/>  \u0430) \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0435\u0433 <code>android:fitsSystemWindows=\"true\"<\/code> \u0432 \u0432\u0451\u0440\u0441\u0442\u043a\u0435 \u043d\u0430 \u0432\u0430\u0448 layout \u0438\u043b\u0438 view;<br \/>  \u0431) \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0438\u0437 \u043a\u043e\u0434\u0430:<\/p>\n<pre><code class=\"java\">layout.setFitsSystemWindows(true); layout.requestApplyInsets();<\/code><\/pre>\n<p>  <\/p>\n<table>\n<tr>\n<th>\u0411\u044b\u043b\u043e<\/th>\n<th>\u0421\u0442\u0430\u043b\u043e<\/th>\n<\/tr>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/fw\/8e\/ne\/fw8ene_z6sxphxdncb9yzcxjdu4.png\" width=\"300\"><\/td>\n<td><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/hv\/ml\/jm\/hvmljmblq51npqv32f7o_lcjnj8.png\" width=\"300\"><\/td>\n<\/tr>\n<\/table>\n<p>  <\/p>\n<h4>\u041f\u043e\u0432\u044b\u0441\u0438\u0442\u044c compileSdkVersion \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 28<\/h4>\n<p> \u0412 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u043c \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u044d\u0442\u0443 \u0432\u0435\u0440\u0441\u0438\u044e, \u0442\u0430\u043a \u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u043d\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u043a \u044d\u0442\u043e\u043c\u0443 \u0441\u0435\u0439\u0447\u0430\u0441? \u041d\u043e \u0431\u0443\u0434\u044c\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0435\u0441\u0442\u044c \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u044b (\u0430 \u044f \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u043e\u043d\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c), \u043f\u0430\u043a\u0435\u0442 JUnit \u043f\u0435\u0440\u0435\u0435\u0445\u0430\u043b. \u041a\u0430\u043a \u0435\u0433\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c, \u043e\u043f\u0438\u0441\u0430\u043d\u043e <a href=\"https:\/\/developer.android.com\/preview\/features\/legacy-testing-libs\">\u0442\u0443\u0442<\/a>.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u043a\u0430\u043a\u0438\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0430\u043c Android P?<\/p>\n<p>  \u0410. \u0423 WindowManager.LayoutParams \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c 3 \u043d\u043e\u0432\u044b\u0445 \u0444\u043b\u0430\u0433\u0430:  <\/p>\n<ul>\n<li><a href=\"https:\/\/developer.android.com\/reference\/android\/view\/WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT\">LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT<\/a> \u2014 \u0441 \u044d\u0442\u0438\u043c \u0444\u043b\u0430\u0433\u043e\u043c \u0447\u0451\u043b\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0432\u0435\u0440\u0445 \u044d\u043a\u0440\u0430\u043d\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 portrait, \u0432 landscape \u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u043e \u0447\u0451\u0440\u043d\u0430\u044f \u043f\u043e\u043b\u043e\u0441\u0430;<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/lq\/th\/bm\/lqthbm55j1rexitpvdjhbwmtvla.png\" width=\"300\"><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/6r\/uc\/ne\/6rucneby85bjrq9wt5uc9n6rpbw.png\" height=\"300\"><\/li>\n<li><a href=\"https:\/\/developer.android.com\/reference\/android\/view\/WindowManager.LayoutParams.html#LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER\">LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER<\/a> \u2014 \u0441 \u044d\u0442\u0438\u043c \u0444\u043b\u0430\u0433\u043e\u043c \u043c\u043e\u0434\u043d\u043e\u0439 \u0447\u0451\u043b\u043a\u0438 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u043e\u0431\u0449\u0435, \u043e\u043d\u0430 \u0441\u043e\u043b\u044c\u0451\u0442\u0441\u044f \u0441 \u0447\u0451\u0440\u043d\u043e\u0439 \u043f\u043e\u043b\u043e\u0441\u043e\u0439;<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/qh\/1s\/nb\/qh1snbun-pzldcfc9hotrbwfsms.png\" width=\"300\"><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/-d\/at\/s2\/-dats2qzjrvzs-nhyxgwcngaf7q.png\" height=\"300\"><\/li>\n<li><a href=\"https:\/\/developer.android.com\/reference\/android\/view\/WindowManager.LayoutParams.html#LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES\">LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES<\/a> \u2014 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u044d\u0442\u043e\u0433\u043e \u0444\u043b\u0430\u0433\u0430 \u0447\u0451\u043b\u043a\u0430 \u0435\u0441\u0442\u044c \u0432\u0441\u0435\u0433\u0434\u0430 \u0438 \u0432 \u043b\u044e\u0431\u043e\u0439 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ow\/7w\/my\/ow7wmyne6fan2tkiu9skhw-fhqg.png\" width=\"300\"><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/--\/us\/i2\/--usi2coxgmmtdja8wzb8lapbqe.png\" height=\"300\"><\/li>\n<\/ul>\n<p>  \u041a\u0430\u043a \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c?<\/p>\n<pre><code>window.attributes.layoutInDisplayCutoutMode =     WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES<\/code><\/pre>\n<p>  \u0411. \u0415\u0441\u043b\u0438 \u0436\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0410 \u0432\u0430\u043c \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0438 \u043d\u0443\u0436\u043d\u043e \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0437\u043b\u043e\u043f\u043e\u043b\u0443\u0447\u043d\u043e\u0433\u043e \u0432\u044b\u0440\u0435\u0437\u0430 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0443 \u0432\u0430\u0441 \u0447\u0442\u043e-\u0442\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u044f\u043c\u043e \u0432 \u0441\u0442\u0430\u0442\u0443\u0441-\u0431\u0430\u0440\u0435, \u043a\u0430\u043a \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0438 \u0432 Telegram), \u0442\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043d\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 <a href=\"https:\/\/developer.android.com\/reference\/android\/view\/DisplayCutout\">DisplayCutout<\/a>.<br \/>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0435\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u044b:  <\/p>\n<ul>\n<li><a href=\"https:\/\/developer.android.com\/reference\/android\/view\/DisplayCutout.html#getBoundingRects()\">getBoundingRects()<\/a> \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 List \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 Rect, \u043a\u0430\u0436\u0434\u044b\u0439 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0443\u044e \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u044d\u043a\u0440\u0430\u043d\u0430;<\/li>\n<li><a href=\"https:\/\/developer.android.com\/reference\/android\/view\/DisplayCutout.html#getSafeInsetLeft()\">getSafeInsetLeft()<\/a>, <a href=\"https:\/\/developer.android.com\/reference\/android\/view\/DisplayCutout.html#getSafeInsetRight()\">getSafeInsetRight()<\/a>, <a href=\"https:\/\/developer.android.com\/reference\/android\/view\/DisplayCutout.html#getSafeInsetTop()\">getSafeInsetTop()<\/a>, <a href=\"https:\/\/developer.android.com\/reference\/android\/view\/DisplayCutout.html#getSafeInsetBottom()\">getSafeInsetBottom()<\/a> \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u043b\u0435\u0432\u044b\u0439, \u043f\u0440\u0430\u0432\u044b\u0439, \u0432\u0435\u0440\u0445\u043d\u0438\u0439 \u0438 \u043d\u0438\u0436\u043d\u0438\u0439 \u043e\u0442\u0441\u0442\u0443\u043f \u0431\u0435\u0437 \u0432\u044b\u0440\u0435\u0437\u0430 \u0432 \u043f\u0438\u043a\u0441\u0435\u043b\u044f\u0445 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<\/li>\n<\/ul>\n<p>  \u0421 \u043d\u0438\u043c\u0438 \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0441\u0451, \u043d\u0430 \u0447\u0442\u043e \u0445\u0432\u0430\u0442\u0438\u0442 \u0444\u0430\u043d\u0442\u0430\u0437\u0438\u0438. \u0425\u043e\u0442\u0438\u0442\u0435 \u2014 \u0434\u0432\u0438\u0433\u0430\u0439\u0442\u0435 <code>margin<\/code> \u0432 \u043a\u043e\u0434\u0435 \u043f\u043e \u043d\u0438\u043c. \u0425\u043e\u0442\u0438\u0442\u0435 \u2014 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0439\u0442\u0435 \u0432 <code>OnApplyWindowInsetsListener<\/code> \u0438 \u0434\u0435\u043b\u0430\u0439\u0442\u0435 <code>consumeDisplayCutout()<\/code>. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u044b \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438. \u042f \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u0430\u043a \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0438\u0442\u044c \u0447\u0451\u043b\u043a\u0443.<\/p>\n<pre><code>class SampleFragment() : Fragment() {  \tprivate lateinit var root: ViewGroup  \toverride fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { \t\treturn inflater.inflate(R.layout.sample_fragment, container, false) \t}  \toverride fun onViewCreated(view: View, savedInstanceState: Bundle?) { \t\tsuper.onViewCreated(view, savedInstanceState) \t\troot = view.findViewById(R.id.root) \t\taddArrowsToCutout() \t}  \tprivate fun addArrowsToCutout() { \t\t\/\/\u041d\u0443\u0436\u043d\u043e \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c, \u0447\u0442\u043e \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0443\u0441\u043f\u0435\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c attach \u043a window, \u0438\u043d\u0430\u0447\u0435 \u0442\u0443\u0442 \u0431\u0443\u0434\u0443\u0442 null'\u044b \t\tval cutoutList = root.rootWindowInsets?.displayCutout?.boundingRects \t\tcutoutList?.forEach { \t\t\taddArrow(context!!.getDrawable(R.drawable.left), it.left.toFloat(), it.top + (it.bottom - it.top).toFloat() \/ 2, \t\t\t         ::calculateLeftArrow) \t\t\taddArrow(context!!.getDrawable(R.drawable.right), it.right.toFloat(), it.top + (it.bottom - it.top).toFloat() \/ 2, \t\t\t         ::calculateRightArrow) \t\t\taddArrow(context!!.getDrawable(R.drawable.top), it.left + (it.right - it.left).toFloat() \/ 2, it.top.toFloat(), \t\t\t         ::calculateTopArrow) \t\t\taddArrow(context!!.getDrawable(R.drawable.bottom), it.left + (it.right - it.left).toFloat() \/ 2, it.bottom.toFloat(), \t\t\t         ::calculateBottomArrow) \t\t} \t}  \tprivate fun addArrow(arrowIcon: Drawable, x: Float, y: Float, calculation: (View, Float, Float) -&gt; Unit) { \t\tval arrowView = ImageView(context) \t\tarrowView.setImageDrawable(arrowIcon) \t\tarrowView.layoutParams = ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT) \t\troot.addView(arrowView) \t\tarrowView.post { \t\t\tcalculation(arrowView, x, y) \t\t} \t}  \tprivate fun calculateLeftArrow(arrowView: View, x: Float, y: Float) { \t\tarrowView.x = x - arrowView.width \t\tarrowView.y = y - arrowView.height \/ 2 \t}  \tprivate fun calculateRightArrow(arrowView: View, x: Float, y: Float) { \t\tarrowView.x = x \t\tarrowView.y = y - arrowView.height \/ 2 \t}  \tprivate fun calculateTopArrow(arrowView: View, x: Float, y: Float) { \t\tarrowView.x = x - arrowView.width \/ 2 \t\tarrowView.y = y - arrowView.height \t}  \tprivate fun calculateBottomArrow(arrowView: View, x: Float, y: Float) { \t\tarrowView.x = x - arrowView.width \/ 2 \t\tarrowView.y = y \t} }<\/code><\/pre>\n<p>  <\/p>\n<h4>Portrait<\/h4>\n<p>  <\/p>\n<table>\n<tr>\n<th>Corner<\/th>\n<th>Double<\/th>\n<th>Tall<\/th>\n<\/tr>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/l2\/kn\/kr\/l2knkrhjztwt4-gol5kv3lhl9fc.png\"><\/td>\n<td><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ok\/wd\/9z\/okwd9zs9neutlmyxurbsg2dggzc.png\"><\/td>\n<td><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zy\/d8\/z-\/zyd8z-0amk-izvnypdvyyhqbpkc.png\"><\/td>\n<\/tr>\n<\/table>\n<h4>Landscape<\/h4>\n<p>  <\/p>\n<table>\n<tr>\n<th>Corner<\/th>\n<\/tr>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/bw\/ex\/ii\/bwexii25tezwsfe6zv98rai8xrw.png\" height=\"300\"><\/td>\n<\/tr>\n<tr>\n<th>Double<\/th>\n<\/tr>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/a9\/dp\/qo\/a9dpqomfrbf7tp8tuv4oqaii8ac.png\" height=\"300\"><\/td>\n<\/tr>\n<tr>\n<th>Tall<\/th>\n<\/tr>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/tc\/cp\/qj\/tccpqj2m8eh2kshlsu_o-q2-kda.png\" height=\"300\"><\/td>\n<\/tr>\n<\/table>\n<p>  \u0418\u0442\u0430\u043a, \u043a\u0430\u043a \u043c\u044b \u0432\u0438\u0434\u0438\u043c, \u0447\u0451\u043b\u043a\u0430 \u043f\u0440\u0438\u043d\u0435\u0441\u0451\u0442 \u043d\u0430\u043c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0438 \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442 \u0441\u043e\u0432\u0435\u0440\u0448\u0438\u0442\u044c \u043b\u0438\u0448\u043d\u0438\u0435 \u0442\u0435\u043b\u043e\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f\/\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438. \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0432\u0441\u0451 \u0440\u0435\u0448\u0430\u0435\u043c\u043e. \u0413\u043b\u0430\u0432\u043d\u043e\u0435, \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044e \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u0432 \u0432\u0451\u0440\u0441\u0442\u043a\u0438 \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u043d\u044c\u0448\u0435, \u0447\u0442\u043e\u0431\u044b \u0438\u043c\u0435\u0442\u044c \u0432 \u0437\u0430\u043f\u0430\u0441\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0443. \u0423\u0434\u0430\u0447\u043d\u043e \u0432\u0430\u043c \u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u0441 \u043f\u0440\u0430\u0432\u043a\u0430\u043c\u0438. \u0414\u0430 \u043d\u0435 \u0441\u043b\u043e\u043c\u0430\u0435\u0442 Google \u0441\u0432\u043e\u0439 Play!<\/div>\n<p>        <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d()}}}t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>     <br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/company\/funcorp\/blog\/419109\/\"> https:\/\/habr.com\/company\/funcorp\/blog\/419109\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/company\/funcorp\/blog\/419109\/\" class=\"post__text post__text-html js-mediator-article\"><s>\u0413\u043e\u0440\u0435\u043b \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c 2007 \u0433\u043e\u0434\u0430.<\/s> \u0428\u0451\u043b \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c 2017 \u0433\u043e\u0434\u0430, Apple \u0432\u0435\u0440\u043d\u0443\u043b\u0438 \u043c\u043e\u0434\u0443 \u043d\u0430 \u0447\u0451\u043b\u043a\u0443, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0432 iPhone X. \u041d\u0435\u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0447\u0442\u043e \u043d\u0430\u0448\u0438 \u0434\u0440\u0443\u0437\u044c\u044f \u0438\u0437 \u041a\u0438\u0442\u0430\u044f, \u043d\u0435\u0434\u043e\u043b\u0433\u043e \u0434\u0443\u043c\u0430\u044f, \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u044d\u0442\u043e\u0442 \u0434\u0438\u0437\u0430\u0439\u043d \u0443 Apple (\u0445\u043e\u0442\u044f \u0441\u0430\u043c\u0430\u044f \u043f\u0435\u0440\u0432\u0430\u044f \u043c\u0438\u043d\u0438-\u0447\u0451\u043b\u043a\u0430 \u0431\u044b\u043b\u0430 \u0435\u0449\u0451 \u0432 Essential Phone, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u0432\u0437\u043b\u0435\u0442\u0435\u043b). \u041d\u043e \u0447\u0442\u043e \u043c\u044b \u0432\u0438\u0434\u0438\u043c \u0441\u0435\u0439\u0447\u0430\u0441? Huawei P20, Asus Zenfone 5, OnePlus 6, Motorola One Power, Xiaomi Redmi 6 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0431\u043e\u043b\u0435\u0435-\u043c\u0435\u043d\u0435\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u0438 \u0443\u0436\u0435 \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u044e\u0442 \u0438\u043b\u0438 \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u044b \u0441 \u0447\u0451\u043b\u043a\u043e\u0439. Samsung \u0438 Google \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u043c\u0438 \u043e\u043f\u043b\u043e\u0442\u0430\u043c\u0438 \u0432 \u044d\u0442\u043e\u0439 <s>\u0433\u043e\u043d\u043a\u0435 \u0437\u0430 \u0445\u0430\u0439\u043f\u043e\u043c<\/s> \u0431\u043e\u0440\u044c\u0431\u0435 \u0437\u0430 \u0431\u0435\u0437\u0440\u0430\u043c\u043e\u0447\u043d\u043e\u0441\u0442\u044c. \u0418\u043b\u0438 \u043d\u0435\u0442? \u041f\u043e \u0441\u043b\u0443\u0445\u0430\u043c, Google Pixel 3 XL \u0442\u043e\u0436\u0435 \u0431\u0443\u0434\u0435\u0442 <s>\u0441 \u044d\u0442\u043e\u0439 \u0445\u0440\u0435\u043d\u044c\u044e<\/s> \u0441 \u0438\u0437\u044f\u0449\u043d\u044b\u043c \u0432\u044b\u0440\u0435\u0437\u043e\u043c. \u0427\u0442\u043e \u0436, \u043d\u0430\u043c, \u043a\u0430\u043a \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c, \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0434 \u044d\u0442\u043e\u0442 \u0432\u044b\u0440\u0435\u0437, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0441\u043c\u043e\u0433\u043b\u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u043e \u0438\u043c\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f. \u0417\u0430 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/vc\/za\/ep\/vczaephxhgg4entua42pcfj4rxa.png\">  <\/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-287718","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/287718","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=287718"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/287718\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=287718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=287718"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=287718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}