aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
Diffstat (limited to 'java/res')
-rw-r--r--java/res/drawable-hdpi/more_suggestions_hint_holo.pngbin0 -> 242 bytes
-rw-r--r--java/res/drawable-mdpi/more_suggestions_hint_holo.pngbin0 -> 222 bytes
-rw-r--r--java/res/drawable-xhdpi/more_suggestions_hint_holo.pngbin0 -> 310 bytes
-rw-r--r--java/res/values/attrs.xml5
-rw-r--r--java/res/values/styles.xml16
5 files changed, 17 insertions, 4 deletions
diff --git a/java/res/drawable-hdpi/more_suggestions_hint_holo.png b/java/res/drawable-hdpi/more_suggestions_hint_holo.png
new file mode 100644
index 000000000..93604752b
--- /dev/null
+++ b/java/res/drawable-hdpi/more_suggestions_hint_holo.png
Binary files differ
diff --git a/java/res/drawable-mdpi/more_suggestions_hint_holo.png b/java/res/drawable-mdpi/more_suggestions_hint_holo.png
new file mode 100644
index 000000000..7352810d3
--- /dev/null
+++ b/java/res/drawable-mdpi/more_suggestions_hint_holo.png
Binary files differ
diff --git a/java/res/drawable-xhdpi/more_suggestions_hint_holo.png b/java/res/drawable-xhdpi/more_suggestions_hint_holo.png
new file mode 100644
index 000000000..35fb42087
--- /dev/null
+++ b/java/res/drawable-xhdpi/more_suggestions_hint_holo.png
Binary files differ
diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml
index a876e2889..9358c9085 100644
--- a/java/res/values/attrs.xml
+++ b/java/res/values/attrs.xml
@@ -126,8 +126,13 @@
<attr name="colorTypedWord" format="color" />
<attr name="colorAutoCorrect" format="color" />
<attr name="colorSuggested" format="color" />
+ <attr name="alphaTypedWord" format="integer" />
+ <attr name="alphaAutoCorrect" format="integer" />
+ <attr name="alphaSuggested" format="integer" />
+ <attr name="alphaObsoleted" format="integer" />
<attr name="suggestionsCountInStrip" format="integer" />
<attr name="centerSuggestionPercentile" format="integer" />
+ <attr name="moreSuggestionsHint" format="reference" />
<attr name="maxMoreSuggestionsRow" format="integer" />
<attr name="minMoreSuggestionsWidth" format="float" />
</declare-styleable>
diff --git a/java/res/values/styles.xml b/java/res/values/styles.xml
index 9fa4d842e..6aa967410 100644
--- a/java/res/values/styles.xml
+++ b/java/res/values/styles.xml
@@ -96,11 +96,13 @@
parent="SuggestionsStripBackgroundStyle"
>
<item name="suggestionStripOption">autoCorrectBold</item>
- <item name="colorTypedWord">#FFFFFFFF</item>
+ <item name="colorTypedWord">@android:color/white</item>
<item name="colorAutoCorrect">#FFFCAE00</item>
<item name="colorSuggested">#FFFCAE00</item>
+ <item name="alphaObsoleted">50</item>
<item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item>
<item name="centerSuggestionPercentile">@integer/center_suggestion_percentile</item>
+ <item name="moreSuggestionsHint">@drawable/more_suggestions_hint</item>
<item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item>
<item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item>
</style>
@@ -272,11 +274,17 @@
parent="SuggestionsStripBackgroundStyle.IceCreamSandwich"
>
<item name="suggestionStripOption">autoCorrectBold|validTypedWordBold</item>
- <item name="colorTypedWord">#FFBCBEC0</item>
- <item name="colorAutoCorrect">#FF0099CC</item>
- <item name="colorSuggested">#FFA7A9AC</item>
+ <!-- android:color/holo_blue_light=#FF33B5E5 -->
+ <item name="colorTypedWord">@android:color/holo_blue_light</item>
+ <item name="colorAutoCorrect">@android:color/holo_blue_light</item>
+ <item name="colorSuggested">@android:color/holo_blue_light</item>
+ <item name="alphaTypedWord">85</item>
+ <item name="alphaAutoCorrect">100</item>
+ <item name="alphaSuggested">70</item>
+ <item name="alphaObsoleted">70</item>
<item name="suggestionsCountInStrip">@integer/suggestions_count_in_strip</item>
<item name="centerSuggestionPercentile">@integer/center_suggestion_percentile</item>
+ <item name="moreSuggestionsHint">@drawable/more_suggestions_hint_holo</item>
<item name="maxMoreSuggestionsRow">@integer/max_more_suggestions_row</item>
<item name="minMoreSuggestionsWidth">@fraction/min_more_suggestions_width</item>
</style>