From a3d62c39b974642b41ad114d0a53286f2052faea Mon Sep 17 00:00:00 2001 From: Isira Seneviratne Date: Wed, 8 Jul 2020 15:39:42 +0530 Subject: [PATCH] Replace error PNGs with a vector drawable. --- .../ic_error_outline_black_48dp.png | Bin 959 -> 0 bytes .../ic_error_outline_black_48dp.png | Bin 650 -> 0 bytes .../ic_error_outline_black_48dp.png | Bin 1276 -> 0 bytes .../ic_error_outline_black_48dp.png | Bin 1911 -> 0 bytes .../ic_error_outline_black_48dp.png | Bin 2528 -> 0 bytes res/drawable/ic_error_outline_48dp.xml | 5 +++++ res/layout/activity_device.xml | 2 +- res/layout/widget_remotecommandplugin.xml | 4 ++-- 8 files changed, 8 insertions(+), 3 deletions(-) delete mode 100644 res/drawable-hdpi/ic_error_outline_black_48dp.png delete mode 100644 res/drawable-mdpi/ic_error_outline_black_48dp.png delete mode 100644 res/drawable-xhdpi/ic_error_outline_black_48dp.png delete mode 100644 res/drawable-xxhdpi/ic_error_outline_black_48dp.png delete mode 100644 res/drawable-xxxhdpi/ic_error_outline_black_48dp.png create mode 100644 res/drawable/ic_error_outline_48dp.xml diff --git a/res/drawable-hdpi/ic_error_outline_black_48dp.png b/res/drawable-hdpi/ic_error_outline_black_48dp.png deleted file mode 100644 index af84975cf322c932a6994ecc1966f348a9d0de7b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 959 zcmV;w13>(VP)hi&Uqf0i+O!+zYp`-Ip=xy89G*1 zS64up4>`>h{-#EqRchR1k!kiZg2y8?$U9u7fi%e~^Gq;+bFXlb{}ID9nBxVU8DSAg zkOj75-7|cFq{wF!vFHu{MN;N2yRf2%6EPpL#2LmYF+@K(a`ZFADC5kq9JAsGIZ}F@ zc_fk*4zr17Hgkk363Mp&q)_B{B$R&`qZbn%6Wofd|Aj*GZ|9H5>9QY>cK95i9;pMf65r2i6L~2J|5?kAWSC%6_m~ z2o54D&(qS^`c%fVUdU%j&Ck)oQ~LVFI9M+Pd-WBL0rTM%dYu&VsG9%LKdRBg;G_^7 zRV#j=319C4HaRP_MXk6`FR@1T^$VO8%5Yn)86nmOYV3@|LU2~Cd7oIHsjy08 zpS!p+r9S0*n%bjAt9VYfy-&^jR#DWKd?uU}dP~jMDbT_NHGT`QTN?@%}AJ^6F1GZu4b3|p9EH*sG9HKIfu|e)3 zD#x+m1fo)70L<-1LY1=VzMW7V;WgTH3_<5SYe}k)IRu@LXLRn%j9wvO=W*Ldpd4d%Bs34J4Im#9?#L2Lg zDQZY07x76ckAA&%ZgZAN$_!H=Po4t9l$qolcVbq2#2T#F%{?S#YP^a?gUld_^MF$f zVBHQbAqi4p8_vAM1saH9>df*i&K23i0;@=q{6~d1Dewq+l-S2Ki~L2ERqnIG4K8z% hcX^o}y1KeL)I)^JgMlt+zBK><002ovPDHLkV1kWe#GU{E diff --git a/res/drawable-mdpi/ic_error_outline_black_48dp.png b/res/drawable-mdpi/ic_error_outline_black_48dp.png deleted file mode 100644 index 63244526e7121e9322da22f89f80a504326e4567..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 650 zcmV;50(Jd~P)gBC4jC^1NZG--Mmq{J+( zzdSXP1SHQ(9IbbZk)<0s##u(4JXfDDDfD`NGfC3l%@o^cgs)rB=J1|l1fib>+9>?t zj9OpOOHeEp^xTNQaZ`VNFJZ9sE7m!HC-=ql%cD7tR5$u{7I!?iR@Z70LI*%aRNHI2 zuj|818U>`ZO_%9HoG&7efl&aIME^t#7sDd{AZr|uXGXK%oH(X&F)van zQb1W8k8rUh(qN>3qBs_D(G;l=DZtWob0IrGI#NJJ9PR%fpe^e8S1r;Z69pZz*)tW) zo@rI2S)x#vTh4iZT#Fp0UwFOxC~NV6jPCAxA%cVWsT zK&NQahX;4{@5=Ge0Rz~g-old}UAG1nVK~UDoczvyd>F-%TEGf%{cAmU8h^N_)&~6q zVSrUVbDJGW@8>0R?Kbcf8!@Ci^hvFjragy!-efizyuIG@I_%8u%$y+ed#;b!S578p4oiSy zu~;k?tD}hy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 z2PE$f|CZ4Dsu8p(BgEu5ZEYK5@y_!B&nqdHEWlW$}cz3Jd99w1;c* z6E&8Sw|%s39Cl)>lk&!)&aLN<$Y3LR>-hj-48F6F(!2QG&X7ze}gy& z^qz&T<6@gR;*SzuplIL06WV5MlgHElFvcQrUGa={H>VOIZ2vFmrsQ|h}ds@ze$iKDGP;DbF7bE%;PPeA}+C(Bz%#} zK9yZyE-|R(hEE{{_7JyyjQdpe9*c-ceSmLhoFYqHs(CTMH(S;aqlW^#aQg<^iNme{ z-({HKeqy#W&@0=|ayL<0Ltmg*wl|W1Jxm8G?l4P;LM=y`3RJ;%60$SkXCo$PX9YUd zafDj|$8ID+4^jyH;gKF1aVgat^7ID&pyVj`ldyZFi@vZ#dytJq#^iD@ZJ|cH!Ws-v zD^DGT_8(5r%xWBha9BeNCm9Yo$^{l-i1{2V@;hMXY3BeBlVb(dRN&%LK{YGLv6Ta~ z^E#tN^?iuB7^R6ZJVV+D+cD5`291cPpCuT|j{|6!271no%Cu#ry002ovPDHLkV1iP?j}QO= diff --git a/res/drawable-xxxhdpi/ic_error_outline_black_48dp.png b/res/drawable-xxxhdpi/ic_error_outline_black_48dp.png deleted file mode 100644 index bd1124efd0a4544e071db87fcf5352095c88e96e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2528 zcmV<62_N=}P)G0000T6Nkl#Yn;Rg|_$h z*`M&7(|g{3=kxso&J9oRx##@O3jvW&6|-2#?^(|d_VY1ca*AHkr0L}($7yFTEj-Ig z?&3Pi$t7d4bC|^gyue2cA~s8Lh>iS|=@ep9Y&3IuiVqM+N^^iea3dp8#U}9}`xr!A zD8=hEaUlv*Rj{1HhzGsP{S>1x$uMqb58`Qqv~df$7_XSe_!{x4uUN?i80!jNAdUE3 zKWn)d<6O>8BtUJU8e`P(G7`83*+eOk_YIyPjRdrQen%mZm870iNWeSJ9VCdL8ulY0 z=`~7;lpKD=01~2lxsN0fQO?^)2z#CJM8HqzK|KFBOea=H)si=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=+!hA1^+k|spyJ{(nrD1Au6 zpcgi^yR!_Z9EvK;Re&wP$eE6hy6?36UH?3B8EYAl1061yS1>!2u*_L)4zf zb(bP~%#Yjv8W6QK6?ou9M6H+dNDZKd(}>!7JW)XkQ9D3>WCk#tgNRxm#du^jqQ|<( z4B$CLkKf>#vpIq2v4|*GjOfup0Unx<=#iq1u)Cf#qQ^WumBk)Jk1j4D%%;$d=+TPj zD(ScQ)hs2fF5)<%M-RpL;1`IcKB0&(8qcSQr5f=?Hv14uwTEy7qdO3bbx=!KOy)RZv77MOvxvpIs3Q!nryH@@YJ8W++la+d)Dv`z zNh229O*R2Ao)d`W){{?A4QCT#xemq>5Z|H?vD|x95=1o|L@d|C6awT{#74a=BteiQ zXy7zrximKrFv}2Iy-G1bQKDb%3d1tvBZ#efXe1lI<bKQhDy*v33Y;-rz>#&!mfA=bkUgv>Nf zAQ{xhE7Vg)rpmd8R{D?(>R<{XG=X=JjQfn|spm>YU`HWW(ZFUtM>1|V=Mz$StVJB_ z7%i+}33Hf6HDeh?K1q_~Gm5cPGmSYkvW6D^i#XO}WD{yXq#Froo!mqOT*!VTgzaJ+ z5s}S<^dljvheoo9luGs>AxK%N4YMp3Z~_T<9n2%b&So_!B%qyU1qDQ2B`+d@E6qBJ zF~+5ALjuzvn<&RPQ`i)M-BBNZp%P<_=MhdJKJ_Il7>n`pna3NR?{s!Dha60zDC6fG zL_Fx<+)ELrQdF^wf00I9sGl|(nMh1^7T@D>-e(YTpcHShit8yLX45EU@-v>}15$|1 z`gxD_Eae&sh-K_dF5)`w;+(!odUp_!*y!H>9>QgVpJVzF2( q7K_DVu~;k?i^XEGSS%I`g#QDQ<|os-8O@mh0000 + + diff --git a/res/layout/activity_device.xml b/res/layout/activity_device.xml index 1850833c..c9491e39 100644 --- a/res/layout/activity_device.xml +++ b/res/layout/activity_device.xml @@ -87,7 +87,7 @@ android:paddingLeft="0dip" android:paddingRight="8dip" android:paddingStart="0dip" - android:src="@drawable/ic_error_outline_black_48dp" + app:srcCompat="@drawable/ic_error_outline_48dp" app:tint="?attr/colorHighContrast" tools:ignore="UnusedAttribute"/> diff --git a/res/layout/widget_remotecommandplugin.xml b/res/layout/widget_remotecommandplugin.xml index e91534fb..bae61e39 100644 --- a/res/layout/widget_remotecommandplugin.xml +++ b/res/layout/widget_remotecommandplugin.xml @@ -41,8 +41,8 @@ android:id="@+id/not_reachable_message" android:layout_width="match_parent" android:layout_height="match_parent" - android:drawableStart="@drawable/ic_error_outline_black_48dp" - android:drawableLeft="@drawable/ic_error_outline_black_48dp" + android:drawableStart="@drawable/ic_error_outline_48dp" + android:drawableLeft="@drawable/ic_error_outline_48dp" android:drawablePadding="8dip" android:gravity="center_vertical" android:paddingStart="8dip"