OSDN Git Service

Fix Search History RTL support
authorFabrice Di Meglio <fdimeglio@google.com>
Tue, 1 Jul 2014 19:12:52 +0000 (12:12 -0700)
committerFabrice Di Meglio <fdimeglio@google.com>
Tue, 1 Jul 2014 19:12:52 +0000 (12:12 -0700)
- make ic_search_history icon auto mirror

Change-Id: I3e57103bf776f4dd52c2089d80992d9abef4ec1c

res/drawable-hdpi/ic_search_history_am.png [moved from res/drawable-hdpi/ic_search_history.png with 100% similarity]
res/drawable-mdpi/ic_search_history_am.png [moved from res/drawable-mdpi/ic_search_history.png with 100% similarity]
res/drawable-xhdpi/ic_search_history_am.png [moved from res/drawable-xhdpi/ic_search_history.png with 100% similarity]
res/drawable-xxhdpi/ic_search_history_am.png [moved from res/drawable-xxhdpi/ic_search_history.png with 100% similarity]
res/drawable-xxxhdpi/ic_search_history_am.png [moved from res/drawable-xxxhdpi/ic_search_history.png with 100% similarity]
res/drawable/ic_search_history.xml [new file with mode: 0644]

diff --git a/res/drawable/ic_search_history.xml b/res/drawable/ic_search_history.xml
new file mode 100644 (file)
index 0000000..05384d2
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+ * Copyright 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.
+ */
+-->
+
+<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
+        android:src="@drawable/ic_search_history_am"
+        android:autoMirrored="true"
+        />