Skip to content

Commit

Permalink
added: tv banner
Browse files Browse the repository at this point in the history
  • Loading branch information
itszechs committed Jul 9, 2022
1 parent a230911 commit e11568a
Show file tree
Hide file tree
Showing 4 changed files with 120 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<application
android:name=".ThisApp"
android:allowBackup="false"
android:banner="@mipmap/ic_launcher"
android:banner="@mipmap/ic_banner"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
Expand Down
110 changes: 110 additions & 0 deletions app/src/main/res/drawable/ic_banner_foreground.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="320dp"
android:height="180dp"
android:viewportWidth="320"
android:viewportHeight="180">
<group
android:scaleX="0.6666667"
android:scaleY="0.6666667"
android:translateX="53.333332"
android:translateY="30">
<group
android:scaleX="0.1224"
android:scaleY="0.1224"
android:translateX="43"
android:translateY="59.4">
<group>
<clip-path android:pathData="M0,0h500v500h-500z" />
<path android:pathData="M278.67,131.97a108.87,108.87 0,0 1,108.19 97.04l1.07,9.9a11.65,11.65 0,0 0,9.54 10.26l9.81,1.78c12.49,2.23 24.08,9.28 32.73,19.71a59.53,59.53 0,0 1,13.56 37.55A61.59,61.59 0,0 1,436.71 349.95c-10.88,11.24 -24.8,17.48 -39.33,17.48L102.88,367.43c-14.54,0 -28.45,-6.24 -39.15,-17.57a61.42,61.42 0,0 1,-16.86 -41.74,63.6 63.6,0 0,1 11.68,-36.48A57.74,57.74 0,0 1,88.6 249.26l9.19,-2.94a11.68,11.68 0,0 0,8.12 -10.88l0.18,-9.63a43.44,43.44 0,0 1,12.04 -28.9c7.4,-7.76 16.86,-11.95 26.67,-11.95a38.73,38.73 0,0 1,14.54 2.85l9.9,4.01a11.63,11.63 0,0 0,14 -4.19l6.07,-8.74a108.53,108.53 0,0 1,89.37 -46.91m0,-24.97a133.59,133.59 0,0 0,-110.06 57.71,63.22 63.22,0 0,0 -23.99,-4.73c-34.87,0 -63.15,30.68 -63.68,65.46C45.35,236.77 21.8,271.55 21.8,308.12c0,44.77 36.3,84.28 81.07,84.28L397.47,392.41c44.77,0 81.07,-39.51 81.07,-84.28 0,-39.87 -28.81,-75.01 -66.8,-81.79A133.94,133.94 0,0 0,278.67 107Z">
<aapt:attr name="android:fillColor">
<gradient
android:endX="21.8"
android:endY="313.92"
android:startX="478.54"
android:startY="309.92"
android:type="linear">
<item
android:color="#FF00E6F6"
android:offset="0" />
<item
android:color="#FF5E4FE6"
android:offset="0" />
<item
android:color="#FF004E92"
android:offset="0" />
<item
android:color="#FFAD09B4"
android:offset="0" />
<item
android:color="#FFFF4081"
android:offset="0" />
<item
android:color="#FF448AFF"
android:offset="1" />
</gradient>
</aapt:attr>
</path>
<path android:pathData="M210.18,199.5l-0,0a14.13,14.13 75,0 1,3.57 -4.09,14.33 14.33,75 0,1 4.8,-2.46 13.97,13.97 75,0 1,11.02 1.36L283.5,225.44a100.46,100.46 75,0 1,4.98 19.73A134.14,134.14 75,0 1,289.94 268.34a128.77,128.77 75,0 1,-6.16 37.47,1.96 1.96,75 0,0 1.27,2.39 2.05,2.05 75,0 0,2.35 -0.97,2.19 2.19,75 0,0 0.13,-0.26 132.68,132.68 75,0 0,6.38 -38.71c0.31,-14.28 -1.45,-28.02 -5.1,-39.75L317.8,245.24a41.51,41.51 75,0 1,-5.56 14.94A78.13,78.13 75,0 1,304.57 271.04a2.17,2.17 75,0 0,-0.27 0.37,2.11 2.11,75 0,0 -0.2,1.68 1.89,1.89 75,0 0,1.52 1.32,2.04 2.04,75 0,0 1.91,-0.8A82.43,82.43 75,0 0,315.63 262.15,47.97 47.97,75 0,0 321.46,247.36l14.46,8.35a13.69,13.69 75,0 1,6.87 9.06,13.89 13.89,75 0,1 0.1,5.28 14.92,14.92 75,0 1,-1.8 4.97,14.23 14.23,75 0,1 -5.3,5.3l-56.1,31.62a95.83,95.83 75,0 1,-18.87 -4.76,121.47 121.47,75 0,1 -19.75,-9.19 113.82,113.82 75,0 1,-27.78 -22.14,1.88 1.88,75 0,0 -1.91,-0.64 2.12,2.12 75,0 0,-1.34 1.01,2.15 2.15,75 0,0 -0.19,0.44 2.01,2.01 75,0 0,0.46 2.01,117.62 117.62,75 0,0 28.7,22.89 117.02,117.02 75,0 0,35.02 13.58l-29.96,16.89c-5.27,-4.68 -9.78,-12.38 -13.05,-22.26a1.89,1.89 75,0 0,-1.48 -1.4,2.03 2.03,75 0,0 -1.95,0.75 2.14,2.14 75,0 0,-0.19 0.27,2.11 2.11,75 0,0 -0.14,1.82c3.25,9.83 7.76,17.75 13.05,22.92l-9.65,5.44a13.99,13.99 75,0 1,-14.02 -0.06,14.03 14.03,75 0,1 -7.09,-12.13l-0.58,-57.5a106.92,106.92 75,0 1,14.44 -15.17,137.12 137.12,75 0,1 19.02,-13.86 124.19,124.19 75,0 1,34.18 -14.59,2.1 2.1,75 0,0 1.4,-1.02 2.17,2.17 75,0 0,0.17 -0.38,2.03 2.03,75 0,0 -0.39,-2.03 1.89,1.89 75,0 0,-1.94 -0.54,128.42 128.42,75 0,0 -35.32,15.08 131.1,131.1 75,0 0,-31.62 26.36l-0.35,-34.41a33.55,33.55 75,0 1,12.7 -3.58A64.06,64.06 75,0 1,237.84 226.48a2.03,2.03 75,0 0,1.93 -0.7,2.18 2.18,75 0,0 0.23,-0.32 2.1,2.1 75,0 0,0.18 -1.73,1.88 1.88,75 0,0 -1.54,-1.27c-11.97,-1.97 -22.38,-1.14 -30.13,2.42l-0.18,-18.17A14.1,14.1 75,0 1,210.18 199.5ZM263.64,272.46a7.54,7.54 75,0 0,0.62 -1.39,7.07 7.07,75 0,0 -0.38,-5.51 6.47,6.47 75,0 0,-3.86 -3.26A7.1,7.1 75,0 0,251.89 265.66a7.53,7.53 75,0 0,-0.62 1.39A7.08,7.08 75,0 0,251.65 272.56a6.47,6.47 75,0 0,3.86 3.26A7.1,7.1 75,0 0,263.64 272.46Z">
<aapt:attr name="android:fillColor">
<gradient
android:endX="275.74"
android:endY="341.43"
android:startX="275.74"
android:startY="192.25"
android:type="linear">
<item
android:color="#FFFF4081"
android:offset="0" />
<item
android:color="#FF448AFF"
android:offset="1" />
</gradient>
</aapt:attr>
</path>
</group>
</group>

<group
android:scaleX="0.19223443"
android:scaleY="0.19223443"
android:translateX="128"
android:translateY="71.74599">
<group android:translateY="150.89062">
<path
android:fillColor="#000000"
android:pathData="M13.4375,-0L13.4375,-103L43.171875,-103Q61.953125,-103,74.1875,-90.40625Q86.421875,-77.8125,86.421875,-58.078125L86.421875,-44.84375Q86.421875,-25.046875,74.1875,-12.515625Q61.953125,-0,43.171875,-0L13.4375,-0ZM21.796875,-95.78125L21.796875,-7.15625L43.171875,-7.15625Q58.359375,-7.15625,68.171875,-17.828125Q77.984375,-28.515625,77.984375,-44.84375L77.984375,-58.296875Q77.984375,-74.421875,68.140625,-85.09375Q58.296875,-95.78125,43.171875,-95.78125L21.796875,-95.78125Z" />
<path
android:fillColor="#000000"
android:pathData="M141.125,-70L134.875,-70Q126.921875,-70,121.828125,-65.5625Q116.734375,-61.125,114.546875,-53.375L114.546875,-0.5L106.109375,-0.5L106.109375,-77.078125L113.5,-77.078125L114.546875,-64.34375L114.546875,-63.5Q117.859375,-70.578125,123.40625,-74.53125Q128.96875,-78.5,136.625,-78.5Q138.25,-78.5,139.75,-78.25Q141.26562,-78.015625,142.25,-77.734375L141.125,-70Z" />
<path
android:fillColor="#000000"
android:pathData="M164.53125,-0.5L156.17188,-0.5L156.17188,-77.046875L164.53125,-77.046875L164.53125,-0.5ZM164.53125,-99L156.17188,-99L156.17188,-110.890625L164.53125,-110.890625L164.53125,-99Z" />
<path
android:fillColor="#000000"
android:pathData="M209.76562,-19.171875L212.23438,-10.1875L212.65625,-10.1875L215.32812,-19.171875L236,-76.5L244.71875,-76.5L215.8125,0L209.0625,0L180.09375,-76.5L188.8125,-76.5L209.76562,-19.171875Z" />
<path
android:fillColor="#000000"
android:pathData="M286.65625,1Q272.39062,1,262.92188,-9.578125Q253.46875,-20.15625,253.46875,-36.390625L253.46875,-40.265625Q253.46875,-56.640625,262.85938,-67.421875Q272.25,-78.21875,285.60938,-78.21875Q299.59375,-78.21875,307.60938,-69.390625Q315.625,-60.5625,315.625,-45.84375L315.625,-38.703125L261.90625,-38.703125L261.90625,-36.640625Q261.90625,-23.640625,268.71875,-14.890625Q275.54688,-6.140625,286.65625,-6.140625Q294.53125,-6.140625,300.07812,-8.34375Q305.64062,-10.546875,309.57812,-14.671875L313.17188,-8.84375Q308.875,-4.3125,302.29688,-1.65625Q295.73438,1,286.65625,1ZM285.60938,-71Q276.25,-71,269.92188,-63.859375Q263.59375,-56.734375,262.54688,-46L262.6875,-46L307.26562,-46L307.26562,-48.078125Q307.26562,-57.828125,301.42188,-64.40625Q295.59375,-71,285.60938,-71Z" />
<path
android:fillColor="#000000"
android:pathData="M428,-25.75Q428,-34.15625,421.73438,-39.5Q415.48438,-44.84375,399.95312,-48.953125Q383.14062,-53.203125,374.48438,-60Q365.84375,-66.796875,365.84375,-78.328125Q365.84375,-90.125,375.51562,-97.5625Q385.1875,-105,400.375,-105Q416.1875,-105,425.89062,-96.078125Q435.59375,-87.171875,435.3125,-74.34375L435.10938,-74.34375L427.375,-74.34375Q427.375,-84.578125,420.09375,-91.171875Q412.8125,-97.78125,400.375,-97.78125Q388.0625,-97.78125,381.14062,-92.25Q374.21875,-86.734375,374.21875,-78.53125Q374.21875,-70.75,380.60938,-65.546875Q387.01562,-60.34375,402.6875,-56.390625Q419.21875,-52.140625,427.82812,-44.921875Q436.4375,-37.703125,436.4375,-25.875Q436.4375,-13.578125,426.42188,-6.28125Q416.40625,1,400.85938,1Q385.53125,1,374.10938,-6.796875Q362.6875,-14.609375,363.03125,-29.5625L363.17188,-29.5625L370.90625,-29.5625Q370.90625,-17.640625,379.82812,-11.890625Q388.76562,-6.140625,400.85938,-6.140625Q413.03125,-6.140625,420.51562,-11.515625Q428,-16.90625,428,-25.75Z" />
<path
android:fillColor="#000000"
android:pathData="M467.32812,-96.5L467.32812,-77L484.0625,-77L484.0625,-70.0625L467.32812,-70.0625L467.32812,-20.21875Q467.32812,-12.734375,470.03125,-9.578125Q472.75,-6.4375,477.25,-6.4375Q479.28125,-6.4375,481.21875,-6.609375Q483.15625,-6.78125,485.6875,-7.21875L486.95312,-0.90625Q484.84375,0.015625,481.8125,0.5Q478.79688,1,475.76562,1Q467.75,1,463.28125,-4.078125Q458.82812,-9.171875,458.82812,-20.21875L458.82812,-70.0625L445.67188,-70.0625L445.67188,-77L458.82812,-77L458.82812,-96.5L467.32812,-96.5Z" />
<path
android:fillColor="#000000"
android:pathData="M537.125,-70L530.875,-70Q522.9219,-70,517.8281,-65.5625Q512.7344,-61.125,510.54688,-53.375L510.54688,-0.5L502.10938,-0.5L502.10938,-77.078125L509.5,-77.078125L510.54688,-64.34375L510.54688,-63.5Q513.8594,-70.578125,519.40625,-74.53125Q524.96875,-78.5,532.625,-78.5Q534.25,-78.5,535.75,-78.25Q537.2656,-78.015625,538.25,-77.734375L537.125,-70Z" />
<path
android:fillColor="#000000"
android:pathData="M579.65625,1Q565.3906,1,555.9219,-9.578125Q546.46875,-20.15625,546.46875,-36.390625L546.46875,-40.265625Q546.46875,-56.640625,555.8594,-67.421875Q565.25,-78.21875,578.6094,-78.21875Q592.59375,-78.21875,600.6094,-69.390625Q608.625,-60.5625,608.625,-45.84375L608.625,-38.703125L554.90625,-38.703125L554.90625,-36.640625Q554.90625,-23.640625,561.71875,-14.890625Q568.5469,-6.140625,579.65625,-6.140625Q587.53125,-6.140625,593.0781,-8.34375Q598.6406,-10.546875,602.5781,-14.671875L606.1719,-8.84375Q601.875,-4.3125,595.2969,-1.65625Q588.7344,1,579.65625,1ZM578.6094,-71Q569.25,-71,562.9219,-63.859375Q556.59375,-56.734375,555.5469,-46L555.6875,-46L600.2656,-46L600.2656,-48.078125Q600.2656,-57.828125,594.4219,-64.40625Q588.59375,-71,578.6094,-71Z" />
<path
android:fillColor="#000000"
android:pathData="M673.28125,-0.484375Q672.4375,-4.359375,672.0781,-7.1875Q671.7344,-10.015625,671.7344,-12.890625Q667.5156,-6.890625,660.4844,-2.9375Q653.4531,1,644.65625,1Q633.5469,1,627.3906,-4.90625Q621.25,-10.828125,621.25,-20.765625Q621.25,-31.3125,630.34375,-37.65625Q639.4531,-44,654.9219,-44L671.7344,-44L671.7344,-53.46875Q671.7344,-61.671875,666.4844,-66.328125Q661.25,-71,651.8281,-71Q643.0469,-71,637.2344,-66.546875Q631.4375,-62.09375,631.4375,-55.65625L623.7031,-55.65625L623.5625,-56.09375Q623.1406,-64.671875,631.3281,-71.4375Q639.53125,-78.21875,652.1875,-78.21875Q664.7656,-78.21875,672.4219,-71.796875Q680.09375,-65.390625,680.09375,-53.375L680.09375,-15.875Q680.09375,-11.84375,680.5469,-8.03125Q681.0156,-4.21875,682.0625,-0.484375L673.28125,-0.484375ZM645.6406,-6.5Q654.71875,-6.5,661.6719,-10.75Q668.6406,-15,671.7344,-21.609375L671.7344,-37.484375L654.78125,-37.484375Q643.3281,-37.484375,636.46875,-32.59375Q629.6094,-27.71875,629.6094,-20.484375Q629.6094,-14.296875,633.8594,-10.390625Q638.125,-6.5,645.6406,-6.5Z" />
<path
android:fillColor="#000000"
android:pathData="M709.21875,-76.9375L709.9844,-64.296875Q713.6406,-71.015625,719.71875,-74.6875Q725.8125,-78.359375,734.25,-78.359375Q742.96875,-78.359375,748.8281,-74.109375Q754.7031,-69.875,757.2344,-61.1875Q760.6875,-69.25,767.0469,-73.796875Q773.40625,-78.359375,782.5469,-78.359375Q794.71875,-78.359375,801.3281,-70.234375Q807.9375,-62.109375,807.9375,-45.078125L807.9375,-0.5L799.5,-0.5L799.5,-45.203125Q799.5,-59.34375,794.53125,-65.171875Q789.5781,-71,780.71875,-71Q770.9531,-71,765.6094,-64.84375Q760.2656,-58.703125,759,-49.09375Q759,-48.59375,759.03125,-47.671875Q759.0625,-46.75,759.0625,-46.328125L759.0625,-0.5L750.5625,-0.5L750.5625,-45.203125Q750.5625,-59.0625,745.53125,-65.03125Q740.5,-71,731.71875,-71Q722.78125,-71,717.5469,-66.4375Q712.3125,-61.890625,710.2031,-54.1875L710.2031,-0.5L701.6875,-0.5L701.6875,-76.9375L709.21875,-76.9375Z" />
</group>
</group>
</group>
</vector>
5 changes: 5 additions & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_banner.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_banner_background" />
<foreground android:drawable="@drawable/ic_banner_foreground" />
</adaptive-icon>
4 changes: 4 additions & 0 deletions app/src/main/res/values/ic_banner_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_banner_background">#FFFFFF</color>
</resources>

0 comments on commit e11568a

Please sign in to comment.