diff options
| author | 2012-06-19 16:16:00 -0700 | |
|---|---|---|
| committer | 2012-06-19 16:16:00 -0700 | |
| commit | 1b36a68f607538bd090c33b31bd418169657ff6c (patch) | |
| tree | 29b1cae9fce863c7d591bb6ebf372f3b1b30e640 | |
| parent | ebc9d317ff61bf8907809692d3efa899550d70d9 (diff) | |
| parent | 45f5a76000e6988f997e1c448d6fd8a8c59308f0 (diff) | |
Merge "DO NOT MERGE Engineer-asset light-theme findonpage prev/next buttons" into jb-dev
| -rw-r--r-- | core/res/res/drawable-hdpi/ic_find_next_holo_light.png | bin | 0 -> 926 bytes | |||
| -rw-r--r-- | core/res/res/drawable-hdpi/ic_find_previous_holo_light.png | bin | 0 -> 920 bytes | |||
| -rw-r--r-- | core/res/res/drawable-mdpi/ic_find_next_holo_light.png | bin | 0 -> 623 bytes | |||
| -rw-r--r-- | core/res/res/drawable-mdpi/ic_find_previous_holo_light.png | bin | 0 -> 622 bytes | |||
| -rw-r--r-- | core/res/res/drawable-xhdpi/ic_find_next_holo_light.png | bin | 0 -> 1348 bytes | |||
| -rw-r--r-- | core/res/res/drawable-xhdpi/ic_find_previous_holo_light.png | bin | 0 -> 1321 bytes | |||
| -rw-r--r-- | core/res/res/menu/webview_find.xml | 4 | ||||
| -rwxr-xr-x | core/res/res/values/attrs.xml | 6 | ||||
| -rw-r--r-- | core/res/res/values/themes.xml | 8 |
9 files changed, 16 insertions, 2 deletions
diff --git a/core/res/res/drawable-hdpi/ic_find_next_holo_light.png b/core/res/res/drawable-hdpi/ic_find_next_holo_light.png Binary files differnew file mode 100644 index 000000000000..37481696c0d8 --- /dev/null +++ b/core/res/res/drawable-hdpi/ic_find_next_holo_light.png diff --git a/core/res/res/drawable-hdpi/ic_find_previous_holo_light.png b/core/res/res/drawable-hdpi/ic_find_previous_holo_light.png Binary files differnew file mode 100644 index 000000000000..e4834a2642e8 --- /dev/null +++ b/core/res/res/drawable-hdpi/ic_find_previous_holo_light.png diff --git a/core/res/res/drawable-mdpi/ic_find_next_holo_light.png b/core/res/res/drawable-mdpi/ic_find_next_holo_light.png Binary files differnew file mode 100644 index 000000000000..4eea3c3bc5a6 --- /dev/null +++ b/core/res/res/drawable-mdpi/ic_find_next_holo_light.png diff --git a/core/res/res/drawable-mdpi/ic_find_previous_holo_light.png b/core/res/res/drawable-mdpi/ic_find_previous_holo_light.png Binary files differnew file mode 100644 index 000000000000..786e1d69dcc4 --- /dev/null +++ b/core/res/res/drawable-mdpi/ic_find_previous_holo_light.png diff --git a/core/res/res/drawable-xhdpi/ic_find_next_holo_light.png b/core/res/res/drawable-xhdpi/ic_find_next_holo_light.png Binary files differnew file mode 100644 index 000000000000..5b6890d7bd55 --- /dev/null +++ b/core/res/res/drawable-xhdpi/ic_find_next_holo_light.png diff --git a/core/res/res/drawable-xhdpi/ic_find_previous_holo_light.png b/core/res/res/drawable-xhdpi/ic_find_previous_holo_light.png Binary files differnew file mode 100644 index 000000000000..73976c7f3783 --- /dev/null +++ b/core/res/res/drawable-xhdpi/ic_find_previous_holo_light.png diff --git a/core/res/res/menu/webview_find.xml b/core/res/res/menu/webview_find.xml index 526b3464ded2..1770bd9f422c 100644 --- a/core/res/res/menu/webview_find.xml +++ b/core/res/res/menu/webview_find.xml @@ -16,11 +16,11 @@ <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@+id/find_prev" - android:icon="@drawable/ic_find_previous_holo_dark" + android:icon="?android:attr/findOnPagePreviousDrawable" android:showAsAction="always" /> <item android:id="@+id/find_next" - android:icon="@drawable/ic_find_next_holo_dark" + android:icon="?android:attr/findOnPageNextDrawable" android:showAsAction="always" /> </menu> diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index 3a7253b90d54..fcab4f386ca5 100755 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -842,6 +842,12 @@ <!-- The drawable for accessibility focused views. --> <attr name="accessibilityFocusedDrawable" format="reference" /> + <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide --> + <attr name="findOnPageNextDrawable" format="reference" /> + + <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide --> + <attr name="findOnPagePreviousDrawable" format="reference" /> + </declare-styleable> <!-- **************************************************************** --> diff --git a/core/res/res/values/themes.xml b/core/res/res/values/themes.xml index 83d0f63672b6..2f189448d9ff 100644 --- a/core/res/res/values/themes.xml +++ b/core/res/res/values/themes.xml @@ -153,6 +153,8 @@ please see themes_device_defaults.xml. ?android:attr/expandableListPreferredItemIndicatorLeft</item> <item name="expandableListPreferredChildIndicatorRight"> ?android:attr/expandableListPreferredItemIndicatorRight</item> + <item name="findOnPageNextDrawable">@android:drawable/ic_find_next_holo_dark</item> + <item name="findOnPagePreviousDrawable">@android:drawable/ic_find_previous_holo_dark</item> <!-- Gallery attributes --> <item name="galleryItemBackground">@android:drawable/gallery_item_background</item> @@ -467,6 +469,8 @@ please see themes_device_defaults.xml. <item name="detailsElementBackground">@android:drawable/panel_bg_holo_light</item> <item name="mediaRouteButtonStyle">@android:style/Widget.DeviceDefault.Light.MediaRouteButton</item> + <item name="findOnPageNextDrawable">@android:drawable/ic_find_next_holo_light</item> + <item name="findOnPagePreviousDrawable">@android:drawable/ic_find_previous_holo_light</item> </style> <!-- Variant of {@link #Theme_Light} with no title bar --> @@ -980,6 +984,8 @@ please see themes_device_defaults.xml. <item name="expandableListPreferredItemIndicatorRight">0dip</item> <item name="expandableListPreferredChildIndicatorLeft">?android:attr/expandableListPreferredItemIndicatorLeft</item> <item name="expandableListPreferredChildIndicatorRight">?android:attr/expandableListPreferredItemIndicatorRight</item> + <item name="findOnPageNextDrawable">@android:drawable/ic_find_next_holo_dark</item> + <item name="findOnPagePreviousDrawable">@android:drawable/ic_find_previous_holo_dark</item> <!-- Gallery attributes --> <item name="galleryItemBackground">@android:drawable/gallery_item_background</item> @@ -1283,6 +1289,8 @@ please see themes_device_defaults.xml. <item name="expandableListPreferredChildIndicatorRight">?android:attr/expandableListPreferredItemIndicatorRight</item> <item name="listDividerAlertDialog">@android:drawable/list_divider_holo_light</item> + <item name="findOnPageNextDrawable">@android:drawable/ic_find_next_holo_light</item> + <item name="findOnPagePreviousDrawable">@android:drawable/ic_find_previous_holo_light</item> <!-- Gallery attributes --> <item name="galleryItemBackground">@android:drawable/gallery_item_background</item> |