Update Material Dark theme
Bug: 15782668 Change-Id: If3f2439fe9dcd2c05514e73861777337b42273c4
Before Width: | Height: | Size: 1014 B After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 162 B After Width: | Height: | Size: 251 B |
After Width: | Height: | Size: 244 B |
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 220 B |
Before Width: | Height: | Size: 162 B After Width: | Height: | Size: 253 B |
Before Width: | Height: | Size: 557 B After Width: | Height: | Size: 773 B |
Before Width: | Height: | Size: 687 B After Width: | Height: | Size: 1013 B |
Before Width: | Height: | Size: 871 B After Width: | Height: | Size: 686 B |
Before Width: | Height: | Size: 73 B After Width: | Height: | Size: 73 B |
BIN
java/res/drawable-hdpi/suggestions_strip_divider_lxx_dark.png
Normal file
After Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 900 B |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 901 B After Width: | Height: | Size: 747 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 334 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 965 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 655 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 684 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 143 B After Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 138 B After Width: | Height: | Size: 242 B |
After Width: | Height: | Size: 196 B |
Before Width: | Height: | Size: 127 B After Width: | Height: | Size: 213 B |
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 513 B |
Before Width: | Height: | Size: 398 B After Width: | Height: | Size: 656 B |
Before Width: | Height: | Size: 589 B After Width: | Height: | Size: 455 B |
Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 324 B |
BIN
java/res/drawable-mdpi/suggestions_strip_divider_lxx_dark.png
Normal file
After Width: | Height: | Size: 324 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 690 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 912 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 827 B |
Before Width: | Height: | Size: 708 B After Width: | Height: | Size: 609 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 777 B |
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 707 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 807 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 291 B |
After Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 276 B After Width: | Height: | Size: 261 B |
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 288 B |
Before Width: | Height: | Size: 765 B After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 835 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 920 B |
Before Width: | Height: | Size: 330 B After Width: | Height: | Size: 330 B |
BIN
java/res/drawable-xhdpi/suggestions_strip_divider_lxx_dark.png
Normal file
After Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 1007 B |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 893 B |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 393 B After Width: | Height: | Size: 416 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 321 B |
After Width: | Height: | Size: 317 B |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 288 B |
Before Width: | Height: | Size: 173 B After Width: | Height: | Size: 314 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1007 B After Width: | Height: | Size: 1007 B |
BIN
java/res/drawable-xxhdpi/suggestions_strip_divider_lxx_dark.png
Normal file
After Width: | Height: | Size: 331 B |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 609 B After Width: | Height: | Size: 659 B |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 1.8 KiB |
21
java/res/drawable/btn_keyboard_key_popup_lxx_dark.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2014 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_popup_selected_lxx_dark" />
|
||||
<item android:drawable="@android:color/transparent" />
|
||||
</selector>
|
@ -30,6 +30,7 @@
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/config_suggestions_strip_height"
|
||||
style="?attr/suggestionStripViewStyle"
|
||||
>
|
||||
<TabHost
|
||||
android:id="@+id/emoji_category_tabhost"
|
||||
@ -57,10 +58,7 @@
|
||||
android:visibility="gone" />
|
||||
</FrameLayout>
|
||||
</TabHost>
|
||||
<View
|
||||
android:layout_width="2dip"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/suggestions_strip_divider" />
|
||||
<include layout="@layout/suggestion_divider" />
|
||||
<!-- TODO: Implement KeyView and replace this. -->
|
||||
<!-- Provide audio and haptic feedback by ourselves based on the keyboard settings.
|
||||
We just need to ignore the system's audio and haptic feedback settings. -->
|
||||
|
@ -26,9 +26,9 @@
|
||||
android:layout_height="match_parent"
|
||||
android:padding="0dp"
|
||||
android:gravity="center"
|
||||
android:src="@drawable/suggestions_strip_divider"
|
||||
android:contentDescription="@null"
|
||||
android:clickable="false"
|
||||
android:longClickable="false"
|
||||
android:hapticFeedbackEnabled="false"
|
||||
android:soundEffectsEnabled="false" />
|
||||
android:soundEffectsEnabled="false"
|
||||
style="?attr/suggestionStripViewStyle" />
|
||||
|
@ -40,21 +40,21 @@
|
||||
<color name="typed_word_color_klp">#D8F0F0F0</color>
|
||||
<color name="suggested_word_color_klp">#B2F0F0F0</color>
|
||||
<color name="highlight_translucent_color_klp">#99E0E0E0</color>
|
||||
<!-- Color resources for LXX theme. Base color = F0F0F0 -->
|
||||
<color name="key_text_color_lxx_dark">#FFFFFF</color>
|
||||
<color name="key_text_inactive_color_lxx_dark">#808184</color>
|
||||
<color name="key_hint_letter_color_lxx_dark">#808184</color>
|
||||
<color name="highlight_color_lxx_dark">#7FCAC3</color>
|
||||
<color name="typed_word_color_lxx_dark">#D87FCAC3</color>
|
||||
<color name="suggested_word_color_lxx_dark">#B27FCAC3</color>
|
||||
<color name="highlight_translucent_color_lxx_dark">#997FCAC3</color>
|
||||
<color name="keyboard_background_lxx_dark">#384248</color>
|
||||
<color name="key_background_lxx_dark">#384248</color>
|
||||
<color name="key_background_pressed_lxx_dark">#546872</color>
|
||||
<color name="suggestions_strip_background_lxx_dark">#263238</color>
|
||||
<color name="suggested_word_background_selected_lxx_dark">#384248</color>
|
||||
<!-- Color resources for LXX_Dark theme. -->
|
||||
<color name="key_text_color_lxx_dark">#B3FFFFFF</color>
|
||||
<color name="key_text_inactive_color_lxx_dark">#66FFFFFF</color>
|
||||
<color name="key_hint_letter_color_lxx_dark">#66FFFFFF</color>
|
||||
<color name="highlight_color_lxx_dark">#80CBC4</color>
|
||||
<color name="typed_word_color_lxx_dark">#D880CBC4</color>
|
||||
<color name="suggested_word_color_lxx_dark">#B280CBC4</color>
|
||||
<color name="highlight_translucent_color_lxx_dark">#9980CBC4</color>
|
||||
<color name="keyboard_background_lxx_dark">#263238</color>
|
||||
<color name="key_background_lxx_dark">#263238</color>
|
||||
<color name="key_background_pressed_lxx_dark">#26CFD8DC</color>
|
||||
<color name="suggestions_strip_background_lxx_dark">#21272B</color>
|
||||
<color name="suggested_word_background_selected_lxx_dark">#26CFD8DC</color>
|
||||
<color name="gesture_floating_preview_color_lxx_dark">#C0000000</color>
|
||||
<color name="emoji_tab_page_indicator_background_lxx_dark">#263238</color>
|
||||
<color name="emoji_tab_page_indicator_background_lxx_dark">#21272B</color>
|
||||
<!-- Color resources for setup wizard and tutorial -->
|
||||
<color name="setup_background">#FFEBEBEB</color>
|
||||
<color name="setup_text_dark">#FF707070</color>
|
||||
|
@ -21,7 +21,7 @@
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<style name="KeyboardIcons.LXX_Dark">
|
||||
<!-- Keyboard icons -->
|
||||
<!-- TODO: Update those icons for LXX theme. -->
|
||||
<!-- TODO: Update those icons for LXX_Dark theme. -->
|
||||
<item name="iconShiftKey">@drawable/sym_keyboard_shift_lxx_dark</item>
|
||||
<item name="iconDeleteKey">@drawable/sym_keyboard_delete_lxx_dark</item>
|
||||
<item name="iconSettingsKey">@drawable/sym_keyboard_settings_lxx_dark</item>
|
||||
|
@ -121,6 +121,7 @@
|
||||
<item name="maxMoreSuggestionsRow">@integer/config_max_more_suggestions_row</item>
|
||||
<item name="minMoreSuggestionsWidth">@fraction/config_min_more_suggestions_width</item>
|
||||
<item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
|
||||
<item name="android:src">@drawable/suggestions_strip_divider_holo</item>
|
||||
<item name="suggestionStripOptions">autoCorrectBold|validTypedWordBold</item>
|
||||
<item name="colorValidTypedWord">@color/typed_word_color_ics</item>
|
||||
<item name="colorTypedWord">@color/typed_word_color_ics</item>
|
||||
|
@ -121,6 +121,7 @@
|
||||
<item name="maxMoreSuggestionsRow">@integer/config_max_more_suggestions_row</item>
|
||||
<item name="minMoreSuggestionsWidth">@fraction/config_min_more_suggestions_width</item>
|
||||
<item name="android:background">@drawable/keyboard_suggest_strip_holo</item>
|
||||
<item name="android:src">@drawable/suggestions_strip_divider_holo</item>
|
||||
<item name="suggestionStripOptions">autoCorrectBold|validTypedWordBold</item>
|
||||
<item name="colorValidTypedWord">@color/typed_word_color_klp</item>
|
||||
<item name="colorTypedWord">@color/typed_word_color_klp</item>
|
||||
|
@ -108,8 +108,7 @@
|
||||
parent="KeyboardView.LXX_Dark"
|
||||
>
|
||||
<item name="android:background">@drawable/keyboard_popup_panel_background_lxx_dark</item>
|
||||
<!-- Reuse KLP key background -->
|
||||
<item name="keyBackground">@drawable/btn_keyboard_key_popup_klp</item>
|
||||
<item name="keyBackground">@drawable/btn_keyboard_key_popup_lxx_dark</item>
|
||||
<item name="keyTypeface">normal</item>
|
||||
<item name="verticalCorrection">@dimen/config_more_keys_keyboard_vertical_correction_holo</item>
|
||||
</style>
|
||||
@ -122,6 +121,7 @@
|
||||
<item name="maxMoreSuggestionsRow">@integer/config_max_more_suggestions_row</item>
|
||||
<item name="minMoreSuggestionsWidth">@fraction/config_min_more_suggestions_width</item>
|
||||
<item name="android:background">@color/suggestions_strip_background_lxx_dark</item>
|
||||
<item name="android:src">@drawable/suggestions_strip_divider_lxx_dark</item>
|
||||
<item name="suggestionStripOptions">autoCorrectBold|validTypedWordBold</item>
|
||||
<item name="colorValidTypedWord">@color/typed_word_color_lxx_dark</item>
|
||||
<item name="colorTypedWord">@color/typed_word_color_lxx_dark</item>
|
||||
|