Merge "Fix new theme assets and resources" into gingerbread

main
satok 2010-09-01 01:52:31 -07:00 committed by Android (Google) Code Review
commit d4f60bc8fc
4 changed files with 5 additions and 4 deletions

BIN
java/res/drawable-hdpi/sym_keyboard_feedback_settings.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 729 B

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -32,6 +32,7 @@
android:layout_height="wrap_content"
android:background="@android:color/transparent"
latin:keyBackground="@drawable/btn_keyboard_key_gingerbread"
latin:keyPreviewLayout="@layout/keyboard_key_preview"
latin:popupLayout="@layout/keyboard_popup_keyboard"
/>

View File

@ -20,13 +20,13 @@
<resources>
<color name="candidate_normal">#FFFFFFFF</color>
<color name="candidate_recommended">#FFF07020</color>
<color name="candidate_other">#ffB05010</color>
<color name="candidate_other">#ffD06015</color>
<color name="latinkeyboard_transparent">#00000000</color>
<color name="latinkeyboard_bar_language_shadow_white">#80000000</color>
<color name="latinkeyboard_bar_language_shadow_black">#80FFFFFF</color>
<color name="latinkeyboard_bar_language_text">#FF808080</color>
<color name="latinkeyboard_bar_language_text">#FFC0C0C0</color>
<color name="latinkeyboard_extension_background">#A0000000</color>
<color name="latinkeyboard_text_color">#FF000000</color>
<color name="latinkeyboard_feedback_language_text">#FFFFFFFF</color>
<color name="latinkeyboard_key_color_white">#FFFFFFFF</color>
<color name="latinkeyboard_key_color_black">#FF000000</color>
</resources>

View File

@ -732,7 +732,7 @@ public class LatinKeyboard extends Keyboard {
public void draw(Canvas canvas) {
canvas.save();
if (mHitThreshold) {
mTextPaint.setColor(mRes.getColor(R.color.latinkeyboard_text_color));
mTextPaint.setColor(mRes.getColor(R.color.latinkeyboard_feedback_language_text));
canvas.clipRect(0, 0, mWidth, mHeight);
if (mCurrentLanguage == null) {
mCurrentLanguage = getInputLanguage(mWidth, mTextPaint);