From 3118277dd47492089761c0ed1097abaeb376395c Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Fri, 1 Jul 2011 14:21:25 +0900 Subject: [PATCH] Tweak ICS theme a bit Change-Id: Ib8f1a712a1fc3fd6f08b336617b4b6a17af11376 --- ...btn_keyboard_key_popup_selected_holo.9.png | Bin 341 -> 384 bytes .../keyboard_suggest_strip_divider.png | Bin 0 -> 1012 bytes .../sym_keyboard_space_led_holo.9.png | Bin 0 -> 322 bytes ...btn_keyboard_key_popup_selected_holo.9.png | Bin 271 -> 257 bytes .../keyboard_suggest_strip_divider.png | Bin 0 -> 2812 bytes .../sym_keyboard_space_led_holo.9.png | Bin 0 -> 201 bytes ...btn_keyboard_key_popup_selected_holo.9.png | Bin 423 -> 366 bytes .../sym_keyboard_space_led_holo.9.png | Bin 0 -> 368 bytes java/res/layout/candidate_divider.xml | 9 +-- java/res/layout/candidate_info.xml | 1 - java/res/layout/candidates_strip.xml | 16 ++-- java/res/values-land/dimens.xml | 2 +- java/res/values-sw600dp/dimens.xml | 2 +- java/res/values-sw768dp/dimens.xml | 2 +- java/res/values/attrs.xml | 1 - java/res/values/dimens.xml | 2 +- java/res/values/keyboard-icons-ics.xml | 2 +- java/res/values/styles.xml | 4 +- .../inputmethod/keyboard/KeyboardView.java | 11 +++ .../inputmethod/latin/CandidateView.java | 70 ++++++++---------- 20 files changed, 58 insertions(+), 64 deletions(-) create mode 100644 java/res/drawable-hdpi/keyboard_suggest_strip_divider.png create mode 100644 java/res/drawable-hdpi/sym_keyboard_space_led_holo.9.png create mode 100644 java/res/drawable-mdpi/keyboard_suggest_strip_divider.png create mode 100644 java/res/drawable-mdpi/sym_keyboard_space_led_holo.9.png create mode 100644 java/res/drawable-xhdpi/sym_keyboard_space_led_holo.9.png diff --git a/java/res/drawable-hdpi/btn_keyboard_key_popup_selected_holo.9.png b/java/res/drawable-hdpi/btn_keyboard_key_popup_selected_holo.9.png index 26a5427733935907097b8523f96f1e1cc989b4de..1ab6160b2dad37bf7b88bc645f5021876f3409df 100644 GIT binary patch delta 371 zcmV-(0gV3D0)PW9iBL{Q4GJ0x0000DNk~Le0000W0000W2nGNE0CReJ^Z)<=0drDE zLIAGL9O;oU7=IyjMObuGZ)S9NVRB^vM{;3sXlY|ZZ*F#Fa&%>KASg+0bY*NQcZd2J z0002^Nklj5K~z|U?UylX!$1&4pH#$Pf-m7BxJzMjp9CzONrLD^3F+({ z!vT(~LldxD(Jpm1{7%9}H1>UI3?>@0y33w&F6u<*ega$ORf9G^AaoL*KDxpYJwk9?k zE*6VvF_VpH`o>I>Go&wP!1Rro#KmH9u~;;*DO(|!t%)5IigY=JHZ`%&gd$zOLYtac z16;MU$FW2vB4k-_mrq@$cMld3 aegU4(FBiK%4lx4&0000qq diff --git a/java/res/drawable-hdpi/keyboard_suggest_strip_divider.png b/java/res/drawable-hdpi/keyboard_suggest_strip_divider.png new file mode 100644 index 0000000000000000000000000000000000000000..7ca3e6131b03adfd1b2d2fa7a29ce314d086a981 GIT binary patch literal 1012 zcmbVL%Wl&^6m^MIRW0qltVV9d0ueu(_@SD}Pa1?vl|~{f#KfL7R%?$LPl?+Vf(=za z0R(@*2f%_gUx36#_X?`?RG+ z_P@RG#$?+%^#^nxkLUyv#Mv<(BG66Y0qP+bpFI15wmGgbO8Nsj2p^geP6b%$2xXcx zG{IhlGx%Ow?Zk*T{KR1P6^sS-R(!GhmjHUoqJ%rG#NpP zCd+FhVXvLs51 zC@W1_GgZZuBrsn*vqs{P+4F+AEhbs~n9|%7#mQtMOjH4r15q{%qvBAMCevsZCmDrh zGb=V~1`ibxNphOt3{;G8h>xkoGf!tBqr zYbICOZ@XKz=O}^tuefK}_8{%m16SnuC_@`7t{ciuku>ey*D#$4Cm^*%UH GU;YMn*)?AP literal 0 HcmV?d00001 diff --git a/java/res/drawable-hdpi/sym_keyboard_space_led_holo.9.png b/java/res/drawable-hdpi/sym_keyboard_space_led_holo.9.png new file mode 100644 index 0000000000000000000000000000000000000000..34a1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9.png b/java/res/drawable-xhdpi/btn_keyboard_key_popup_selected_holo.9.png index b5e514bb5e5bab9d6aa21ba1b1c488f41b70fa2f..47eee3296c7bf5d71d2d9178e005074f6faa6ffb 100644 GIT binary patch delta 354 zcmV-o0iFJ*1MUJYiBL{Q4GJ0x0000DNk~Le0000i0000g2nGNE0Lb0B8~^|S0drDE zLIAGL9O;oU7k>aDbVXQnQ*UN;cVTj607r6RaA;{`LvL<&WpZ?7av&&4ZggdADR+nZ z82|tP=1D|BRCt{1**gltKoo`HL3BG-qC2q?@r4Vq5|x0Z3sDqe2!anVd(sm_nvjQH zoLnR4z~3fcGtG=K-`gV*$8jHTx~Zcva?l9{mO7&~ntz~1jwt6aN7xqfEJBlo|7ySf zEdckCTOu~@h=vmITmc*BNWgnVuqOfAJY+@PB;bo8I3So{f`15{t|pk^>VVTnFu?>9 zOfbR!4)ztnR|$Bl2zDjl8M-ThmlALn?G&)#Rn>JF2r-%sMLknZ~ z5Qg7gp(~NezPWq@%yHFT@}aQoQuhP^0RR630I928S$`QQ4gdfE07*qoM6N<$f?=(V A9RL6T delta 411 zcmaFIw4B+nGr-TCmrII^fq{Y7)59eQNE-pM83!AXY+ZM1Igny0cJd720D>Bhl#Ypd z;`NN4o-U3d8I5me+Iq1#3b@_pk?!2lv^`)7?~%hCNzdXO_cSb0FEH-4?Rv-d?}2Pj zn8^qBQwcphW&2-lOTWEM&L_V+nz{TupF!JX`5f1wN}i27x$bCb6M{1?Q67M z8X+3V9_B3UdV$?+s#9o+z&ur{mD{x@y*mDH>%CPT`br);LHVI7)iEmOK$K-AQL}5o z3SrHrMJ``vsw8(=O;jqFcn5-hlqyaPl#9#1#V{&#!RcEiM*ZFxn zw`{NIS{TmdKI;Vst00|kA A#sB~S literal 0 HcmV?d00001 diff --git a/java/res/layout/candidate_divider.xml b/java/res/layout/candidate_divider.xml index a1059dc2f..dc5e77966 100644 --- a/java/res/layout/candidate_divider.xml +++ b/java/res/layout/candidate_divider.xml @@ -18,13 +18,10 @@ */ --> - + android:gravity="center" /> diff --git a/java/res/layout/candidate_info.xml b/java/res/layout/candidate_info.xml index f3557289c..a364d46aa 100644 --- a/java/res/layout/candidate_info.xml +++ b/java/res/layout/candidate_info.xml @@ -24,5 +24,4 @@ android:layout_height="wrap_content" android:textSize="6sp" android:textColor="@android:color/white" - android:visibility="gone" style="?attr/suggestionBackgroundStyle" /> diff --git a/java/res/layout/candidates_strip.xml b/java/res/layout/candidates_strip.xml index 0f542c0a2..2d908863c 100644 --- a/java/res/layout/candidates_strip.xml +++ b/java/res/layout/candidates_strip.xml @@ -27,9 +27,7 @@ android:orientation="horizontal" android:layout_weight="1.0" android:layout_width="0dp" - android:layout_height="match_parent" - > - + android:layout_height="match_parent" /> + android:background="@drawable/btn_keyboard_key_ics" /> + android:background="@drawable/btn_keyboard_key_ics" /> 0.01in - 38dip + 36dip 63dip diff --git a/java/res/values-sw600dp/dimens.xml b/java/res/values-sw600dp/dimens.xml index 1a82b0c6c..c89a5cdfb 100644 --- a/java/res/values-sw600dp/dimens.xml +++ b/java/res/values-sw600dp/dimens.xml @@ -68,7 +68,7 @@ 15.0mm 0.05in - 46dip + 44dip 15.0mm 0.3in 12dip diff --git a/java/res/values-sw768dp/dimens.xml b/java/res/values-sw768dp/dimens.xml index 81a68e233..f98cabba4 100644 --- a/java/res/values-sw768dp/dimens.xml +++ b/java/res/values-sw768dp/dimens.xml @@ -69,7 +69,7 @@ 15.0mm 0.05in - 46dip + 44dip 18mm diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index fb99336e8..cf9138ba2 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -120,7 +120,6 @@ - diff --git a/java/res/values/dimens.xml b/java/res/values/dimens.xml index 6cf5fe99c..095ef4227 100644 --- a/java/res/values/dimens.xml +++ b/java/res/values/dimens.xml @@ -73,7 +73,7 @@ 80sp 0.05in - 42dip + 40dip 100sp diff --git a/java/res/values/keyboard-icons-ics.xml b/java/res/values/keyboard-icons-ics.xml index c81315284..bf2d13d30 100644 --- a/java/res/values/keyboard-icons-ics.xml +++ b/java/res/values/keyboard-icons-ics.xml @@ -50,7 +50,7 @@ @drawable/sym_keyboard_settings_holo @drawable/sym_keyboard_feedback_mic - @drawable/sym_keyboard_space_led + @drawable/sym_keyboard_space_led_holo @drawable/sym_keyboard_voice_off_holo diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml index c0cc8fbda..f731d0133 100644 --- a/java/res/values/styles.xml +++ b/java/res/values/styles.xml @@ -92,7 +92,6 @@ #FFFFFFFF #FFFCAE00 #FFFCAE00 - #20FFFFFF @integer/candidate_count_in_strip @@ -191,9 +190,8 @@