From 9a5c0f3ac560a122d3c2ab43fc39e603b6281b71 Mon Sep 17 00:00:00 2001 From: cketti Date: Fri, 7 Jun 2013 06:40:23 +0200 Subject: [PATCH] Add new multi-select checkboxes to message list Use the checkboxes of AOSP's Email app. --- .../btn_check_off_normal_holo_dark.png | Bin 0 -> 242 bytes .../btn_check_off_normal_holo_light.png | Bin 0 -> 119 bytes .../btn_check_on_normal_holo_dark.png | Bin 0 -> 718 bytes .../btn_check_on_normal_holo_light.png | Bin 0 -> 374 bytes .../btn_check_off_normal_holo_dark.png | Bin 0 -> 223 bytes .../btn_check_off_normal_holo_light.png | Bin 0 -> 249 bytes .../btn_check_on_normal_holo_dark.png | Bin 0 -> 511 bytes .../btn_check_on_normal_holo_light.png | Bin 0 -> 496 bytes .../btn_check_off_normal_holo_dark.png | Bin 0 -> 217 bytes .../btn_check_off_normal_holo_light.png | Bin 0 -> 142 bytes .../btn_check_on_normal_holo_dark.png | Bin 0 -> 549 bytes .../btn_check_on_normal_holo_light.png | Bin 0 -> 496 bytes res/drawable/btn_check_message_list_dark.xml | 8 ++++++++ res/drawable/btn_check_message_list_light.xml | 8 ++++++++ res/layout/message_list_item.xml | 4 +++- res/values/attrs.xml | 1 + res/values/themes.xml | 2 ++ 17 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 res/drawable-hdpi/btn_check_off_normal_holo_dark.png create mode 100644 res/drawable-hdpi/btn_check_off_normal_holo_light.png create mode 100644 res/drawable-hdpi/btn_check_on_normal_holo_dark.png create mode 100644 res/drawable-hdpi/btn_check_on_normal_holo_light.png create mode 100644 res/drawable-mdpi/btn_check_off_normal_holo_dark.png create mode 100644 res/drawable-mdpi/btn_check_off_normal_holo_light.png create mode 100644 res/drawable-mdpi/btn_check_on_normal_holo_dark.png create mode 100644 res/drawable-mdpi/btn_check_on_normal_holo_light.png create mode 100644 res/drawable-xhdpi/btn_check_off_normal_holo_dark.png create mode 100644 res/drawable-xhdpi/btn_check_off_normal_holo_light.png create mode 100644 res/drawable-xhdpi/btn_check_on_normal_holo_dark.png create mode 100644 res/drawable-xhdpi/btn_check_on_normal_holo_light.png create mode 100644 res/drawable/btn_check_message_list_dark.xml create mode 100644 res/drawable/btn_check_message_list_light.xml diff --git a/res/drawable-hdpi/btn_check_off_normal_holo_dark.png b/res/drawable-hdpi/btn_check_off_normal_holo_dark.png new file mode 100644 index 0000000000000000000000000000000000000000..d30eec865012067506cfd581f1c4f9c8184c87c2 GIT binary patch literal 242 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjY)RhkE)4%caKYZ?lYt_f1s;*b z3=G^tAk28_ZrvZCAbW|YuPggqHbzE$v(7gk!hu5do-U3d9>?EKJ;>FdAmDO;+4K*O zUj@H@yd?PM(ZflCDUz~f2Tv<}j+r3&BPq!1tc@!tvq0RZekCL33e~n6G2VT@3l>~& z($~{Dz_P>Z09Q{q!^vmSst2atE?;XufsrSHf%y;P1OHDowG!7~a$R_CQy*pVkw@VE hs?*Kkr!VE(S%3Jfki#o;?K#jX44$rjF6*2UngIHPS#$sZ literal 0 HcmV?d00001 diff --git a/res/drawable-hdpi/btn_check_off_normal_holo_light.png b/res/drawable-hdpi/btn_check_off_normal_holo_light.png new file mode 100644 index 0000000000000000000000000000000000000000..351a4f0887600f7610556cd6c569033b161eca80 GIT binary patch literal 119 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjcAhSdAs)w*fBgS%&#Y_6d{>8| z$s{XjjhKnKxpxrr#Oih&R$* RAPzK%!PC{xWt~$(698Y4Bewtm literal 0 HcmV?d00001 diff --git a/res/drawable-hdpi/btn_check_on_normal_holo_dark.png b/res/drawable-hdpi/btn_check_on_normal_holo_dark.png new file mode 100644 index 0000000000000000000000000000000000000000..b06f548dcce55c4347fa9588e647d22fe124aac2 GIT binary patch literal 718 zcmV;<0x|uGP)xFcS~5DvkgE0$WK$ zK~zY`wUy6n6G0TmKeICsHya5-NYmg(s3G3OwEshkg`$6hMLne8t>7;N@nAs^#1eWH z>B&RElL#WHcoV!7dJKC>JB5arC8^0~yfk!4v-wfmcN*rs`F!8J`SIY4%@}iXT&Yyf zTI7N;W*R{BCM%W7Ex`F7a1aE>bzMs-^&I#PEUS>;0URMjGb}to)+U`!r<77pfHW`z zd%e0b zQA;|V&PaH-+co)o{>l+N6LNhMLaYE-V;tOxIUxjE>$dBLp?gdobB-Hg4PY@430TyRBBM zYm6ZX0y8^1d)>0EA3!R!F4<7gc&HDHs z0k&XR0Hk@z!MAVUcKi45-xnmq{{V3URV=uB_b$lg-(V&KE&2pKPaHGx7oo-U3d7N?UF76=#^85kJ+`Tsw@ ztFh5>lFQ!nl9H11H#%5O;^E=p0^^(&AF>%Zn9gt9$;JQU{DA`rOpgr`KMNV& zJC@3DGT}3Iv^!y1n8}*A%=byaLEX%-ft5m=){7ow}&|U^l LS3j3^P6sl5PIG+|7=*gSlYHQhGojX=jqs{Z;$p{tP;mi&#IuraPgw>R p&Ufq5wte%GyixzjXR*i!Ca0ZRRmFRreFM6P!PC{xWt~$(69BV+Scd=r literal 0 HcmV?d00001 diff --git a/res/drawable-mdpi/btn_check_on_normal_holo_dark.png b/res/drawable-mdpi/btn_check_on_normal_holo_dark.png new file mode 100644 index 0000000000000000000000000000000000000000..30e2a1f40244194b8bf7729c6170465c25086515 GIT binary patch literal 511 zcmVxE-f082>Jj30gOpR zK~y-)t&=^g6G0R}&)u1@Az4Tu%|0<8A}k0NN|Hi&ykDVUX=5X{{(<*z#Ok#cR;jcQ z5fXz2hJL8=OS`G8jXArc>(mxu?;qx z%~xPh<<}~h&1Pfg+_UoTm%!~3eq@Z9DW!gEa!t@~x7Bnyy{aSt*4hWgm~Wm}ORozm z$z(FQa?U-s);?S;7UmdyvxFAPuMDdhkF0ewkC zK~y-)rIRsh+dve@e|L%q2y4<}M;4UQ!Aqd6J0%#rWbxjTj-A_&Q1FnC;ZNYwDQhvE zG?)&?C4+GSrUfg;AZ*A~B;9rKxvG$j)BfQ&?%jL;|GW3z!9PH2z1@#CwiBRsNU#tB zAw;5-x&mGsf|}zvPdv|y4g0R(<#L(KX0uO1h^N3;bJq-lpbb<2ch7RtG#%+bIG2TY zi85u|wgFU{rr#{fdJfR<_umL1!fgiidc6&}Qc4#%1{}b(ZQBLhEX!_-BDm*={qKPNx?}X}w;5%(CpKIS+@! zCQ#Y);bKs7p9nb0$EZs%lG~3D2m=1!(cEtZM9l=Wd%Ok(Q?c8 z{p-bI@oqAij5?jp52X~3Apo$d)#~S6tu>JODFcdQSQe}|zJF&B$FUa#!K;0vY=q)C m_JD`H!oi;@hkGF6fAJes;;<^V+Q3c#0000IRRr3WTtiVEMIw6L9d2fGnVjk}Ljg3Q}Fd|Q|q+-Gww;C!-l1JFhWPgg&ebxsLQ E0K?=&N&o-= literal 0 HcmV?d00001 diff --git a/res/drawable-xhdpi/btn_check_off_normal_holo_light.png b/res/drawable-xhdpi/btn_check_off_normal_holo_light.png new file mode 100644 index 0000000000000000000000000000000000000000..d3809fa13e127068cff7698eb0dab6f710abe067 GIT binary patch literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=ffJP)`@fkch)?uPX{Q81T4U+{@5m zp?AWy=)(f-+nPDnH6LB?OqLFvI)~Gt*yFqSTK*GfUia=|5G*{G!=dnUh9J-cFgUP} k;kC-FVdQ&MBb@0R0XynE(I) literal 0 HcmV?d00001 diff --git a/res/drawable-xhdpi/btn_check_on_normal_holo_dark.png b/res/drawable-xhdpi/btn_check_on_normal_holo_dark.png new file mode 100644 index 0000000000000000000000000000000000000000..3d62162d59315ada6c8c22f77bce340cc6f0146c GIT binary patch literal 549 zcmV+=0^0qFP)xG8CiW-LC)u0kTO% zK~z}7?U%nRMo}2YKQA{WrAQgnvsg@0N|_i;@+(S8y=Cza$Uk6Z5oIyRAYmXfS(JK9 zDUrpZzGYBEO3LzD&Re(Bd*2`Tb=`qyJLkEb&-a|?$2m8X&*w?g>PXqr5YPcE76w7s zBWXTKvYE943qTw22U5=y#sB1$cM4op-EueuDKi17#! zXTY?i&qN<25hBijnQGy&JE0ejQwRV0)hC&x954iAz$b@J{N)sk00000NkvXXu0mjf6+hzz literal 0 HcmV?d00001 diff --git a/res/drawable-xhdpi/btn_check_on_normal_holo_light.png b/res/drawable-xhdpi/btn_check_on_normal_holo_light.png new file mode 100644 index 0000000000000000000000000000000000000000..7e1bc8cbab50a87573cc8cc84b80ef8ff14f0e1c GIT binary patch literal 496 zcmV*f=(6DN$~F7V}gG|r(k#r5@ZCEF~lH5 z6Xt@6B-3>L9x092+taqU4D!L3jcxDu`5b=l2jd*a;bs}`KMF)47eoPACt*eqge%Lk z4Ciwl{i;ARnY?bd+otoi-XI%9fpj{($}*~|?hJ>+7w7vbcnU-!kwq3M7K@tzZxZ0o zkT_KU?iYeYQIu_f8wB_hB<9%zECkBs@-Dz%aq_4MW7Ja+R6y7DJ%C#{+%(N*B9XZC zoC7QbDwWDUz&kj6Fc|1O&!40Ez6C^4T%y6N)#}0Mc;RqWmgV(veP05(TrLiUG{Z0? z61-Nci5~FBd_KR1YWfz)X0tI=Xk4__YMr{_^?Lmf9@{v)-|s7EFRB$tpx5ikcyW+8 zL+=`m#<2(dA(P2O(KmqwG))soUES?=Z{YGyf~QicmGS<-0<@z=fZw~}%miE#9SXc4 zNzyXDkC^~X0{Y~R1ZOTll0b0Uj9@O{o_Mxx-%c7(p$MRqN~Nty@K6P&&0N5@0L%PX mAdE~c5O)5q!2IWQ7Wn|`VD(!tOaFcV0000 + + + + + diff --git a/res/drawable/btn_check_message_list_light.xml b/res/drawable/btn_check_message_list_light.xml new file mode 100644 index 000000000..6af202649 --- /dev/null +++ b/res/drawable/btn_check_message_list_light.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/res/layout/message_list_item.xml b/res/layout/message_list_item.xml index 4da1faa21..d5f7e97a6 100644 --- a/res/layout/message_list_item.xml +++ b/res/layout/message_list_item.xml @@ -26,9 +26,11 @@ diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 6d53f5c13..14b9d7b5c 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -44,6 +44,7 @@ + diff --git a/res/values/themes.xml b/res/values/themes.xml index 8baeb4a57..056adbecc 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -45,6 +45,7 @@ @drawable/thread_count_box_light #ff2ea7d1 #ffcccccc + @drawable/btn_check_message_list_light #ffffffff @drawable/attachment_text_box_light @drawable/ic_button_add_contact_light @@ -94,6 +95,7 @@ @drawable/thread_count_box_dark #ff33b5e5 #ff333333 + @drawable/btn_check_message_list_dark #000000 @drawable/attachment_text_box_dark @drawable/ic_button_add_contact_dark