From 4abe77943d938fa827ef4f397eb0fdf1a04eeec8 Mon Sep 17 00:00:00 2001 From: Tim Su Date: Thu, 26 Jan 2012 22:20:50 -0800 Subject: [PATCH] Finished up the dark style for the edit page tabs --- .../custom_tab_indicator_focused.9.png | Bin 220 -> 0 bytes .../custom_tab_indicator_unselected.9.png | Bin 183 -> 0 bytes astrid/res/drawable/custom_tab_indicator.xml | 13 ++------- .../drawable/custom_tab_indicator_dark.xml | 26 ++++++++++++++++++ .../custom_tab_indicator_dark_selected.9.png | Bin 0 -> 172 bytes ...tab_indicator_dark_selected_focused.9.png} | Bin 2834 -> 2830 bytes ...custom_tab_indicator_dark_unselected.9.png | Bin 0 -> 183 bytes ...b_indicator_dark_unselected_focused.9.png} | Bin 2836 -> 2831 bytes .../custom_tab_indicator_selected.9.png | Bin ...ustom_tab_indicator_selected_focused.9.png | Bin 2836 -> 2828 bytes .../custom_tab_indicator_unselected.9.png | Bin 0 -> 193 bytes ...tom_tab_indicator_unselected_focused.9.png | Bin 2834 -> 2826 bytes astrid/res/layout/task_edit_activity.xml | 8 +++--- astrid/res/values/attrs.xml | 1 + astrid/res/values/styles.xml | 9 ++++-- 15 files changed, 40 insertions(+), 17 deletions(-) delete mode 100755 astrid/res/drawable-hdpi/custom_tab_indicator_focused.9.png delete mode 100755 astrid/res/drawable-hdpi/custom_tab_indicator_unselected.9.png create mode 100755 astrid/res/drawable/custom_tab_indicator_dark.xml create mode 100644 astrid/res/drawable/custom_tab_indicator_dark_selected.9.png rename astrid/res/{drawable-hdpi/custom_tab_indicator_unselected_pressed.9.png => drawable/custom_tab_indicator_dark_selected_focused.9.png} (92%) mode change 100755 => 100644 create mode 100644 astrid/res/drawable/custom_tab_indicator_dark_unselected.9.png rename astrid/res/{drawable-hdpi/custom_tab_indicator_selected_pressed.9.png => drawable/custom_tab_indicator_dark_unselected_focused.9.png} (92%) mode change 100755 => 100644 rename astrid/res/{drawable-hdpi => drawable}/custom_tab_indicator_selected.9.png (100%) rename astrid/res/{drawable-hdpi => drawable}/custom_tab_indicator_selected_focused.9.png (92%) create mode 100755 astrid/res/drawable/custom_tab_indicator_unselected.9.png rename astrid/res/{drawable-hdpi => drawable}/custom_tab_indicator_unselected_focused.9.png (92%) diff --git a/astrid/res/drawable-hdpi/custom_tab_indicator_focused.9.png b/astrid/res/drawable-hdpi/custom_tab_indicator_focused.9.png deleted file mode 100755 index 8d36d7de768cfdc74eec334d2933c17425066840..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 220 zcmeAS@N?(olHy`uVBq!ia0vp^tU%1i!3HFsuehcLq!^2X+?^QKos)S9w)>qB% zuHF&;RavE0<8>@|-n}}ZZId=m<=LPoR2Vz`)q_Vz`sfZ5}ZpMg_}?qced*=AJH&Asp9} zfBgS%&&Lmhgb6UeAVol+_T*-m4V@a Vg5cD$XjPC^44$rjF6*2UngB>OISl{+ diff --git a/astrid/res/drawable/custom_tab_indicator.xml b/astrid/res/drawable/custom_tab_indicator.xml index e71b9c3c1..709b7829f 100755 --- a/astrid/res/drawable/custom_tab_indicator.xml +++ b/astrid/res/drawable/custom_tab_indicator.xml @@ -15,20 +15,13 @@ --> + - + - - - - - - + - - - diff --git a/astrid/res/drawable/custom_tab_indicator_dark.xml b/astrid/res/drawable/custom_tab_indicator_dark.xml new file mode 100755 index 000000000..0cba346e8 --- /dev/null +++ b/astrid/res/drawable/custom_tab_indicator_dark.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + diff --git a/astrid/res/drawable/custom_tab_indicator_dark_selected.9.png b/astrid/res/drawable/custom_tab_indicator_dark_selected.9.png new file mode 100644 index 0000000000000000000000000000000000000000..4dd0f9bbb843ba1933b5f5a25010de98e76de2b3 GIT binary patch literal 172 zcmeAS@N?(olHy`uVBq!ia0vp^tU%1i!3HFsuehcLq!^2X+?^QKos)S93F(0hDcma zPHAZP&%<%x#EAn3KGcg&@{nL=W)@}^YY3h&F=J}8&ji8f1_lQIM=VkY{-zfI^)Yz5 L`njxgN@xNAznn2t literal 0 HcmV?d00001 diff --git a/astrid/res/drawable-hdpi/custom_tab_indicator_unselected_pressed.9.png b/astrid/res/drawable/custom_tab_indicator_dark_selected_focused.9.png old mode 100755 new mode 100644 similarity index 92% rename from astrid/res/drawable-hdpi/custom_tab_indicator_unselected_pressed.9.png rename to astrid/res/drawable/custom_tab_indicator_dark_selected_focused.9.png index 50fbb169e1717d2104e64589586bedc623441e31..b8f9ccdcfc36ec51635d42366f1d9a79df0aeb70 GIT binary patch delta 167 zcmbOv)+eUe8Q|y6%O%Cdz`(%k>ERLtq}hO2hyz4cbgw_U(JYROpDoGT-32HB1V5d3 z*H2Uw&tzaP@$_|Nzr!fas$u=}EZ2UZoP(!}V~E7%WP^LZrZhG-KD0M71FgTe~ HDWM4f#bq)J delta 173 zcmeAZn#8Q|y6%O%Cdz`(%k>ERLtq*;NOgM$r78h$jjp4`VJzEL@bt4<-=BgmJ5 zp-Pp3p`n?9;pcxK{gQ#9)PRBERRRNp)eHs(@%%~gN8NxLZ9QEaLn>~y^ljv1P~c(l zFKnH!vN_t?cNLG|YLi73AI=^;n0%RWQ`+TB2RD{h6)W+1o8}fV=)9a?yn72f!}euD Vs!nG;a)1Ugc)I$ztaD0e0suK6G(Z3V diff --git a/astrid/res/drawable/custom_tab_indicator_dark_unselected.9.png b/astrid/res/drawable/custom_tab_indicator_dark_unselected.9.png new file mode 100644 index 0000000000000000000000000000000000000000..6621e3dfa996b1ef2b31e0cc02007d5381ab962a GIT binary patch literal 183 zcmeAS@N?(olHy`uVBq!ia0vp^tU%1c!3HD^Kbl$tDaPU;cPEB*=VV?2Ic!PZ?k)`f zL2$v|<&%LToCO|{#S9GGogmC;e)9BMpdfpRr>`sf9Y$$3K^Esskwl=7xu=U`2*>s0 zAOHW`Gcz+Eu2(s8py5oz$C(lv7}hl1I8g7##>Unb>hY}Y;g!5SUp2cX_iVRIWneg< VAUL%wS`}m!gQu&X%Q~loCIItsI066w literal 0 HcmV?d00001 diff --git a/astrid/res/drawable-hdpi/custom_tab_indicator_selected_pressed.9.png b/astrid/res/drawable/custom_tab_indicator_dark_unselected_focused.9.png old mode 100755 new mode 100644 similarity index 92% rename from astrid/res/drawable-hdpi/custom_tab_indicator_selected_pressed.9.png rename to astrid/res/drawable/custom_tab_indicator_dark_unselected_focused.9.png index a0fe23105bb9b7936387cde4e830b04de8339ba3..1523e0f152f978dff0acd4cfe4c02da46332bf73 GIT binary patch delta 147 zcmbOt)-N_eoQs2lje&u|@S~~qMzc6BezqiUcNYd#5Nv(m?LJXaJd1(7#M9T6{SKov ztEQyswkj#0dPh$e#}JO|rRO$s9xxDazF2c7=x#)pUXO@geCy?3^XJF delta 155 zcmV;M0A&A<7L*o{7YYst1^@s6=cv{ula2}(u_Igxe;{K>QcVB=dL;k=fP(-4`Tqa_ zfaw4Lbua(`>RI+y?e7jKeZ#YO-C06$4YK~#9!VldwNl!1YP;Xe!;Z+*(Z$iTqx z|MlzF3@{)nD$2mbfCXR`WMN=nVB9Y%`k$c6K`6+8EkFPR07%{wFtFvnIRF3v07*qo JM6N<$0fGQkI8guq diff --git a/astrid/res/drawable-hdpi/custom_tab_indicator_selected.9.png b/astrid/res/drawable/custom_tab_indicator_selected.9.png similarity index 100% rename from astrid/res/drawable-hdpi/custom_tab_indicator_selected.9.png rename to astrid/res/drawable/custom_tab_indicator_selected.9.png diff --git a/astrid/res/drawable-hdpi/custom_tab_indicator_selected_focused.9.png b/astrid/res/drawable/custom_tab_indicator_selected_focused.9.png similarity index 92% rename from astrid/res/drawable-hdpi/custom_tab_indicator_selected_focused.9.png rename to astrid/res/drawable/custom_tab_indicator_selected_focused.9.png index 536d483ed939ee28508d7046edea93b8152fdbf4..56bdd19b058c3d51d56b0430354a815bdf7230e2 100755 GIT binary patch delta 84 zcmbOt)+07Sd80)P7e8B)x4R32DhRed@OGc5C@#amUgGKN%6^AYnpMkCTdz@>fq}u! l)5S4F;&Srj6I^DZ3?b7+&6XN}kO4|Cc)I$ztaD0e0sxLA76SkP delta 94 zcmeAXn<6$rdGZ7<(T&P6TqX+19znhg3{|QO3=Pc;3_t$^>6Z))r3MTPuM!v-tY$DU xi04m=KkCN7z+ms`;uunKD{1mUE;F$NhLGu^W?LFIw*zGuJYD@<);T3K0RR^?92Ecn diff --git a/astrid/res/drawable/custom_tab_indicator_unselected.9.png b/astrid/res/drawable/custom_tab_indicator_unselected.9.png new file mode 100755 index 0000000000000000000000000000000000000000..b08250f565d4c192cf8522ecb242ca33a7aa18af GIT binary patch literal 193 zcmeAS@N?(olHy`uVBq!ia0vp^tU%1c!3HD^Kbl$tDaPU;cPEB*=VV?2Ic!PZ?k)`K z49X1ZqKjE~0!26rJR*x37`Qt@n9=;?>9s&X_7YEDSN1!M(yZ2ssScaMfkKX+E{-7_ z*OPzz|8LLC%zU_B<;;N-2M&Dr|NHrS9)klXPoF$+q=EH;NQ#SiN@7An!i_VhJtM4} kKVDm|;b(O3*AzyEtQ^4%<$WPHfQB)6y85}Sb4q9e0D<9&)e0|SGN lr;B3<$Mx39C%8;R8MiMJQr*S#M-V8%;OXk;vd$@?2>`4x7V!W8 delta 94 zcmeAYn6Z))r3MTPuM!v-tY$DU xi04m=KkCN7z+mg?;uunKt7Y;*E)y|!hV9FQRGrRx @@ -58,7 +58,7 @@ android:layout_height="fill_parent" android:layout_margin="3dip" android:layout_marginTop="10dip" - android:background="@drawable/task_edit_background" + style="@style/EditRow" android:orientation="vertical" > @@ -67,7 +67,7 @@ android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" - android:background="@drawable/task_edit_background" + style="@style/EditRow" android:visibility="gone" > - @@ -88,7 +88,7 @@ android:layout_height="wrap_content" android:layout_margin="3dip" android:layout_marginBottom="0dip" - android:background="@drawable/task_edit_background" + style="@style/EditRow" android:orientation="vertical" android:visibility="gone"> diff --git a/astrid/res/values/attrs.xml b/astrid/res/values/attrs.xml index d666a9827..cb5186cf8 100644 --- a/astrid/res/values/attrs.xml +++ b/astrid/res/values/attrs.xml @@ -5,6 +5,7 @@ + diff --git a/astrid/res/values/styles.xml b/astrid/res/values/styles.xml index b209e0b48..7c7526f82 100644 --- a/astrid/res/values/styles.xml +++ b/astrid/res/values/styles.xml @@ -23,8 +23,9 @@ @drawable/mic_button_gray @drawable/camera_button_gray @drawable/lists_disclosure_gray - #272327 + #171317 @drawable/task_edit_background + @drawable/custom_tab_indicator_dark @drawable/header_background useLogo|showHome|showTitle @@ -74,6 +75,7 @@ @drawable/camera_button_red @drawable/lists_disclosure_red @drawable/task_edit_background_white + @drawable/custom_tab_indicator @android:color/white useLogo|showHome|showTitle @@ -344,10 +346,11 @@