{"id":463089,"date":"2025-06-12T21:00:19","date_gmt":"2025-06-12T21:00:19","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=463089"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=463089","title":{"rendered":"<span>\u041f\u043e\u0432\u0442\u043e\u0440\u044f\u044e \u0441\u0442\u0435\u043a\u043b\u043e\u043c\u043e\u0440\u0444\u0438\u0437\u043c \u0432 Android \u043d\u0430 AGSL \u0448\u0435\u0439\u0434\u0435\u0440\u0430\u0445 (\u043b\u0443\u0447\u0448\u0435 \u0431\u044b \u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u043b)<\/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><strong>\u0414\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0432 \u0442\u0430\u043d\u043a\u0435<\/strong>  <\/p>\n<p>Apple \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u043e\u0432\u0430\u043b\u0438 \u0441\u0432\u043e\u0439 \u043d\u043e\u0432\u044b\u0439 \u0444\u0438\u0440\u043c\u0435\u043d\u043d\u044b\u0439 \u0441\u0442\u0438\u043b\u044c. Liquid Glass &#8212; \u044d\u0442\u043e \u043d\u043e\u0432\u044b\u0439 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b&#8230; \u041a\u0440\u0430\u0441\u0438\u0432\u043e \u043b\u0438 \u044d\u0442\u043e? \u0421\u043f\u043e\u0440\u043d\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0430 \u0441\u043f\u043e\u0440\u0438\u0442\u044c \u044f \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0435 \u0445\u043e\u0447\u0443.  <\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/1ad\/b70\/93a\/1adb7093a4975a7dc826f5d44f022929.webp\" width=\"800\" height=\"450\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/1ad\/b70\/93a\/1adb7093a4975a7dc826f5d44f022929.webp 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/1ad\/b70\/93a\/1adb7093a4975a7dc826f5d44f022929.webp 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u0412\u0441\u0451 \u043d\u043e\u0432\u043e\u0435 &#8212; \u044d\u0442\u043e \u0437\u0430\u0431\u044b\u0442\u043e\u0435 \u0441\u0442\u0430\u0440\u043e\u0435? \u041a\u0430\u043a \u0431\u044b \u0434\u0430&#8230; \u043d\u043e \u043d\u0435\u0442. \u042f \u043f\u0440\u043e\u0447\u0451\u043b \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u0443\u0436\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430\u0445 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0445 \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d\u043e\u0432, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a \u0421\u044f\u043e\u043c\u0438 \u0438\u043b\u0438 \u0447\u0451 \u0442\u0430\u043c \u0435\u0449\u0451 \u0443 \u041a\u0438\u0442\u0430\u044f. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0442\u043e, \u0447\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438 \u0432 \u0431\u0435\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u0438 iOS &#8212; \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043b\u043e\u0441\u044c \u0432 Android \u043d\u0438\u0433\u0434\u0435 \u0440\u0430\u043d\u0435\u0435, \u043d\u043e \u0438 \u043d\u0435 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432 Android \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u0440\u0438\u0433\u043b\u044f\u0434\u0438\u0442\u0435\u0441\u044c \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e &#8212; \u044d\u0442\u043e\u0442 \u0441\u0442\u0435\u043a\u043b\u044f\u043d\u043d\u044b\u0439 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442, \u043a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434. \u042d\u0442\u043e &#8212; \u043d\u0435 \u0440\u0430\u0437\u043c\u044b\u0442\u0438\u0435. \u041c\u044b \u0432\u0438\u0434\u0438\u043c \u0438\u0441\u043a\u0430\u0436\u0435\u043d\u0438\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0434 &#171;\u0441\u0442\u0435\u043a\u043b\u043e\u043c&#187;, \u0430 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c &#171;\u0441\u0442\u0435\u043a\u043b\u0435&#187; \u0432\u0438\u0434\u0438\u043c \u043e\u0442\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0440\u044f\u0434\u043e\u043c. \u0411\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u0432\u043e\u043a\u0440\u0443\u0433 &#171;\u0441\u0442\u0435\u043a\u043b\u0430&#187; \u0435\u0441\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043a\u043e\u043d\u0442\u0443\u0440 \u043e\u0442\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0441\u0432\u0435\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430.<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e14\/71c\/984\/e1471c984618e41441727839d04802e7.gif\" width=\"400\" height=\"220\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e14\/71c\/984\/e1471c984618e41441727839d04802e7.gif 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e14\/71c\/984\/e1471c984618e41441727839d04802e7.gif 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041d\u0443 \u043b\u0430\u0434\u043d\u043e. \u0427\u0435\u043b\u043b\u0435\u043d\u0434\u0436 &#8212; \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u0432 Android. \u041d\u0435 \u0431\u0435\u0440\u0443\u0441\u044c \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0442\u0430\u043a \u0436\u0435 \u0445\u043e\u0440\u043e\u0448\u043e. \u0414\u0430 \u0438 \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u0445\u043e\u0442\u044c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c&#8230;<\/p>\n<h3>\u0410\u043d\u0430\u043b\u0438\u0437<\/h3>\n<p>\u0418\u0442\u0430\u043a, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0451, \u0447\u0442\u043e \u043c\u044b \u0443\u0432\u0438\u0434\u0435\u043b\u0438.<\/p>\n<p>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435&#8230; \u0438\u0441\u043a\u0430\u0436\u0435\u043d\u0438\u044f&#8230; \u0440\u0430\u0437\u043c\u044b\u0442\u0438\u0435&#8230; \u043e \u0447\u0451\u043c \u0432\u044b \u043f\u043e\u0434\u0443\u043c\u0430\u043b\u0438? \u041f\u0435\u0440\u0432\u043e\u0435, \u0447\u0442\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 \u2013 <strong><em>\u2728 \u0428\u0415\u0419\u0414\u0415\u0420\u042b \u2728<\/em><\/strong><\/p>\n<p>\u041e\u043a\u0435\u0439, \u0448\u0435\u0439\u0434\u0435\u0440\u044b. \u041b\u0430\u0434\u043d\u043e. \u0410 \u043a \u0447\u0435\u043c\u0443 \u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c? \u041d\u0443, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e \u0436\u0435, \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435? \u0410 \u043d\u0435\u0442, \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u0436\u0435 \u043d\u0435 \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u0430\u044f, \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 &#8212; \u043d\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435. \u041d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 &#8212; \u043a\u0443\u0447\u0430 \u0432\u0441\u0435\u0433\u043e: \u043a\u043e\u043d\u0442\u0435\u043d\u0442, \u043a\u043d\u043e\u043f\u043a\u0438, \u0442\u0435\u043a\u0441\u0442, \u0432\u0441\u0451 \u044d\u0442\u043e \u0434\u0432\u0438\u0436\u0435\u0442\u0441\u044f \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0441 \u044d\u0442\u0438\u043c \u0432\u0441\u0435\u043c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442&#8230;<\/p>\n<p>\u0410 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435, \u043e\u0431\u044b\u0447\u043d\u043e, \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432\u044c\u044e\u0445\u0438. \u041d\u0443 \u0438 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u0441\u0432\u043e\u044e \u0432\u044c\u044e\u0445\u0443.<\/p>\n<p>\u041a \u0441\u043b\u043e\u0432\u0443, \u044f \u043d\u0438 \u0440\u0430\u0437\u0443 \u043d\u0435 \u043f\u0438\u0441\u0430\u043b \u0448\u0435\u0439\u0434\u0435\u0440\u043e\u0432, \u043d\u0435 \u0437\u043d\u0430\u043a\u043e\u043c \u0441 \u0442\u0435\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0422\u0430\u043a \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u044f \u043d\u0435\u0441\u0443 \u0447\u0443\u0448\u044c &#8212; \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u044f \u043d\u0435\u0441\u0443 \u0447\u0443\u0448\u044c.<\/p>\n<h3>\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c<\/h3>\n<p>\u0427\u0442\u043e \u043e\u043d\u0430 (\u0432\u044c\u044e\u0445\u0430) \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c? \u041d\u0443 \u043f\u0443\u0441\u043a\u0430\u0439 \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u043f\u043e\u0434 \u0441\u043e\u0431\u043e\u0439, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0438\u0441\u043a\u0430\u0436\u0435\u043d\u0438\u044f (\u0442\u043e \u0435\u0441\u0442\u044c, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0448\u0435\u0439\u0434\u0435\u0440\u044b \u043a \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044e).<\/p>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u0443 \u043c\u0435\u043d\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0441 Android 15 &#8212; \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/developer.android.com\/develop\/ui\/views\/graphics\/agsl\/using-agsl\" rel=\"noopener noreferrer nofollow\">AGSL \u0448\u0435\u0439\u0434\u0435\u0440\u044b<\/a>. \u041f\u043e\u0447\u0438\u0442\u0430\u043b\u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e, \u043f\u043e\u0439\u0434\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<p>\u0410 \u043a\u0430\u043a \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0434 \u0432\u044c\u044e? \u041d\u0443 \u044f \u043f\u043e\u0434\u0443\u043c\u0430\u043b, \u0438 \u0440\u0435\u0448\u0438\u043b &#8212; \u043f\u0443\u0441\u043a\u0430\u0439 \u0443 \u043d\u0430\u0448\u0435\u0439 \u0432\u044c\u044e\u0445\u0438 \u0431\u0443\u0434\u0435\u0442 targetView &#8212; \u0446\u0435\u043b\u044c, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u044d\u0444\u0444\u0435\u043a\u0442\u044b. \u0422\u0430\u043a \u0434\u0430\u0436\u0435 \u043b\u0443\u0447\u0448\u0435 &#8212; \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u043d\u0430\u0448\u0443 \u0432\u044c\u044e \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e, \u0430 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <em>onPreDrawListener <\/em>\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u043d\u0430\u0448\u0443 \u0432\u044c\u044e \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u0446\u0435\u043b\u044c \u043f\u0440\u0435\u0442\u0435\u0440\u043f\u0435\u0432\u0430\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f.<\/p>\n<p>\u041d\u0443 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u0432\u044c\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u0442\u044c targetView \u0432 bitmap \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043d\u0430 \u0441\u0435\u0431\u0435.<\/p>\n<p>\u041e\u043a\u0435\u0439, targetView&#8230; \u0437\u043d\u0430\u0447\u0438\u0442 \u043f\u0443\u0441\u043a\u0430\u0439 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a:  <\/p>\n<pre><code>fun setTargetView(view: View) {         targetView?.viewTreeObserver?.removeOnPreDrawListener(targetLayoutListener)         targetView = view         view.viewTreeObserver.addOnPreDrawListener(targetLayoutListener)     }<\/code><\/pre>\n<p>targetLayoutListener \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u043e\u043c \u0432\u0441\u0435\u0439 \u0442\u043e\u0439 \u0436\u0435\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0435\u043c. \u041d\u043e \u043f\u043e\u043a\u0430 \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 targetView.  <\/p>\n<pre><code>private val targetLayoutListener = ViewTreeObserver.OnPreDrawListener {         updateBitmap()         true     }    private fun updateBitmap() {         val view = targetView ?: return         val bmp = view.drawToBitmap(Bitmap.Config.ARGB_8888)         targetBitmap = bmp          val shader = runtimeShader ?: return         val bitmapShader = BitmapShader(             bmp,             Shader.TileMode.CLAMP,             Shader.TileMode.CLAMP         )          val targetPos = IntArray(2)         val selfPos = IntArray(2)          view.getLocationOnScreen(targetPos)         getLocationOnScreen(selfPos)          shader.setInputShader(\"iImage1\", bitmapShader)         shader.setFloatUniform(\"iImageResolution\", bmp.width.toFloat(), bmp.height.toFloat())         shader.setFloatUniform(\"iTargetViewPos\", targetPos[0].toFloat(), targetPos[1].toFloat())         shader.setFloatUniform(\"iShaderViewPos\", selfPos[0].toFloat(), selfPos[1].toFloat())          shaderPaint?.shader = shader         invalidate()     }<\/code><\/pre>\n<p>\u041d\u0443 \u0438 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0448\u0435\u0439\u0434\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0442\u043e, \u0447\u0442\u043e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0432 bitmap:  <\/p>\n<pre><code>private val shaderCode = \"\"\"         uniform shader iImage1; uniform float2 iTargetViewPos;      \/\/ \u043f\u043e\u0437\u0438\u0446\u0438\u044f targetView \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 uniform float2 iShaderViewPos;      \/\/ \u043f\u043e\u0437\u0438\u0446\u0438\u044f ShaderView \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 uniform float2 iImageResolution;    \/\/ \u0440\u0430\u0437\u043c\u0435\u0440 targetBitmap  half4 main(float2 fragCoord) {     float2 globalCoord = fragCoord + iShaderViewPos - iTargetViewPos;     float2 uv = globalCoord \/ iImageResolution;     return iImage1.eval(uv * iImageResolution); \/\/ \u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0441\u0442\u043e iImage1.eval(globalCoord); }     \"\"\".trimIndent()<\/code><\/pre>\n<p>\u0414\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0438\u043c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 ScrollView, \u0430 \u0432 \u043d\u0451\u043c &#8212; \u043a\u0443\u0447\u0443 \u0440\u0430\u0437\u043d\u043e\u0446\u0432\u0435\u0442\u043d\u044b\u0445 \u043a\u043d\u043e\u043f\u043e\u043a. \u042d\u0442\u043e \u0438 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0448 targetView. \u041d\u0430\u0448\u0443 View \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0438\u043c \u0432\u043d\u0443\u0442\u0440\u0438 cardview \u0441 elevation, \u0447\u0442\u043e\u0431\u044b \u0442\u0435\u043d\u044c \u043e\u0442\u043b\u0438\u0447\u0430\u043b\u0430 \u0435\u0451 \u043e\u0442 targetView.  <\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/85a\/2c7\/296\/85a2c72962fad0a60f2e578d261c4dd7.png\" alt=\"\u0412\u043e\u0442 \u043e\u043d\u0430 - \u043d\u0430\u0448\u0430 \u0432\u044c\u044e\u0448\u043a\u0430, \u043d\u0430 \u043d\u0451\u0451 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u0440\u0430\u0441\u043d\u0430\u044f \u0441\u0442\u0440\u0435\u043b\u043a\u0430  \" title=\"\u0412\u043e\u0442 \u043e\u043d\u0430 - \u043d\u0430\u0448\u0430 \u0432\u044c\u044e\u0448\u043a\u0430, \u043d\u0430 \u043d\u0451\u0451 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u0440\u0430\u0441\u043d\u0430\u044f \u0441\u0442\u0440\u0435\u043b\u043a\u0430  \" width=\"1080\" height=\"948\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/85a\/2c7\/296\/85a2c72962fad0a60f2e578d261c4dd7.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/85a\/2c7\/296\/85a2c72962fad0a60f2e578d261c4dd7.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u0412\u043e\u0442 \u043e\u043d\u0430 &#8212; \u043d\u0430\u0448\u0430 \u0432\u044c\u044e\u0448\u043a\u0430, \u043d\u0430 \u043d\u0451\u0451 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u0440\u0430\u0441\u043d\u0430\u044f \u0441\u0442\u0440\u0435\u043b\u043a\u0430  <\/figcaption><\/div>\n<\/figure>\n<p>\u0418\u0442\u0430\u043a&#8230; \u0432\u0440\u043e\u0434\u0435 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041d\u0430 \u043d\u0430\u0448\u0435\u0439 \u0432\u044c\u044e\u0445\u0435 \u0432\u0438\u0434\u043d\u043e \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0434 \u043d\u0435\u0439. \u0423\u0436\u0435 \u043d\u0435\u043f\u043b\u043e\u0445\u043e.<\/p>\n<h3>\u0421\u0442\u0435\u043a\u043b\u043e, \u0441\u0442\u0435\u043a\u043b\u043e, \u0441\u0442\u0435\u043a\u043b\u043e<\/h3>\n<p>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0434 \u0432\u044c\u044e\u0448\u043a\u043e\u0439, \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0440\u043e\u0439\u0442\u0438 \u0440\u044f\u0434 \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u043d\u0430\u0434 \u043d\u0438\u043c\u0438. \u0412 \u0438\u0442\u043e\u0433\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u043e\u0445\u043e\u0436\u0435 (\u0445\u043e\u0442\u044f \u0431\u044b \u043e\u0442\u0434\u0430\u043b\u0451\u043d\u043d\u043e) \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0431\u044b \u0432\u044b \u0443\u0432\u0438\u0434\u0435\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 \u043b\u0438\u043d\u0437\u0443, \u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u043d\u0435\u0433\u043e.<\/p>\n<p>\u0414\u0443\u043c\u0430\u044f \u043d\u0430\u0441\u0447\u0451\u0442 \u043b\u0438\u043d\u0437\u044b \u044f \u043f\u0440\u0438\u0448\u0451\u043b \u043a \u0447\u0435\u043c\u0443-\u0442\u043e \u0442\u0430\u043a\u043e\u043c\u0443:<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/7af\/012\/4f9\/7af0124f9e53d97f392c00e3fc4322f8.png\" width=\"781\" height=\"520\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/7af\/012\/4f9\/7af0124f9e53d97f392c00e3fc4322f8.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/7af\/012\/4f9\/7af0124f9e53d97f392c00e3fc4322f8.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u044d\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0430 Apple. \u0421\u0432\u0435\u0442 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 \u043b\u0438\u043d\u0437\u0443. \u0427\u0435\u043c \u0431\u043b\u0438\u0436\u0435 \u043b\u0443\u0447 \u043a \u043a\u0440\u0430\u044e \u043b\u0438\u043d\u0437\u044b, \u0442\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0435\u0442 \u044d\u0444\u0444\u0435\u043a\u0442 \u0438\u0441\u043a\u0430\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>\u0418\u0442\u0430\u043a&#8230; \u0443 \u043d\u0430\u0448\u0435\u0439 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u043b\u0438\u043d\u0437\u044b \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0442\u043e\u043b\u0449\u0438\u043d\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u043a\u0440\u0438\u0432\u0438\u0437\u043d\u044b.<\/p>\n<p>\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0448\u0435\u0439\u0434\u0435\u0440&#8230; \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u044d\u0444\u0444\u0435\u043a\u0442 \u044d\u0442\u043e\u0439 \u043b\u0438\u043d\u0437\u044b:<\/p>\n<pre><code>float2 applyLensDistortion(float2 fragCoord, float2 center, float2 size, float cornerRadius, float curvature, float thickness) {     float2 delta = fragCoord - center;     float2 local = abs(delta) - size + cornerRadius;     float distToEdge = length(max(local, 0.0));     float inFactor = smoothstep(cornerRadius, cornerRadius * 0.01, distToEdge);      float2 normDelta = delta \/ size;     float len = length(normDelta);     float distortion = curvature * (1.0 - len * len*len);      float2 offset = normalize(delta) * distortion * thickness * (1.0 - inFactor);     return fragCoord + offset; }<\/code><\/pre>\n<p>\u042f \u043d\u0435 \u0441\u0438\u043b\u0451\u043d \u0432 \u0448\u0435\u0439\u0434\u0435\u0440\u0430\u0445. \u0418 \u0432\u043e\u043e\u0431\u0449\u0435 \u044d\u0442\u043e \u043c\u043e\u0439 \u043f\u0435\u0440\u0432\u044b\u0439 \u0448\u0435\u0439\u0434\u0435\u0440. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 &#8212; \u0438 \u0442\u0430\u043a \u0441\u043e\u0439\u0434\u0451\u0442.<\/p>\n<p>\u041d\u0443 \u0438 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u044b\u0442\u0438\u0435, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435. \u042f \u0441\u0434\u0435\u043b\u0430\u043b \u0435\u0433\u043e \u043e\u0447\u0435\u043d\u044c \u0442\u043e\u043f\u043e\u0440\u043d\u043e. \u041c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0441\u043c\u0435\u044f\u0442\u044c\u0441\u044f, \u044f \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e:<\/p>\n<pre><code>half4 gaussianBlur(float2 uv, float2 resolution, float radius) {     if (radius &lt;= 0.0) {         return iImage1.eval(uv * resolution);     }          half4 color = half4(0.0);     float totalWeight = 0.0;          float2 texelSize = radius \/ resolution;          float2 offset = float2(-2.0, -2.0) * texelSize;     float weight = exp(-8.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-1.0, -2.0) * texelSize;     weight = exp(-5.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(0.0, -2.0) * texelSize;     weight = exp(-4.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(1.0, -2.0) * texelSize;     weight = exp(-5.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(2.0, -2.0) * texelSize;     weight = exp(-8.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-2.0, -1.0) * texelSize;     weight = exp(-5.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-1.0, -1.0) * texelSize;     weight = exp(-2.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(0.0, -1.0) * texelSize;     weight = exp(-1.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(1.0, -1.0) * texelSize;     weight = exp(-2.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(2.0, -1.0) * texelSize;     weight = exp(-5.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-2.0, 0.0) * texelSize;     weight = exp(-4.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-1.0, 0.0) * texelSize;     weight = exp(-1.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          weight = 1.0;     color += iImage1.eval(uv * resolution) * weight;     totalWeight += weight;          offset = float2(1.0, 0.0) * texelSize;     weight = exp(-1.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(2.0, 0.0) * texelSize;     weight = exp(-4.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-2.0, 1.0) * texelSize;     weight = exp(-5.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-1.0, 1.0) * texelSize;     weight = exp(-2.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(0.0, 1.0) * texelSize;     weight = exp(-1.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(1.0, 1.0) * texelSize;     weight = exp(-2.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(2.0, 1.0) * texelSize;     weight = exp(-5.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-2.0, 2.0) * texelSize;     weight = exp(-8.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-1.0, 2.0) * texelSize;     weight = exp(-5.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(0.0, 2.0) * texelSize;     weight = exp(-4.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(1.0, 2.0) * texelSize;     weight = exp(-5.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(2.0, 2.0) * texelSize;     weight = exp(-8.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          return color \/ totalWeight; }<\/code><\/pre>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u044e\u043d\u0438\u0444\u043e\u0440\u043c\u044b, \u0447\u0442\u043e\u0431\u044b \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043b\u0438\u043d\u0437\u044b \u0438 \u0440\u0430\u0437\u043c\u044b\u0442\u0438\u044f, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u043c main \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0430 \u043d\u0435 \u043e\u0431\u0438\u0434\u0435\u043b\u0430\u0441\u044c:  <\/p>\n<pre><code>uniform shader iImage1; uniform float2 iImageResolution; uniform float2 iTargetViewPos; uniform float2 iShaderViewPos; uniform float2 iShaderResolution;  uniform float iCurvature; uniform float iThickness; uniform float iCornerRadius; uniform float iBlurRadius;  half4 main(float2 fragCoord) {     float2 center = iShaderResolution * 0.5;     float2 lensSize = iShaderResolution * 0.48;     float2 distortedCoord = applyLensDistortion(         fragCoord, center, lensSize, iCornerRadius, iCurvature, iThickness     );     float2 uv = getUV(distortedCoord);     return gaussianBlur(uv, iImageResolution, iBlurRadius); }<\/code><\/pre>\n<p>\u041c\u043d\u0435 \u043b\u0435\u043d\u044c \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435. \u0414\u0430 \u0438 \u043d\u0435\u0442 \u0441\u043c\u044b\u0441\u043b\u0430 &#8212; \u0442\u0430\u043c \u043d\u0438\u0447\u0435\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e. \u042f \u0435\u0449\u0451 \u0447\u0443\u0442\u044c-\u0447\u0443\u0442\u044c \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043b \u043a\u043e\u0434 View. \u0415\u0441\u043b\u0438 \u043a\u043e\u0440\u043e\u0442\u043a\u043e &#8212; \u044d\u0442\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0432 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u0445 \u0432 \u043a\u043e\u0434\u0435 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 XML.  <\/p>\n<p><strong>\u041c\u0430\u0433\u0438\u044f \u2728<\/strong>  <\/p>\n<p>\u041d\u0443 \u0438 \u0442\u0443\u0442 \u043d\u0438\u0436\u0435 \u043f\u043e\u043a\u0430\u0436\u0443 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0432 \u0438\u0442\u043e\u0433\u0435. \u0418\u0433\u0440\u0430\u044f\u0441\u044c \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u043b\u0438\u043d\u0437\u044b \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0440\u0430\u0437\u043d\u044b\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u044b.  <\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a1e\/548\/cfb\/a1e548cfb82abc52101e25f91d996892.gif\" width=\"400\" height=\"203\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a1e\/548\/cfb\/a1e548cfb82abc52101e25f91d996892.gif 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a1e\/548\/cfb\/a1e548cfb82abc52101e25f91d996892.gif 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dee\/83b\/bd1\/dee83bbd1c4ea11a090c57c43b9af599.gif\" alt=\"\u0421\u0442\u0435\u043a\u043b\u043e\u043a\u043d\u043e\u043f\u043a\u0430\" title=\"\u0421\u0442\u0435\u043a\u043b\u043e\u043a\u043d\u043e\u043f\u043a\u0430\" width=\"400\" height=\"109\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dee\/83b\/bd1\/dee83bbd1c4ea11a090c57c43b9af599.gif 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dee\/83b\/bd1\/dee83bbd1c4ea11a090c57c43b9af599.gif 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u0421\u0442\u0435\u043a\u043b\u043e\u043a\u043d\u043e\u043f\u043a\u0430<\/figcaption><\/div>\n<\/figure>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fd0\/d01\/d18\/fd0d01d1899fabb2af2c3f6ec926b58a.gif\" alt=\"\u0421\u0442\u0435\u043a\u043b\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u0440\u0430\u0441\u0438\u0442\u044c \u0434\u043b\u044f \u043a\u0440\u0430\u0441\u043e\u0442\u044b\" title=\"\u0421\u0442\u0435\u043a\u043b\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u0440\u0430\u0441\u0438\u0442\u044c \u0434\u043b\u044f \u043a\u0440\u0430\u0441\u043e\u0442\u044b\" width=\"400\" height=\"249\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fd0\/d01\/d18\/fd0d01d1899fabb2af2c3f6ec926b58a.gif 780w,&#10;       https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/fd0\/d01\/d18\/fd0d01d1899fabb2af2c3f6ec926b58a.gif 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u0421\u0442\u0435\u043a\u043b\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u0440\u0430\u0441\u0438\u0442\u044c \u0434\u043b\u044f \u043a\u0440\u0430\u0441\u043e\u0442\u044b<\/figcaption><\/div>\n<\/figure>\n<p><strong>\u0412\u0441\u0451 \u0445\u043e\u0440\u043e\u0448\u043e? \u041d\u0443&#8230; \u043d\u0435\u0442<\/strong>  <\/p>\n<ul>\n<li>\n<p>\u042d\u0442\u0438 \u0448\u0435\u0439\u0434\u0435\u0440\u044b \u0432\u043b\u0438\u044f\u044e\u0442 \u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c. \u041e\u0447\u0435\u043d\u044c. \u041e\u0447\u0435\u043d\u044c. \u041e\u0447\u0435\u043d\u044c. \u041c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043a\u043e\u0441\u044f\u043a \u0432 \u043c\u043e\u0435\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438.<\/p>\n<\/li>\n<li>\n<p>\u042d\u0442\u043e\u0442 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043a\u043e \u0432\u0441\u0435\u043c\u0443 \u043f\u043e\u0434\u0440\u044f\u0434. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a AppBarLayout &#8212; \u0442\u043e\u0447\u043d\u043e \u043d\u0435\u0442. \u041e\u043d \u0436\u0435 LinearLayout. \u0410 \u0435\u0441\u043b\u0438 \u043e\u043d \u043d\u0435 LinearLayout &#8212; \u043f\u0440\u043e\u0449\u0430\u0439 liftOnScroll.<\/p>\n<\/li>\n<li>\n<p>\u0427\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a \u0442\u0430\u043a\u043e\u043c\u0443 \u0448\u0435\u0439\u0434\u0435\u0440\u0443 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435, \u0437\u0430\u0432\u0438\u0441\u044f\u0449\u0435\u0435 \u043e\u0442 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 &#8212; \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u044b.<\/p>\n<\/li>\n<\/ul>\n<h3>\u0418\u0442\u043e\u0433 \u0438 \u0432\u044b\u0432\u043e\u0434\u044b<\/h3>\n<p>\u042f \u043d\u0435 \u0437\u043d\u0430\u044e, \u043a\u0430\u043a \u042d\u043f\u043b \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043b\u0438.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u043d\u043d\u043e\u0439 \u043c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u044f \u0441\u0442\u0430\u043b \u0443\u0432\u0430\u0436\u0430\u0442\u044c Liquid Glass. \u042f \u043d\u0435 \u0437\u043d\u0430\u044e, \u043a\u0430\u043a \u044d\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u0443 \u043d\u0438\u0445, \u043c\u043e\u0433\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c, \u0447\u0442\u043e Liquid Glass &#8212; \u0442\u043e\u0436\u0435 \u0448\u0435\u0439\u0434\u0435\u0440\u044b, \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0434\u0443\u043c\u0430\u043d\u043d\u044b\u0435. \u0421\u0438\u0441\u0442\u0435\u043c\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u042d\u043f\u043b \u0432\u044b\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043b\u0438 \u0442\u0430\u043a \u0434\u043e\u043b\u0433\u043e, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u043c \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c.<\/p>\n<p>Android \u0436\u0435 \u043f\u043e\u043a\u0430 \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0435. \u0411\u043e\u043b\u044c\u0448\u0430\u044f \u043d\u0430\u0434\u0435\u0436\u0434\u0430 \u043d\u0430 \u043a\u0438\u0442\u0430\u0439\u0446\u0435\u0432, \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443 Xiaomi \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435, \u043e\u043d\u0438 \u043a\u0430\u043a \u0440\u0430\u0437 \u043b\u044e\u0431\u044f\u0442 &#171;\u0437\u0430\u0438\u043c\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c&#187; \u0432\u0441\u044f\u043a\u0438\u0435 \u0448\u0443\u0442\u043a\u0438 \u0443 \u042d\u043f\u043b (\u043d\u043e \u044d\u0442\u043e \u0438 \u043d\u0435 \u043f\u043b\u043e\u0445\u043e). \u041d\u043e \u0432 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043f\u043e\u043a\u0430 \u043d\u0435 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u043e\u043f\u0435\u043d-\u0441\u0443\u0440\u0446 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u0441\u0442\u0435\u043a\u043b\u044f\u043d\u043d\u044b\u0445 \u043f\u043b\u044e\u0448\u0435\u043a &#8212; \u043b\u043e\u0432\u0438\u0442\u044c \u0432 \u0441\u0442\u0435\u043a\u043b\u043e\u043c\u043e\u0440\u0444\u0438\u0437\u043c\u0435 \u043d\u0435\u0447\u0435\u0433\u043e.<\/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\/articles\/918030\/\"> https:\/\/habr.com\/ru\/articles\/918030\/<\/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><strong>\u0414\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0432 \u0442\u0430\u043d\u043a\u0435<\/strong>  <\/p>\n<p>Apple \u043f\u0440\u0435\u0437\u0435\u043d\u0442\u043e\u0432\u0430\u043b\u0438 \u0441\u0432\u043e\u0439 \u043d\u043e\u0432\u044b\u0439 \u0444\u0438\u0440\u043c\u0435\u043d\u043d\u044b\u0439 \u0441\u0442\u0438\u043b\u044c. Liquid Glass &#8212; \u044d\u0442\u043e \u043d\u043e\u0432\u044b\u0439 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b&#8230; \u041a\u0440\u0430\u0441\u0438\u0432\u043e \u043b\u0438 \u044d\u0442\u043e? \u0421\u043f\u043e\u0440\u043d\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0430 \u0441\u043f\u043e\u0440\u0438\u0442\u044c \u044f \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0435 \u0445\u043e\u0447\u0443.  <\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0412\u0441\u0451 \u043d\u043e\u0432\u043e\u0435 &#8212; \u044d\u0442\u043e \u0437\u0430\u0431\u044b\u0442\u043e\u0435 \u0441\u0442\u0430\u0440\u043e\u0435? \u041a\u0430\u043a \u0431\u044b \u0434\u0430&#8230; \u043d\u043e \u043d\u0435\u0442. \u042f \u043f\u0440\u043e\u0447\u0451\u043b \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u0443\u0436\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0430\u0445 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0445 \u0441\u043c\u0430\u0440\u0442\u0444\u043e\u043d\u043e\u0432, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a \u0421\u044f\u043e\u043c\u0438 \u0438\u043b\u0438 \u0447\u0451 \u0442\u0430\u043c \u0435\u0449\u0451 \u0443 \u041a\u0438\u0442\u0430\u044f. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0442\u043e, \u0447\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438 \u0432 \u0431\u0435\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u0438 iOS &#8212; \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043b\u043e\u0441\u044c \u0432 Android \u043d\u0438\u0433\u0434\u0435 \u0440\u0430\u043d\u0435\u0435, \u043d\u043e \u0438 \u043d\u0435 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432 Android \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u0440\u0438\u0433\u043b\u044f\u0434\u0438\u0442\u0435\u0441\u044c \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e &#8212; \u044d\u0442\u043e\u0442 \u0441\u0442\u0435\u043a\u043b\u044f\u043d\u043d\u044b\u0439 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0442\u0430\u043a \u043f\u0440\u043e\u0441\u0442, \u043a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434. \u042d\u0442\u043e &#8212; \u043d\u0435 \u0440\u0430\u0437\u043c\u044b\u0442\u0438\u0435. \u041c\u044b \u0432\u0438\u0434\u0438\u043c \u0438\u0441\u043a\u0430\u0436\u0435\u043d\u0438\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0434 &#171;\u0441\u0442\u0435\u043a\u043b\u043e\u043c&#187;, \u0430 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c &#171;\u0441\u0442\u0435\u043a\u043b\u0435&#187; \u0432\u0438\u0434\u0438\u043c \u043e\u0442\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0440\u044f\u0434\u043e\u043c. \u0411\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u0432\u043e\u043a\u0440\u0443\u0433 &#171;\u0441\u0442\u0435\u043a\u043b\u0430&#187; \u0435\u0441\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043a\u043e\u043d\u0442\u0443\u0440 \u043e\u0442\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0441\u0432\u0435\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430.<\/p>\n<figure class=\"\"><\/figure>\n<p>\u041d\u0443 \u043b\u0430\u0434\u043d\u043e. \u0427\u0435\u043b\u043b\u0435\u043d\u0434\u0436 &#8212; \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u0432 Android. \u041d\u0435 \u0431\u0435\u0440\u0443\u0441\u044c \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u044d\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0442\u0430\u043a \u0436\u0435 \u0445\u043e\u0440\u043e\u0448\u043e. \u0414\u0430 \u0438 \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u0445\u043e\u0442\u044c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c&#8230;<\/p>\n<h3>\u0410\u043d\u0430\u043b\u0438\u0437<\/h3>\n<p>\u0418\u0442\u0430\u043a, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0451, \u0447\u0442\u043e \u043c\u044b \u0443\u0432\u0438\u0434\u0435\u043b\u0438.<\/p>\n<p>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435&#8230; \u0438\u0441\u043a\u0430\u0436\u0435\u043d\u0438\u044f&#8230; \u0440\u0430\u0437\u043c\u044b\u0442\u0438\u0435&#8230; \u043e \u0447\u0451\u043c \u0432\u044b \u043f\u043e\u0434\u0443\u043c\u0430\u043b\u0438? \u041f\u0435\u0440\u0432\u043e\u0435, \u0447\u0442\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 \u2013 <strong><em>\u2728 \u0428\u0415\u0419\u0414\u0415\u0420\u042b \u2728<\/em><\/strong><\/p>\n<p>\u041e\u043a\u0435\u0439, \u0448\u0435\u0439\u0434\u0435\u0440\u044b. \u041b\u0430\u0434\u043d\u043e. \u0410 \u043a \u0447\u0435\u043c\u0443 \u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c? \u041d\u0443, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e \u0436\u0435, \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435? \u0410 \u043d\u0435\u0442, \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u0436\u0435 \u043d\u0435 \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u0430\u044f, \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 &#8212; \u043d\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435. \u041d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 &#8212; \u043a\u0443\u0447\u0430 \u0432\u0441\u0435\u0433\u043e: \u043a\u043e\u043d\u0442\u0435\u043d\u0442, \u043a\u043d\u043e\u043f\u043a\u0438, \u0442\u0435\u043a\u0441\u0442, \u0432\u0441\u0451 \u044d\u0442\u043e \u0434\u0432\u0438\u0436\u0435\u0442\u0441\u044f \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0441 \u044d\u0442\u0438\u043c \u0432\u0441\u0435\u043c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442&#8230;<\/p>\n<p>\u0410 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435, \u043e\u0431\u044b\u0447\u043d\u043e, \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432\u044c\u044e\u0445\u0438. \u041d\u0443 \u0438 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u0441\u0432\u043e\u044e \u0432\u044c\u044e\u0445\u0443.<\/p>\n<p>\u041a \u0441\u043b\u043e\u0432\u0443, \u044f \u043d\u0438 \u0440\u0430\u0437\u0443 \u043d\u0435 \u043f\u0438\u0441\u0430\u043b \u0448\u0435\u0439\u0434\u0435\u0440\u043e\u0432, \u043d\u0435 \u0437\u043d\u0430\u043a\u043e\u043c \u0441 \u0442\u0435\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0422\u0430\u043a \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u044f \u043d\u0435\u0441\u0443 \u0447\u0443\u0448\u044c &#8212; \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u044f \u043d\u0435\u0441\u0443 \u0447\u0443\u0448\u044c.<\/p>\n<h3>\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c<\/h3>\n<p>\u0427\u0442\u043e \u043e\u043d\u0430 (\u0432\u044c\u044e\u0445\u0430) \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c? \u041d\u0443 \u043f\u0443\u0441\u043a\u0430\u0439 \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u043f\u043e\u0434 \u0441\u043e\u0431\u043e\u0439, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0438\u0441\u043a\u0430\u0436\u0435\u043d\u0438\u044f (\u0442\u043e \u0435\u0441\u0442\u044c, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0448\u0435\u0439\u0434\u0435\u0440\u044b \u043a \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044e).<\/p>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u0443 \u043c\u0435\u043d\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0441 Android 15 &#8212; \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/developer.android.com\/develop\/ui\/views\/graphics\/agsl\/using-agsl\" rel=\"noopener noreferrer nofollow\">AGSL \u0448\u0435\u0439\u0434\u0435\u0440\u044b<\/a>. \u041f\u043e\u0447\u0438\u0442\u0430\u043b\u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e, \u043f\u043e\u0439\u0434\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<p>\u0410 \u043a\u0430\u043a \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0434 \u0432\u044c\u044e? \u041d\u0443 \u044f \u043f\u043e\u0434\u0443\u043c\u0430\u043b, \u0438 \u0440\u0435\u0448\u0438\u043b &#8212; \u043f\u0443\u0441\u043a\u0430\u0439 \u0443 \u043d\u0430\u0448\u0435\u0439 \u0432\u044c\u044e\u0445\u0438 \u0431\u0443\u0434\u0435\u0442 targetView &#8212; \u0446\u0435\u043b\u044c, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u044d\u0444\u0444\u0435\u043a\u0442\u044b. \u0422\u0430\u043a \u0434\u0430\u0436\u0435 \u043b\u0443\u0447\u0448\u0435 &#8212; \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u043d\u0430\u0448\u0443 \u0432\u044c\u044e \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e, \u0430 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <em>onPreDrawListener <\/em>\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u043d\u0430\u0448\u0443 \u0432\u044c\u044e \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u0446\u0435\u043b\u044c \u043f\u0440\u0435\u0442\u0435\u0440\u043f\u0435\u0432\u0430\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f.<\/p>\n<p>\u041d\u0443 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u0432\u044c\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u0442\u044c targetView \u0432 bitmap \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043d\u0430 \u0441\u0435\u0431\u0435.<\/p>\n<p>\u041e\u043a\u0435\u0439, targetView&#8230; \u0437\u043d\u0430\u0447\u0438\u0442 \u043f\u0443\u0441\u043a\u0430\u0439 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a:  <\/p>\n<pre><code>fun setTargetView(view: View) {         targetView?.viewTreeObserver?.removeOnPreDrawListener(targetLayoutListener)         targetView = view         view.viewTreeObserver.addOnPreDrawListener(targetLayoutListener)     }<\/code><\/pre>\n<p>targetLayoutListener \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u043e\u043c \u0432\u0441\u0435\u0439 \u0442\u043e\u0439 \u0436\u0435\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0435\u043c. \u041d\u043e \u043f\u043e\u043a\u0430 \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 targetView.  <\/p>\n<pre><code>private val targetLayoutListener = ViewTreeObserver.OnPreDrawListener {         updateBitmap()         true     }    private fun updateBitmap() {         val view = targetView ?: return         val bmp = view.drawToBitmap(Bitmap.Config.ARGB_8888)         targetBitmap = bmp          val shader = runtimeShader ?: return         val bitmapShader = BitmapShader(             bmp,             Shader.TileMode.CLAMP,             Shader.TileMode.CLAMP         )          val targetPos = IntArray(2)         val selfPos = IntArray(2)          view.getLocationOnScreen(targetPos)         getLocationOnScreen(selfPos)          shader.setInputShader(\"iImage1\", bitmapShader)         shader.setFloatUniform(\"iImageResolution\", bmp.width.toFloat(), bmp.height.toFloat())         shader.setFloatUniform(\"iTargetViewPos\", targetPos[0].toFloat(), targetPos[1].toFloat())         shader.setFloatUniform(\"iShaderViewPos\", selfPos[0].toFloat(), selfPos[1].toFloat())          shaderPaint?.shader = shader         invalidate()     }<\/code><\/pre>\n<p>\u041d\u0443 \u0438 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0448\u0435\u0439\u0434\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0442\u043e, \u0447\u0442\u043e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0432 bitmap:  <\/p>\n<pre><code>private val shaderCode = \"\"\"         uniform shader iImage1; uniform float2 iTargetViewPos;      \/\/ \u043f\u043e\u0437\u0438\u0446\u0438\u044f targetView \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 uniform float2 iShaderViewPos;      \/\/ \u043f\u043e\u0437\u0438\u0446\u0438\u044f ShaderView \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 uniform float2 iImageResolution;    \/\/ \u0440\u0430\u0437\u043c\u0435\u0440 targetBitmap  half4 main(float2 fragCoord) {     float2 globalCoord = fragCoord + iShaderViewPos - iTargetViewPos;     float2 uv = globalCoord \/ iImageResolution;     return iImage1.eval(uv * iImageResolution); \/\/ \u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0441\u0442\u043e iImage1.eval(globalCoord); }     \"\"\".trimIndent()<\/code><\/pre>\n<p>\u0414\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0438\u043c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 ScrollView, \u0430 \u0432 \u043d\u0451\u043c &#8212; \u043a\u0443\u0447\u0443 \u0440\u0430\u0437\u043d\u043e\u0446\u0432\u0435\u0442\u043d\u044b\u0445 \u043a\u043d\u043e\u043f\u043e\u043a. \u042d\u0442\u043e \u0438 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0448 targetView. \u041d\u0430\u0448\u0443 View \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0438\u043c \u0432\u043d\u0443\u0442\u0440\u0438 cardview \u0441 elevation, \u0447\u0442\u043e\u0431\u044b \u0442\u0435\u043d\u044c \u043e\u0442\u043b\u0438\u0447\u0430\u043b\u0430 \u0435\u0451 \u043e\u0442 targetView.  <\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0412\u043e\u0442 \u043e\u043d\u0430 &#8212; \u043d\u0430\u0448\u0430 \u0432\u044c\u044e\u0448\u043a\u0430, \u043d\u0430 \u043d\u0451\u0451 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u0440\u0430\u0441\u043d\u0430\u044f \u0441\u0442\u0440\u0435\u043b\u043a\u0430  <\/figcaption><\/div>\n<\/figure>\n<p>\u0418\u0442\u0430\u043a&#8230; \u0432\u0440\u043e\u0434\u0435 \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041d\u0430 \u043d\u0430\u0448\u0435\u0439 \u0432\u044c\u044e\u0445\u0435 \u0432\u0438\u0434\u043d\u043e \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0434 \u043d\u0435\u0439. \u0423\u0436\u0435 \u043d\u0435\u043f\u043b\u043e\u0445\u043e.<\/p>\n<h3>\u0421\u0442\u0435\u043a\u043b\u043e, \u0441\u0442\u0435\u043a\u043b\u043e, \u0441\u0442\u0435\u043a\u043b\u043e<\/h3>\n<p>\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u0434 \u0432\u044c\u044e\u0448\u043a\u043e\u0439, \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0440\u043e\u0439\u0442\u0438 \u0440\u044f\u0434 \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u043d\u0430\u0434 \u043d\u0438\u043c\u0438. \u0412 \u0438\u0442\u043e\u0433\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u043e\u0445\u043e\u0436\u0435 (\u0445\u043e\u0442\u044f \u0431\u044b \u043e\u0442\u0434\u0430\u043b\u0451\u043d\u043d\u043e) \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0431\u044b \u0432\u044b \u0443\u0432\u0438\u0434\u0435\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 \u043b\u0438\u043d\u0437\u0443, \u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u043d\u0435\u0433\u043e.<\/p>\n<p>\u0414\u0443\u043c\u0430\u044f \u043d\u0430\u0441\u0447\u0451\u0442 \u043b\u0438\u043d\u0437\u044b \u044f \u043f\u0440\u0438\u0448\u0451\u043b \u043a \u0447\u0435\u043c\u0443-\u0442\u043e \u0442\u0430\u043a\u043e\u043c\u0443:<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u041c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u044d\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0430 Apple. \u0421\u0432\u0435\u0442 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 \u043b\u0438\u043d\u0437\u0443. \u0427\u0435\u043c \u0431\u043b\u0438\u0436\u0435 \u043b\u0443\u0447 \u043a \u043a\u0440\u0430\u044e \u043b\u0438\u043d\u0437\u044b, \u0442\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0435\u0442 \u044d\u0444\u0444\u0435\u043a\u0442 \u0438\u0441\u043a\u0430\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>\u0418\u0442\u0430\u043a&#8230; \u0443 \u043d\u0430\u0448\u0435\u0439 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u043b\u0438\u043d\u0437\u044b \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0442\u043e\u043b\u0449\u0438\u043d\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u043a\u0440\u0438\u0432\u0438\u0437\u043d\u044b.<\/p>\n<p>\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0448\u0435\u0439\u0434\u0435\u0440&#8230; \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u044d\u0444\u0444\u0435\u043a\u0442 \u044d\u0442\u043e\u0439 \u043b\u0438\u043d\u0437\u044b:<\/p>\n<pre><code>float2 applyLensDistortion(float2 fragCoord, float2 center, float2 size, float cornerRadius, float curvature, float thickness) {     float2 delta = fragCoord - center;     float2 local = abs(delta) - size + cornerRadius;     float distToEdge = length(max(local, 0.0));     float inFactor = smoothstep(cornerRadius, cornerRadius * 0.01, distToEdge);      float2 normDelta = delta \/ size;     float len = length(normDelta);     float distortion = curvature * (1.0 - len * len*len);      float2 offset = normalize(delta) * distortion * thickness * (1.0 - inFactor);     return fragCoord + offset; }<\/code><\/pre>\n<p>\u042f \u043d\u0435 \u0441\u0438\u043b\u0451\u043d \u0432 \u0448\u0435\u0439\u0434\u0435\u0440\u0430\u0445. \u0418 \u0432\u043e\u043e\u0431\u0449\u0435 \u044d\u0442\u043e \u043c\u043e\u0439 \u043f\u0435\u0440\u0432\u044b\u0439 \u0448\u0435\u0439\u0434\u0435\u0440. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 &#8212; \u0438 \u0442\u0430\u043a \u0441\u043e\u0439\u0434\u0451\u0442.<\/p>\n<p>\u041d\u0443 \u0438 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u044b\u0442\u0438\u0435, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435. \u042f \u0441\u0434\u0435\u043b\u0430\u043b \u0435\u0433\u043e \u043e\u0447\u0435\u043d\u044c \u0442\u043e\u043f\u043e\u0440\u043d\u043e. \u041c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0441\u043c\u0435\u044f\u0442\u044c\u0441\u044f, \u044f \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e:<\/p>\n<pre><code>half4 gaussianBlur(float2 uv, float2 resolution, float radius) {     if (radius &lt;= 0.0) {         return iImage1.eval(uv * resolution);     }          half4 color = half4(0.0);     float totalWeight = 0.0;          float2 texelSize = radius \/ resolution;          float2 offset = float2(-2.0, -2.0) * texelSize;     float weight = exp(-8.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-1.0, -2.0) * texelSize;     weight = exp(-5.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(0.0, -2.0) * texelSize;     weight = exp(-4.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(1.0, -2.0) * texelSize;     weight = exp(-5.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(2.0, -2.0) * texelSize;     weight = exp(-8.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-2.0, -1.0) * texelSize;     weight = exp(-5.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-1.0, -1.0) * texelSize;     weight = exp(-2.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(0.0, -1.0) * texelSize;     weight = exp(-1.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(1.0, -1.0) * texelSize;     weight = exp(-2.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(2.0, -1.0) * texelSize;     weight = exp(-5.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-2.0, 0.0) * texelSize;     weight = exp(-4.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-1.0, 0.0) * texelSize;     weight = exp(-1.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          weight = 1.0;     color += iImage1.eval(uv * resolution) * weight;     totalWeight += weight;          offset = float2(1.0, 0.0) * texelSize;     weight = exp(-1.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(2.0, 0.0) * texelSize;     weight = exp(-4.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-2.0, 1.0) * texelSize;     weight = exp(-5.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(-1.0, 1.0) * texelSize;     weight = exp(-2.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(0.0, 1.0) * texelSize;     weight = exp(-1.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv + offset) * resolution) * weight;     totalWeight += weight;          offset = float2(1.0, 1.0) * texelSize;     weight = exp(-2.0 \/ (2.0 * radius * radius * 0.25));     color += iImage1.eval((uv +<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\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-463089","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/463089","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=463089"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/463089\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=463089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=463089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=463089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}