From f6348449fa126dfe65edeb2b97b315ee8d2b3b57 Mon Sep 17 00:00:00 2001 From: Ben Komalo Date: Wed, 3 Aug 2011 15:26:53 -0700 Subject: [PATCH] Minor conversation header visual cleanups - fix header bg on tablets - fix font color in header - make subject text wrap on phones Bug: 5110992 Change-Id: I8c58271788f11251906d71073e6e03033c74f38f --- .../header_convo_view_sender_bg_holo.png | Bin 1245 -> 0 bytes .../header_convo_view_sender_bg_holo.png | Bin 1174 -> 0 bytes res/drawable/message_header_bg.xml | 20 ------------------ res/layout-sw600dp/message_view_fragment.xml | 8 +++---- res/layout/mailbox_list_item.xml | 4 ++-- res/layout/message_view_fragment.xml | 12 +++++------ res/values/colors.xml | 4 ++++ 7 files changed, 15 insertions(+), 33 deletions(-) delete mode 100644 res/drawable-hdpi/header_convo_view_sender_bg_holo.png delete mode 100644 res/drawable-mdpi/header_convo_view_sender_bg_holo.png delete mode 100644 res/drawable/message_header_bg.xml diff --git a/res/drawable-hdpi/header_convo_view_sender_bg_holo.png b/res/drawable-hdpi/header_convo_view_sender_bg_holo.png deleted file mode 100644 index 57067637a84c7b1f1aa973f2e6a008e594dc9a97..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1245 zcmcIkTWHfz7>+uJh!rm&&Kt+<#RuD*leB3YS7+O_u3+cvDjWLXvgCA&U2~ zQ}6~Vh@elR;-mQDlM2&;2!byP6BHD5Y$Aw)h#)9>vaQpHAtD$E|2Ze$_x+di|2fsx zx-+nJ-BOO@0=X8oz^umJt|j&U$-WJ~X`q=-+D=NeqPdt$8l)S8oTc^P0@jRyLyvG1 z$1N(E#ZKCp-=*lp3TZwjRJ9z&=D4Qjs-x*;OhGs9G3^BZ@$Nkym_~x{h~#13N#kC# zWzfa#gRMn?ssa6fzUSmx`#h&h(4mF7ld_}FB^wR{-BArRWa`O2( zVcVN66f2of)f@qZpkP^kUejog7Vxhy=0$tO0S5~O?2&#~XZKNRtdUvm{_MyHvS^gu zuE{P%>r;u|Z(*C})CAAIgbdSAU@`^~iiTlSgmMg_SW;HwP|AuCD9SNOu4&B2WypvO zQxPeXk`T(k7?QJDNmkWlI*p>SY>k_k6b0~VvQ2FNJw9;1KN5C zC0;LaK)O8w@|tei{@%ZynQT?;nuoEGb%_P0>#Laa_)o)ZG8In26cW+=dCzc-f2oJJwe#VV&tBD4%unAweSg_=`QXq{^TetTn{QtYbOaA< z8-KeWs?XO1_KarI7s!(pllvE!V7aUQR{j4ohwd*cO$;|Yez-uobY@Wru3z|g-KDV` wBMpCNeyp5&_jUV}b>#ZF4^Kbu8~w7ni`#pm9xQ)zWyJsCd6JzVE&7=kxtNm%B12 zYik;7D2l30btqY~M#+1kdN=tdZa01;O9M{y;T}7WOR9^gsBRA;kTTT*$|6-CA6rDN z6tydFGn3zT9yfciLeUF=BVY#J4WE)cg} z1cD3LlbMRo|m&qa>EwcMd%@n9hqfI zr4myT7~3tdTsR!|Ie0!mGy>kZh1GJv@|r3P3i349aIj%pz-Lqk?IMoQ#MAWZoFCMH5*#r9^0Q!{~-C!)OR{oYVp(9*QB33q?gG422{gguECM#0tk&*jQ8v z#S%eDNW=(70){v-nG{4tiN@oc6iQaGDa*sErJ;&lgV^1`irZr4xQkS5yE)q)t#m-w zkd19`$aX-yCkWE2W?25-FVA|k3UZBeNKd-93D)u}8(Y{HrC2o13w)gCxvk?~$Ljx* zGnP2R`pxlIvs8{q2m0b>>yypq@F0s!j7vr%c1SkJSS_TKXs-PB+w0ldo!#|Sub$Lh z?04|gY*ouO8a$dg+I6I=8O%4$P0^YD>Xql6^-DXKrD5Sra3%Qe^ZhGl#TRdGu8v*m z=5g~c>L;_jXU;fy@6(O(sq2gQL-Nax;ob*zR1!|_yE;(Sbl_R_|BDNg7k-@o+O|}f jY-qo;|6%dg>alt1WpQQZ{occ;{69r1kx}l(2Bv=lMr?EE diff --git a/res/drawable/message_header_bg.xml b/res/drawable/message_header_bg.xml deleted file mode 100644 index d3d6ca4a1..000000000 --- a/res/drawable/message_header_bg.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - diff --git a/res/layout-sw600dp/message_view_fragment.xml b/res/layout-sw600dp/message_view_fragment.xml index a634c76a0..a25553d29 100644 --- a/res/layout-sw600dp/message_view_fragment.xml +++ b/res/layout-sw600dp/message_view_fragment.xml @@ -74,7 +74,7 @@ android:layout_below="@id/subject_divider" android:layout_toRightOf="@id/badge" android:layout_alignRight="@id/subject" - android:background="@drawable/message_header_bg" + android:background="@color/message_view_header_color" /> diff --git a/res/layout/message_view_fragment.xml b/res/layout/message_view_fragment.xml index b99aa572d..cad88cd32 100644 --- a/res/layout/message_view_fragment.xml +++ b/res/layout/message_view_fragment.xml @@ -44,19 +44,17 @@ android:layout_height="wrap_content" android:orientation="vertical" > - @@ -102,7 +100,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textSize="14dip" - android:textColor="#eeeeee" + android:textColor="@color/text_secondary_color_inverse" android:singleLine="true" android:ellipsize="end" /> diff --git a/res/values/colors.xml b/res/values/colors.xml index 918037df4..dc155fd14 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -34,6 +34,10 @@ #aaaaaa #888888 + + #ffffff + #eeeeee + #ff808080