summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Alan Viverette <alanv@google.com> 2013-09-06 11:19:26 -0700
committer Alan Viverette <alanv@google.com> 2013-09-06 11:19:26 -0700
commitbbf4962a45d4819e9a4c7fbec0e040327569d56c (patch)
tree828aed654fc87c584aa394e845cb391493d5fcc5
parent171c63db9253e77c2bd11c53eb89b7c3c983669f (diff)
Increase visibility of accessibility focus highlight
Swaps old 9-patch for a Shape with a 2dp stroke and standard 2dp rounded corner. BUG: 9076619 Change-Id: I7486facb77c52209348830edf4eea318b1d90608
-rw-r--r--core/res/res/drawable-nodpi/view_accessibility_focused.9.pngbin862 -> 0 bytes
-rw-r--r--core/res/res/drawable/view_accessibility_focused.xml25
-rw-r--r--core/res/res/values/colors.xml2
3 files changed, 27 insertions, 0 deletions
diff --git a/core/res/res/drawable-nodpi/view_accessibility_focused.9.png b/core/res/res/drawable-nodpi/view_accessibility_focused.9.png
deleted file mode 100644
index f03f57503466..000000000000
--- a/core/res/res/drawable-nodpi/view_accessibility_focused.9.png
+++ /dev/null
Binary files differ
diff --git a/core/res/res/drawable/view_accessibility_focused.xml b/core/res/res/drawable/view_accessibility_focused.xml
new file mode 100644
index 000000000000..0da9a81bd8fb
--- /dev/null
+++ b/core/res/res/drawable/view_accessibility_focused.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 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.
+-->
+
+<shape xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <stroke
+ android:width="2dp"
+ android:color="@color/accessibility_focus_highlight" />
+
+ <corners android:radius="2dp"/>
+
+</shape>
diff --git a/core/res/res/values/colors.xml b/core/res/res/values/colors.xml
index 604bf4b6f3c7..284f61383d9f 100644
--- a/core/res/res/values/colors.xml
+++ b/core/res/res/values/colors.xml
@@ -195,5 +195,7 @@
<color name="keyguard_avatar_frame_shadow_color">#80000000</color>
<color name="keyguard_avatar_nick_color">#ffffffff</color>
<color name="keyguard_avatar_frame_pressed_color">#ff35b5e5</color>
+
+ <color name="accessibility_focus_highlight">#80ffff00</color>
</resources>