From 0b96588b1069a6694c56f2ea32a36e3956d3ec26 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Wed, 11 Apr 2018 00:41:44 +0200 Subject: [PATCH] Using attr icons in preferences --- app/src/main/res/xml/preferences.xml | 15 +++++++-------- .../res/drawable-hdpi/ic_poll_box_white_24dp.png | Bin 0 -> 558 bytes .../main/res/drawable-hdpi/ic_sd_white_24dp.png | Bin 0 -> 472 bytes .../res/drawable-mdpi/ic_poll_box_white_24dp.png | Bin 0 -> 429 bytes .../main/res/drawable-mdpi/ic_sd_white_24dp.png | Bin 0 -> 417 bytes .../drawable-xhdpi/ic_poll_box_white_24dp.png | Bin 0 -> 565 bytes .../main/res/drawable-xhdpi/ic_sd_white_24dp.png | Bin 0 -> 535 bytes .../drawable-xxhdpi/ic_poll_box_white_24dp.png | Bin 0 -> 704 bytes .../res/drawable-xxhdpi/ic_sd_white_24dp.png | Bin 0 -> 684 bytes .../drawable-xxxhdpi/ic_poll_box_white_24dp.png | Bin 0 -> 848 bytes .../res/drawable-xxxhdpi/ic_sd_white_24dp.png | Bin 0 -> 842 bytes core/src/main/res/values/attrs.xml | 2 ++ core/src/main/res/values/styles.xml | 4 ++++ 13 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 core/src/main/res/drawable-hdpi/ic_poll_box_white_24dp.png create mode 100644 core/src/main/res/drawable-hdpi/ic_sd_white_24dp.png create mode 100644 core/src/main/res/drawable-mdpi/ic_poll_box_white_24dp.png create mode 100644 core/src/main/res/drawable-mdpi/ic_sd_white_24dp.png create mode 100644 core/src/main/res/drawable-xhdpi/ic_poll_box_white_24dp.png create mode 100644 core/src/main/res/drawable-xhdpi/ic_sd_white_24dp.png create mode 100644 core/src/main/res/drawable-xxhdpi/ic_poll_box_white_24dp.png create mode 100644 core/src/main/res/drawable-xxhdpi/ic_sd_white_24dp.png create mode 100644 core/src/main/res/drawable-xxxhdpi/ic_poll_box_white_24dp.png create mode 100644 core/src/main/res/drawable-xxxhdpi/ic_sd_white_24dp.png diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 465c55dae..587c3f9df 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -1,36 +1,35 @@ + xmlns:android="http://schemas.android.com/apk/res/android"> + android:icon="?attr/type_video" /> + android:icon="?attr/av_play" /> + android:icon="?attr/av_download" /> + android:icon="?attr/ic_unfav" /> + android:icon="?attr/storage" /> + android:icon="?attr/statistics" /> |k1|%Oc%$NbBSkfJR9T^xl_H+M9WCijWi-X*q z7}lMWc?skwBzpw;GB8xBF)%c=FfjZA3N^f7U???UV0e|lz+eS5K)hhiu0R{01Y44~ zy9wy$!fk$L9koEv$x0Bg+K*oDd7srr@!*8c=CV|tdtp6X9>CL$axXD0ZYd#EvpF{n*5 zj%RqMRCJ}T=}F_`;1{P<_)@aAo&DqSaLX2(MS5XYPR8v{Yu99WOf{StwW5%*VBIxo zhK-(v(z05vDxwob95SQM?4HP~INNDw2*Zh5fg&e?Uv0g;ABCIE&KO#oWE}pIm*V*1 zdCRYwRKt_Cd(C#-Hb>+6@~7U<_Dre`K+>!wzu8U|-shM&DOe+p0!gQu&X%Q~loCIAq3zy<&S literal 0 HcmV?d00001 diff --git a/core/src/main/res/drawable-hdpi/ic_sd_white_24dp.png b/core/src/main/res/drawable-hdpi/ic_sd_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..77fd16301ef59952db7d6eb81681ab4e61149a73 GIT binary patch literal 472 zcmeAS@N?(olHy`uVBq!ia0vp^Dj>|k1|%Oc%$NbBSkfJR9T^xl_H+M9WCijWi-X*q z7}lMWc?skwBzpw;GB8xBF)%c=FfjZA3N^f7U???UV0e|lz+eS5K)hhiu0R{01Y44~ zy9wy$!fk$L9koEv$x0Bg+K*mf@7srr@!*6dG@--U>xLhpcS|{uEZsO*d zGLM&gHgXu{H03TilW%xW-CHE0=)aJGkUq1pK@8*OoLxd}4sw10ZO2B&_qZ10v zRpCr$MV~**cj)h0@Z;Wr5BnresQo=IEp!b`bPWwcj0~+zOo2$-z`)ADK(NpHE{cZS{FKbJO57R}E;lCvHE4ir zC@xF4N=htF)h#W`WJt@*Nww0~*DuK}(9caw&rHtN)y>FAEX|6{mx)(B1JuLd>FVdQ I&MBb@0QC-*>Hq)$ literal 0 HcmV?d00001 diff --git a/core/src/main/res/drawable-mdpi/ic_poll_box_white_24dp.png b/core/src/main/res/drawable-mdpi/ic_poll_box_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..cf45cde6d7559311d90764c8a999de3ae21ab8ad GIT binary patch literal 429 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjEa{HEjtmSN`?>!lvI6;x#X;^) z4C~IxyaaL-l0AZa85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YPV z+ua371Hn({-St36yvdx*l03EgVY R?gHvz@O1TaS?83{1OO>@gctw- literal 0 HcmV?d00001 diff --git a/core/src/main/res/drawable-mdpi/ic_sd_white_24dp.png b/core/src/main/res/drawable-mdpi/ic_sd_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..a012f237cdaa80595236279a802f6f65273e0354 GIT binary patch literal 417 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjEa{HEjtmSN`?>!lvI6;x#X;^) z4C~IxyaaL-l0AZa85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YPV z+ua371Hn({-St3q`xnj z`q1D*N6z7iM+!Dg{Hd~g&ML74Zn0I74ccc;Zfy|kWNS%G}U;vjb? zhIQv;UIIA^$sR$z3=CCj3=9n|3=F@3LJcn%7)pVryh>nTu$sZZAYL$MSD+10f-TA0 z-33Sk!B6Mi^+1ZVz$3C4NPB>>+sSM@Amf{-i(^Q}y|*_F^A0(Pv^@O3aEstWA;nmY z;=@mLT)Hj=1r)OdU0$Ryn|Y5&fJ2HtQ{u5{&$7d}rTuv`HMMzWWPa+i;Iz85w3D~B zXa1Zxvwv$(AUFS-2KJAof7s%b9<9zS46*#Mmi-~4+JWrbNx4j{JHnUW*A_Ii+wQO` zSe~^vGwlkuEv2 z#G=&&1hXGVRcptHiB=`Kg8>P=f}@hT^hxtE9x@ zRNc~|Oop_~oK!1)ef^T$0{z^?^vvXJ-2fxYvMeLZQt$7&D}Z_!JYD@<);T3K0RR(g B$k+e? literal 0 HcmV?d00001 diff --git a/core/src/main/res/drawable-xhdpi/ic_sd_white_24dp.png b/core/src/main/res/drawable-xhdpi/ic_sd_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..76e620405025e4a9cc4be054f706f515c8ef6b50 GIT binary patch literal 535 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA1|-9oezpTCmUKs7M+SzC{oH>NS%G}U;vjb? zhIQv;UIIA^$sR$z3=CCj3=9n|3=F@3LJcn%7)pVryh>nTu$sZZAYL$MSD+10f-TA0 z-33Sk!B6Mi^+1ZVz$3C4NPB>>+sSM@AmfIoi(^Q}y|*(J`3^aVxI8ar=4)^}Bxva` zn87m3_`${r0el7;LM$cr7s|Gsw7FULF|K@b61PNhRr8a!|CcA-nHb|2_;0HA$)h1p z=bHpiQ$Kn8#i#tVx~hLK|2~MX6Jm_Lz3f-RrFrYE7O2FRI=Jn-)v%^!D&zeV+DuA< z26rOoC@5LUrhDzQD`=2nUr~sanB{XI_C@%ggA+L|IGDdJZ9H@Kj?e+Y12ri>xf@Dd z=In0k(iRX@XV7MdW_Zi-NVh>vIlqTdjwi8N?bx0<_CPAvZrIGp!Q0hJ?$_i9ih+ARCIy(yfvb zi&J$=i!vF~GILU`^!4>iatrix6Vo%3vvqT;a?HY_`~zMXyDbFjVeoYIb6Mw<&;$VM Cvat97 literal 0 HcmV?d00001 diff --git a/core/src/main/res/drawable-xxhdpi/ic_poll_box_white_24dp.png b/core/src/main/res/drawable-xxhdpi/ic_poll_box_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..3d9f54b6c731ccac3e72ef6f51233db812b2d6bd GIT binary patch literal 704 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xY1|&n@ZgvM!Ea{HEjtmSN`?>!lvI6;x#X;^) z4C~IxyaaL-l0AZa85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YPV z+ua371Hn({-St3xE%3LE7ZD>^xS5{ zuflz%2Qpo1R<%l>r>WXwJb1AK!)4L?xgVgpNg+!QMJJJHvM0$QGsOQO^467%&i)(pIMZ%;Q6h~JPM}4 zW*27|7&EFRt`Q|Ei6yC4$wjF^iowXh&_dV1 zMAy(D#K_Rf#L&vrMBBi?%D|v#$An%K4Y~O#nQ4`{H84NbFa&DQ0NGGnmTr}lSe&X` yT9nCm$6 literal 0 HcmV?d00001 diff --git a/core/src/main/res/drawable-xxhdpi/ic_sd_white_24dp.png b/core/src/main/res/drawable-xxhdpi/ic_sd_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..66c74428e9121bc425c2ad4e40065274644034a7 GIT binary patch literal 684 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xY1|&n@ZgvM!Ea{HEjtmSN`?>!lvI6;x#X;^) z4C~IxyaaL-l0AZa85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YPV z+ua371Hn({-St3R;9}G z|MQ)TTtD?aQL27^ui#s?YURAW)$1+xPyDsl^Q6V@yv?#z#}rRa&*`35=<&(;cCyhq zd1Lnav{RpBAM)@oDQIJx)nu%5A!LqXqmsp8M%ThNrd0>vzR^WsAbjy z=LcsvSA;M;t?xAp@#1`2GpY8$J>v-{9F&+lc~p!jXDpIh;QMW%^sf%SD-3(n^KS2+bi-_!spS%@}39Ju{s&6M`GlVal^8Q4?54Nd6`xtcU<1D6MW0)2wv)~ci zTct{_2W$sS8@L(LZ*o=VGVEcjVEYiz{1_NYXLsv{N^SExx#dO-FcwrxTq8@X{i760i8yHv_7zp-R-$l`oo1c=IR*73f!sX^fpau<) z4aH^YR!ND)sk)^_nG9)}IjL6q`uZig1^T&(>6yvdx~@hg#X+X#>5&O?8bCb^p00i_ I>zopr07FIYPyhe` literal 0 HcmV?d00001 diff --git a/core/src/main/res/drawable-xxxhdpi/ic_poll_box_white_24dp.png b/core/src/main/res/drawable-xxxhdpi/ic_poll_box_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..54e169d54ac47dc5937585783937363b879a8f99 GIT binary patch literal 848 zcmeAS@N?(olHy`uVBq!ia0vp^2_VeD1|%QND7OGoEa{HEjtmSN`?>!lvI6;x#X;^) z4C~IxyaaL-l0AZa85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YPV z+ua371Hn({-St3O!gh@cbN1TpI@H*>-at<`9|gko}qhVpB~-C>~pzWvgDro?bA|b6h{sT)khHzW(-o&3AB7HV$J4 zWQA|`-{-!yrP^|J5j#X1x&oj{+289OS4+K(n_>+z7mEU9q50w^hic+3%rZo=W{vuR z#9zMrZ@gbO%ww2;d9%!oNXUrE{cVFzl)>T#ajaF2$>zwzw z>3_b=p+8z&{#U<&CAZCC_nZGe3Efz`>it^g-F0nx=e=&S${FVG&E1+{cW!C+$A>9> z8+RS5DLRt-z-V^;wgZA68h>(s&pe;%4vIPz&)YB6CDbEz=AQ3K2c{C$64!{5l*E!$ ztK_0oAjM#0U}&LhV4`bi5MpF#WnyS$YNBmmU}a!Xv|~aqiiX_$l+3hB+!~mlY8V1F zXn<@eE=#vcN-R#*EiKAqNXyJgwbIwuFUc*?&rM9vOwQKLE6wl>$xL!NW-JLxzYLzP KelF{r5}E+YpF(i} literal 0 HcmV?d00001 diff --git a/core/src/main/res/drawable-xxxhdpi/ic_sd_white_24dp.png b/core/src/main/res/drawable-xxxhdpi/ic_sd_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..1bee910ed9068d0d61856acc5cd452a25dcbae94 GIT binary patch literal 842 zcmeAS@N?(olHy`uVBq!ia0vp^2_VeD1|%QND7OGoEa{HEjtmSN`?>!lvI6;x#X;^) z4C~IxyaaL-l0AZa85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=YPV z+ua371Hn({-St3dJm=0#CefRS_RyjXP|77LKBLW2~Km!>f zlxJ2>tD8Ub=bV|(XYPD|FD2*k|F4s0PCj#|=)Li=kK(rfZgVh8)W5s5_v(z}=X3Pj ztCyayJZ$^x(T_=fcl#GN`+BM`ZC~Tsz}RPB9#ZA7WB$R0dZrdMEO-FgMUSWBMfLu6Rblk2)`J?QJ_4`tnE6(%l-V#nJntJ=@=fhCOk- zROnJOT`uJ5`3oICCY9)9E_$}~XZ%@}*cF$41o3|tJpJrjoqASY(KhYO>Q?5j4}&kQ zo@IV#w$yZ4Q2agq#{KOQZ*8>u&pSY#YKdz^NlIc#s#S7PDv)9@GBC8zH89aNGzc*= zv@$UTB5eZ$D+2?;KI^+E8glbfGSez?Ye=}24}+(xpUXO@geCxaPeVQc literal 0 HcmV?d00001 diff --git a/core/src/main/res/values/attrs.xml b/core/src/main/res/values/attrs.xml index 04ad7ea64..16cbfb751 100644 --- a/core/src/main/res/values/attrs.xml +++ b/core/src/main/res/values/attrs.xml @@ -12,6 +12,8 @@ + + diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml index 13d956bab..22f0f304d 100644 --- a/core/src/main/res/values/styles.xml +++ b/core/src/main/res/values/styles.xml @@ -12,6 +12,8 @@ @style/Widget.AntennaPod.Button @style/AntennaPod.Dialog.Light @color/grey600 + @drawable/ic_sd_grey600_24dp + @drawable/ic_poll_box_grey600_24dp @drawable/ic_info_grey600_24dp @drawable/ic_search_grey600_24dp @drawable/ic_settings_input_antenna_grey600_24dp @@ -75,6 +77,8 @@ @style/ProgressBarDark @style/AntennaPod.Dialog.Dark @color/white + @drawable/ic_sd_white_24dp + @drawable/ic_poll_box_white_24dp @drawable/ic_info_white_24dpg @drawable/ic_search_white_24dp @drawable/ic_settings_input_antenna_white_24dp