From 536f04d3fb0fc554b0c0b829fe719d7fc83cf8d6 Mon Sep 17 00:00:00 2001 From: Mihai Preda Date: Wed, 30 Sep 2009 15:10:17 +0200 Subject: [PATCH] MessageView: UI: change prev/next arrows, re-enable notification bar shadow. Bug: 2149187. --- res/drawable-hdpi/ic_btn_arrow_left_focus.png | Bin 0 -> 530 bytes .../ic_btn_arrow_left_unselected.png | Bin 0 -> 302 bytes .../ic_btn_arrow_right_focus.png | Bin 0 -> 516 bytes .../ic_btn_arrow_right_unselected.png | Bin 0 -> 309 bytes .../ic_left_prev_arrow_default.png | Bin 845 -> 0 bytes .../ic_right_next_arrow_default.png | Bin 804 -> 0 bytes res/drawable-mdpi/ic_btn_arrow_left_focus.png | Bin 0 -> 363 bytes .../ic_btn_arrow_left_unselected.png | Bin 0 -> 254 bytes .../ic_btn_arrow_right_focus.png | Bin 0 -> 360 bytes .../ic_btn_arrow_right_unselected.png | Bin 0 -> 253 bytes .../ic_left_prev_arrow_default.png | Bin 712 -> 0 bytes .../ic_right_next_arrow_default.png | Bin 693 -> 0 bytes ...prev_next.xml => btn_arrow_background.xml} | 1 + res/drawable/btn_arrow_left.xml | 24 ++++++++++++++++++ res/drawable/btn_arrow_right.xml | 24 ++++++++++++++++++ res/layout/message_view.xml | 8 +++--- .../android/email/activity/MessageView.java | 1 - 17 files changed, 53 insertions(+), 5 deletions(-) create mode 100755 res/drawable-hdpi/ic_btn_arrow_left_focus.png create mode 100755 res/drawable-hdpi/ic_btn_arrow_left_unselected.png create mode 100755 res/drawable-hdpi/ic_btn_arrow_right_focus.png create mode 100755 res/drawable-hdpi/ic_btn_arrow_right_unselected.png delete mode 100644 res/drawable-hdpi/ic_left_prev_arrow_default.png delete mode 100644 res/drawable-hdpi/ic_right_next_arrow_default.png create mode 100755 res/drawable-mdpi/ic_btn_arrow_left_focus.png create mode 100755 res/drawable-mdpi/ic_btn_arrow_left_unselected.png create mode 100755 res/drawable-mdpi/ic_btn_arrow_right_focus.png create mode 100755 res/drawable-mdpi/ic_btn_arrow_right_unselected.png delete mode 100755 res/drawable-mdpi/ic_left_prev_arrow_default.png delete mode 100755 res/drawable-mdpi/ic_right_next_arrow_default.png rename res/drawable/{btn_prev_next.xml => btn_arrow_background.xml} (92%) create mode 100644 res/drawable/btn_arrow_left.xml create mode 100644 res/drawable/btn_arrow_right.xml diff --git a/res/drawable-hdpi/ic_btn_arrow_left_focus.png b/res/drawable-hdpi/ic_btn_arrow_left_focus.png new file mode 100755 index 0000000000000000000000000000000000000000..4e19229ad0184a83ca343452bb4ba6e0bb29dd22 GIT binary patch literal 530 zcmV+t0`2{YP)W4zz2=NSp&NCL!@+{xdNLr)e3@*q=Cf+W!7FX)q= zE|Bp9KxUzoBuN|1X7f?k^$WZ&K=brn2ug^f5~gXwb|#Zi8;!;bjA5-->%CkqU*rE> zXp!RhNQfwkXZ3phmHCF_I3JZtfnT7K zf>@SSLfiqg1kHGB+|h{TuQHt{(=<)S#(N9O$}o&lSZN%k z*MF0Q* literal 0 HcmV?d00001 diff --git a/res/drawable-hdpi/ic_btn_arrow_left_unselected.png b/res/drawable-hdpi/ic_btn_arrow_left_unselected.png new file mode 100755 index 0000000000000000000000000000000000000000..dc56cb46545e9857ce2970b6dc7ee2cfde7cf43c GIT binary patch literal 302 zcmeAS@N?(olHy`uVBq!ia0vp^LO`s-!3HE--ex@qQj#UE5hcO-X(i=}MX3yqDfvmM z3ZA)%>8U}fi7AzZCsS>JiY|D%IEGZ*O8WEvzdf@lgD~^d11lVrZz+gLC~IkTO^EVS zh+{vp)}e+)ZAZ>cqe(F=Mk(R~)eIlY6t*cI&o*#Qm{qx;raFkn$($up=7|w!63?Mj z4jvKakK9gdf<`Lb9m|D3Nu6v}? zzOBZM7QGST6LTfDMJS&(h1C_w2L4*M# z4nDH@e>9q)L5xrrGDB$){~r|pg&Ks@FlHn}Kx{T3<^W<&D9wsw**`*I1TzGri5rLo zR;*az{{H>@wGIvrvOqo`)L@vQjQ9*=2Vy}WR-8S1cJiM;f4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fG^LG> diff --git a/res/drawable-hdpi/ic_right_next_arrow_default.png b/res/drawable-hdpi/ic_right_next_arrow_default.png deleted file mode 100644 index 58b42370e25f8aff1342eba1e7e0100ee6f8be0f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 804 zcmV+<1Ka$GP)OPRk?LuP4TuF-uU;LuZ{NNO zDJdyUAYUAaxq+6kFrwQ?hbR}2k&!X``}gl}V2J#G{`~pFz`(#bpg723!cYe@f^su9 zObZ8znVOn<{6_-cfS{|Zs}(3`1jG_R%n6DOdO1kk(9qEDKNhfi_wEfqd21k+2Vx#* z8e=5ZL5$Eu4oaK?(BKv&fW?4V3kahB;{bQ>-o0*aZXOI&rv^2b71>evvONpb7eb&! zij->z0e%Gq1@-&)?|0%-@bTlv4~>nDE&cudyMf#nAR$n01UVRAn&$>$<->;$FZ}uQ z=ePe<27iEH*|KGGfp(Y!u?!&(gPbV{%(7Ph{{8#=pN8PVg$u`lA?g9NPYHLJBaRW*-Mu$or;KvXuN*?`VAoW6A=GFaS#&|(_eZx1XxD?1~yj~M@2== z0&<@M@p~Zt0d3eJ3Px#ZX-ircjPKsPd!3t`TL83A51O;sakX4QMY%Gtku~?nj~`!X z;h2jTFP_xU(C`7;ql#S75>vSfKW0Z`5o+SK62)>@>Mg9L$%d~;at1VvF15a5a;T001qJLR`++tzgI)TzaK zdV0=4z6!1=BIF=y^qE+oy$Wt9`zN#-0MY;c69@+MCM>nO(oASw>A(Mpj1M~ZBS!%Z i`sSk}XaoR2fB^uMG;8TV^6HTQ0000QHmDd_0}~F#ydokZlFy$%U%Y3}o>(AX5Qy2)y}$@H zO;}J+Q0MXE#|MBx{{QdazrT0v*iir!7l9gvTQLm$`0?YFhlhs(R1JQ`zkdCC-`Cd{ z2$UBBViu4FkjMFjg@rY+DQ;|Rj0DO{K?4Eo2R31p?Gy zhz=*=cxby002ov JPDHLkV1hF>lVtz^ literal 0 HcmV?d00001 diff --git a/res/drawable-mdpi/ic_btn_arrow_left_unselected.png b/res/drawable-mdpi/ic_btn_arrow_left_unselected.png new file mode 100755 index 0000000000000000000000000000000000000000..5ca1b9245ab48c3884feafc9965bcf286cd5a771 GIT binary patch literal 254 zcmeAS@N?(olHy`uVBq!ia0vp^JU}eL!3HGH8OdY;DajJoh?3y^w370~qErUQl>DSr z1<%~X^wgl##FWaylc_d9MGHJ#978H@CH?vT-=0~sp|jD&K*nUlgGn7-T}f;~-3=9I zH>IAw_INAfstVQ)&P9!X9A?NUSJ^0N@;M6CaUEIZFngb|;KCoK0@Y0-i!C_&lhPMF zI;~Ns5N5cE_lyP8YyE2#46{CQd$=|?33&R6bnr9eUOy^TSYh(k^;(N=#Lb2)L5rG1 z+kF-4^mHO53sV(V_-M)78&qol`;+0POx- AC;$Ke literal 0 HcmV?d00001 diff --git a/res/drawable-mdpi/ic_btn_arrow_right_focus.png b/res/drawable-mdpi/ic_btn_arrow_right_focus.png new file mode 100755 index 0000000000000000000000000000000000000000..6796a4e64f6faa60a0fcf3cec5e210593eb93748 GIT binary patch literal 360 zcmV-u0hj)XP)@M&TJVxhji zzQA9<(v6Lck=Qf|3kz!i<@uq30}m~bCzVS}OOwzwy?F6rkG#A*C?ME~ zjyNePDJJBg#p@&$6%}o$lUN9PT2WC^58cx^gB6=%oDqjhF)W0*fmmkWzI}x+U%uR- zs;a7qOEDu-;$wrRDNrE%0^*-Q{2M*RlAOF5he4hO2rvK#p3|G{3*YGg0000DSr z1<%~X^wgl##FWaylc_d9Me{vf978H@CH?vT-=0~sp|jD&K*nT)Lh+(Si&{Sv4|D(MxK7!LctHeaZ|BOgs!(NBvj2Z?t3wI+elG)z4*}Q$iB}T`g7B literal 0 HcmV?d00001 diff --git a/res/drawable-mdpi/ic_left_prev_arrow_default.png b/res/drawable-mdpi/ic_left_prev_arrow_default.png deleted file mode 100755 index acc60b7be4ffce27dd4b9d0f84df47ff72ff64dc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 712 zcmV;(0yq7MP)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IT(m6erm|Ni|;fSIWqD0UxPxr42+Beq84fYxfD+UzSeD;u%_BduE%Otkg^ bK!5=NM>fvxoL7=v00000NkvXXu0mjfJx)Ki diff --git a/res/drawable/btn_prev_next.xml b/res/drawable/btn_arrow_background.xml similarity index 92% rename from res/drawable/btn_prev_next.xml rename to res/drawable/btn_arrow_background.xml index 788fed0ed..b30941a91 100644 --- a/res/drawable/btn_prev_next.xml +++ b/res/drawable/btn_arrow_background.xml @@ -21,4 +21,5 @@ + diff --git a/res/drawable/btn_arrow_left.xml b/res/drawable/btn_arrow_left.xml new file mode 100644 index 000000000..339e56f9a --- /dev/null +++ b/res/drawable/btn_arrow_left.xml @@ -0,0 +1,24 @@ + + + + + + + diff --git a/res/drawable/btn_arrow_right.xml b/res/drawable/btn_arrow_right.xml new file mode 100644 index 000000000..077cba690 --- /dev/null +++ b/res/drawable/btn_arrow_right.xml @@ -0,0 +1,24 @@ + + + + + + + diff --git a/res/layout/message_view.xml b/res/layout/message_view.xml index 3c1a10414..1687f2a27 100644 --- a/res/layout/message_view.xml +++ b/res/layout/message_view.xml @@ -44,16 +44,16 @@ android:layout_width="40dip" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" - android:src="@drawable/ic_left_prev_arrow_default" - android:background="@drawable/btn_prev_next" /> + android:src="@drawable/btn_arrow_left" + android:background="@drawable/btn_arrow_background" /> + android:src="@drawable/btn_arrow_right" + android:background="@drawable/btn_arrow_background" /> diff --git a/src/com/android/email/activity/MessageView.java b/src/com/android/email/activity/MessageView.java index c85e50b03..aefc109ce 100644 --- a/src/com/android/email/activity/MessageView.java +++ b/src/com/android/email/activity/MessageView.java @@ -315,7 +315,6 @@ public class MessageView extends Activity implements OnClickListener { @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); - requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS); setContentView(R.layout.message_view); mSubjectView = (TextView) findViewById(R.id.subject);