From c7ff674a11408712805333918545d9264595cca7 Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Sun, 11 Aug 2024 12:51:59 +0200 Subject: [PATCH] Make banner for TV track compliant (#2095) App was rejected because of banner not filling the full page. I already pushed these changes to the play store (via the release branch) to iterate on play reviews. This was likely accepted, as the tv banner rejection went away and now we are back to all file permission rejection. "Likely" because it's not unimaginable that they are just randomly ping-ponging between the two rejections. Looks like our previous banner is not compliant with any standards that ever existed. Ok maybe it did, definitely not now. Also it looks weird - what's that background? Use the adaptive icon guideline, created from the horizontal logo in the main repo assets. Sizing is hopefully right, it took a bunch of trial and error and ugly hacks to get there. Worst case the TV app launcher thing will look off. https://developer.android.com/design/ui/tv/guides/system/tv-app-icon-guidelines#adaptive-banner --- app/src/main/AndroidManifest.xml | 2 +- .../res/drawable-v24/ic_banner_foreground.xml | 80 ++++++++++++++++++ .../main/res/mipmap-anydpi-v26/ic_banner.xml | 5 ++ app/src/main/res/mipmap-xhdpi/ic_banner.png | Bin 0 -> 10249 bytes .../main/res/values/ic_banner_background.xml | 4 + 5 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable-v24/ic_banner_foreground.xml create mode 100644 app/src/main/res/mipmap-anydpi-v26/ic_banner.xml create mode 100644 app/src/main/res/mipmap-xhdpi/ic_banner.png create mode 100644 app/src/main/res/values/ic_banner_background.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 38bf48db6..bf79283b7 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -35,7 +35,7 @@ android:allowBackup="false" android:fullBackupContent="false" android:icon="@mipmap/ic_launcher" - android:banner="@drawable/banner" + android:banner="@mipmap/ic_banner" android:label="@string/app_name" android:theme="@style/Theme.Syncthing" android:description="@string/app_description" diff --git a/app/src/main/res/drawable-v24/ic_banner_foreground.xml b/app/src/main/res/drawable-v24/ic_banner_foreground.xml new file mode 100644 index 000000000..9113f13f5 --- /dev/null +++ b/app/src/main/res/drawable-v24/ic_banner_foreground.xml @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_banner.xml b/app/src/main/res/mipmap-anydpi-v26/ic_banner.xml new file mode 100644 index 000000000..a0a0dece9 --- /dev/null +++ b/app/src/main/res/mipmap-anydpi-v26/ic_banner.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-xhdpi/ic_banner.png b/app/src/main/res/mipmap-xhdpi/ic_banner.png new file mode 100644 index 0000000000000000000000000000000000000000..1df6cc134d8ee3ecca1e4f90e6f3bbb457486ff8 GIT binary patch literal 10249 zcmc&)g;yL+kY6OY1c%_RK>`F@AV6?}6C?y#EV#qs?ixI3a1HJbiw1YM#eH!nx8MB_ z_ipCRyqbQ~QdQm6)m6U;Rb^RhjCU9S003KF?z1`ofba=U*Q24p-@7|Ec<_Q?ODQQ; zc_}Fx2Pb=TOB*u)faRypPfzIWV7Iaj?p)jP_GX>=!kpnb3U@>?mt<=J$97- zhHvfT%y4kp*q_K;?chljXA0wAx&xUEg_|OsXLy@W-!m;97G8ur=i2-I{pEloSTjuP zG}-I**yB%qYF`typw3X9L{7QqA=mzGfpO{7H`!$TyoVl8mKvQCqrxEF;o0!waFenk zjn4QRo!$0+-SSzTgp!WC&jtv-h)9r6FCa zWaS4^A!5}Kl%<=Xe?8~xdLhH;T&xLzRzr$?6J)eg#Ie?GZ)y?cD`Ye=ByG%0+^_=%#r=;XahNLz|%W+{?eiUEz$p;L$(h8{^DI-_e@gNr`>-iVjFRu=vW{0N3BEwI^5ZvzDES2K6RIw-0?0t{7l0%kqpNsw9N+QUi(GvOx z|NjsepCr+80Sv)!|Idi{SCC3F3H}baUeNo8Gpdo>gW5UT@1A2>?f9^zi5`6D<~{-e zyJYBR3O33DssSp!+GO39sog#ZaJDid3Daauv$i5u2{N0Jp)FJtFmupHwKmU@R62Ilo zg80cfNwhbcLqF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?C@l42&H*PsvKi1m=7 z%%)jiUkmMJAme0L#wbUzvv=IO+u%1+)VPnN7Dl3I_knGNug?cmCN}z5c>^B z5N;LcXI;(^YIv6ZLNm2?bP5;rLW{GCnMA>~N6xpF1+w+?^l7Fptce@xN0>pjM2+VJAZJ z9XWi`k$qSQJfA3?JQwxdTws2|)!06R{KW@lCg#wIf8vZF6Is8a87=mwBU#`- zdnuIO^G_##hQmiTFCL}tt-N^8){JD>1s-uO{(a%w46Sog`E_UuuN^BncFO5pU4uSy zyClXsE*xu|N)^>LVH^hCE4oC&uq9F`McIkbX9K^$B*AI>CZy^d`bz58ODtiK;n z7=6o4KuFnR;b~Kiy982R^76gqsRsby;?K`qpq7*>$J|rKP5(nRTkql6cO+FO68^pN zZG|jEtsgKm%P~y|+Br63QPS!*ji(ot4>-{zN^(l6#DI?%opxtd2G^Me&KN!%J3~YJ p|3e_gzy06A1pl8A1skv8?>_c0yq0^!!$D#Id1>X(m6Aq*{{!TEUr_)6 literal 0 HcmV?d00001 diff --git a/app/src/main/res/values/ic_banner_background.xml b/app/src/main/res/values/ic_banner_background.xml new file mode 100644 index 000000000..15db34b81 --- /dev/null +++ b/app/src/main/res/values/ic_banner_background.xml @@ -0,0 +1,4 @@ + + + #FFFFFF + \ No newline at end of file