From 5a02a44d28a61e9523323b0dbe4f0d9fa81931e3 Mon Sep 17 00:00:00 2001 From: "gu.martinm@gmail.com" Date: Thu, 10 Apr 2014 09:41:30 +0200 Subject: [PATCH] New overview list. WIP: implementation for tabs and phones. --- res/drawable-hdpi/ic_02d.png | Bin 0 -> 3471 bytes res/drawable-mdpi/ic_02d.png | Bin 0 -> 2531 bytes res/drawable-xhdpi/ic_02d.png | Bin 0 -> 5558 bytes res/drawable-xxhdpi/ic_02d.png | Bin 0 -> 10836 bytes res/layout/weather_main.xml | 3 +- res/layout/weather_main_entry_list.xml | 20 ++-- res/layout/weather_main_list.xml | 15 --- .../WeatherInformationOverviewFragment.java | 126 +++++++++++++-------- .../fragment/overview/WeatherOverviewAdapter.java | 10 +- .../fragment/overview/WeatherOverviewEntry.java | 14 ++- 10 files changed, 110 insertions(+), 78 deletions(-) create mode 100644 res/drawable-hdpi/ic_02d.png create mode 100644 res/drawable-mdpi/ic_02d.png create mode 100644 res/drawable-xhdpi/ic_02d.png create mode 100644 res/drawable-xxhdpi/ic_02d.png delete mode 100644 res/layout/weather_main_list.xml diff --git a/res/drawable-hdpi/ic_02d.png b/res/drawable-hdpi/ic_02d.png new file mode 100644 index 0000000000000000000000000000000000000000..3451b4a7968fe779d41959dd745074ae43498b80 GIT binary patch literal 3471 zcmV;A4RG>_P)~%P20?*6yh=&GHIt1NC2l`(gBxU>QFAm1>3SLe8IZkc30Yc zPd_~GYAs8~)@nC4Q=J)&c1OF<<^P<^|D5x@f@S%TNhBV+oR(uIg(BSdLxz%5L-5}g+%iaTDB;vHxY@+GC*@p>;`W;&5FoZsqX+M2$oZW>PFIuWq`cUZlUfrYFZU_p`jDtfn^gbNdR@j1i}Ie4P78| z&xa47s&NzDO|Zqn_L;YK!2FKJ*AR_;hyY3_Ark*4(O6@J*YS0lHh{X`svJN7)|09b zA3FPRqwy-5nDBe33=oY!Rw4h>jL0g2O^RyKVMBd~qVAnb9=`~N$VZ9B4-t)jlT@Or zCieT_Is_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O-!$lN~t zD;K`Mc<}&5V~|SxIjO{EkT>U46qm$9tRFJoFLRz1%MJ^wr%5G;D&maOiMxPSRDV(i zZM}qI9!^;U^wYJ|bXdiLPbxDLIa0~zmjOCkQVB(5FM|gKanf8ya{2so6D8?&Kz^~9 x2mk+nNb#y}G_FMB8~G002ovPDHLkV1h#tdBy+$ literal 0 HcmV?d00001 diff --git a/res/drawable-mdpi/ic_02d.png b/res/drawable-mdpi/ic_02d.png new file mode 100644 index 0000000000000000000000000000000000000000..482afa339aaf294b88d2391a99daffdb50f15203 GIT binary patch literal 2531 zcmV<92^{u`P)tA~tmTE-0)bF-V{i63*d1y-pptl>^IztG44uF)`7ytkv z?nBD0M0N$}+j9*9knV$&tuS#iElc%?r30|>hat>BBb7J#aP8)64}fOeMj%{<;nVPj zT4>s4{(k|?WR14Y1;)SDPT6ulLIbO^1tH27#6-n&+h$*9%*i5=E+10fjSvUu?RHCk zc=L82{$;mfctPl3`fovK74&wG&%3s*6NFIDS3rF9cBif^gnGME2=O#heniWTjw#Q~ zjuNS9;>Vhp-VvE34x|>p0}ViJtk<~xsvv$euuZ>5K;z!x90+&&-$0agX&>@ zzc@=>`zor|HB(mG4t$U5^@5s>{T$uv5b1(&2MiukYXDY$?O7^rXu|XZ2n-*@zPOQr z_nw`a6X}HT?bB&#@p?43o?p#TE zI7)4EHPVITkjv1q0o>en`g`61V8a%Hx8ex|TPUl)nH6moLZ}L?>5`Fu3r0?!0QTdg zU*Xuk>6~iau^TJ2i`tFVcq(A>JPaRyg@3)UV_vQ(DK1;K0s7Bq*t8pOl>`CO77Rrp zdEpJ958Zm6;B^+kRiJw$t}XJ_Sb-3_#LWs~ry+LA#?EX*I-jFke;~BFj>B)GQV z{E_p-&ul>VjndbB6#xJQjSYLI#3H03Qj1%Y~HxO9Xvc*a*3J}U;|WFUAQ zm;tp8A&H-noa=jrBd@$Ll~Y%g12f0D{y4Rb0>n4**Gi zF9bpZZzXuEK{w^pI@b{l9vr| z$gnejIJ{t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~$x+|dsUgIDz&mqYa8OcHzmTh;woYi? zUcsj4PO$l1$#)J&nz#RSVb3o8dh05mP8A&rc!T>{dB?*{oJul$?0%xJzI*N5QbvE3 zBRz2hJLQr%JBe!_WQoR7Ub7x$?9&vv#4(QVpSbn_=$<1?p35P$H(A25Gyo!9(EDNn tq3r_>TzdfIR5P=i-tLK|`d1r({{gk)xFB}|=#~Hg002ovPDHLkV1ghFuPgun literal 0 HcmV?d00001 diff --git a/res/drawable-xhdpi/ic_02d.png b/res/drawable-xhdpi/ic_02d.png new file mode 100644 index 0000000000000000000000000000000000000000..775ee02cd01a72122cb1d1dc40506f3a6f241524 GIT binary patch literal 5558 zcmV;n6-nxeP)U0KBayV9((k>CGO4=)?D69ydY3HJ+i(}G z0uDS0iQbz)et^mW4m`PaA>M|wpjSWgL3`lMB$9ze1=MS#Q_$TT0Io$9U?XU3Q33TF zA_>%MCfW|F>rvv13aIB$deA}>?UyM|5a9Yn1=MSF_lCf`nowK_H3{J+fcGpapgzI} zkr?W2BDMm=flxEREsF}M$H?@7>PnFFXLgakHEs8jxYJMQnrl3nmB-i|I zLQvhzUT;HOh%^`T0Z7wYtBpk@lIMZ0BGPKfm(dXR=(rGV z2XrHeWVA-`2bomy`8$CB06sr=3P|@&pnM(G3DB!h?*Y1dx6qwDzebL*2h|u&U4nWB zKht1nIjFZ0rIGI5>Iy#5TjZcFB$0d!_zCd)Ag|A@56Gk*LS!3G5aO!?1j0R_JLvBH zI}*vZ8BOF)h9@EYP?i)s|u2KwM^ ztlg>71V4nA12-rv-vrHTK%6h4-XkQEA0d%+$)skd1R;icJv4OsEB*upsDc|*LNS1M zR^`47O5?!i@Cq*?&gW>o5Ms*|GzZ*6rf+mM);?PZGNGnZJAf}SxDzCxv|pyIyiSR< zUXGXl7OH6y$;-*4%$&~_9!znKpqpq~$u#&WDM-L^#iu3SbIw-R-D~${@4o}p*YNUR zqN!^+=iR8pR>0U%0ePBq>c?{*h89=0$h~;^{TzEy5Z6euRX0HAM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