diff options
author | Andrew Lee <anwlee@google.com> | 2014-08-27 13:31:55 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2014-08-27 13:40:56 -0700 |
commit | 5f84e76212ab1ae15a507cb88f9a44557b640e80 (patch) | |
tree | 6bd077622d013623bdd3c0109f52fc7eabff2183 /InCallUI/res/drawable | |
parent | e6f5fe95a766240d36d74e4613c7cbeb9dcad778 (diff) |
InCallUi image resource updates (mostly deletions).
- Deleted a ton of assets which were no longer used.
+ Automirrored some assets so their rtl copies could be removed.
Bug: 15862303
Change-Id: I8aa832eead1768c82741fbe97268ea44ba0fc9ff
Diffstat (limited to 'InCallUI/res/drawable')
15 files changed, 51 insertions, 16 deletions
diff --git a/InCallUI/res/drawable/btn_change_to_video.xml b/InCallUI/res/drawable/btn_change_to_video.xml index 255b9b6ce..962539e4f 100644 --- a/InCallUI/res/drawable/btn_change_to_video.xml +++ b/InCallUI/res/drawable/btn_change_to_video.xml @@ -23,7 +23,8 @@ <item> <bitmap android:src="@drawable/ic_toolbar_video" android:gravity="center" - android:tint="@color/selectable_icon_tint" /> + android:tint="@color/selectable_icon_tint" + android:autoMirrored="true" /> </item> </layer-list>
\ No newline at end of file diff --git a/InCallUI/res/drawable/btn_change_to_voice.xml b/InCallUI/res/drawable/btn_change_to_voice.xml index 974dd4a2e..fdeae071b 100644 --- a/InCallUI/res/drawable/btn_change_to_voice.xml +++ b/InCallUI/res/drawable/btn_change_to_voice.xml @@ -23,7 +23,8 @@ <item> <bitmap android:src="@drawable/ic_toolbar_audio_phone" android:gravity="center" - android:tint="@color/selectable_icon_tint" /> + android:tint="@color/selectable_icon_tint" + android:autoMirrored="true" /> </item> </layer-list>
\ No newline at end of file diff --git a/InCallUI/res/drawable/btn_compound_audio.xml b/InCallUI/res/drawable/btn_compound_audio.xml index 9c474c956..568f705bb 100644 --- a/InCallUI/res/drawable/btn_compound_audio.xml +++ b/InCallUI/res/drawable/btn_compound_audio.xml @@ -72,7 +72,7 @@ <item android:id="@+id/bluetoothItem"> <bitmap android:src="@drawable/ic_toolbar_audio_bluetooth" android:gravity="center" - android:tint="@color/selectable_icon_tint" /> + android:tint="@color/selectable_icon_tint" /> </item> @@ -86,8 +86,9 @@ <!-- Speakerphone icon showing 'speaker on' state --> <item android:id="@+id/speakerphoneItem"> <bitmap android:src="@drawable/ic_toolbar_speaker_on" - android:gravity="center" - android:tint="@color/selectable_icon_tint" /> + android:gravity="center" + android:tint="@color/selectable_icon_tint" + android:autoMirrored="true" /> </item> <!-- Generic "audio mode" icon. --> diff --git a/InCallUI/res/drawable/btn_compound_mute.xml b/InCallUI/res/drawable/btn_compound_mute.xml index 68a8c9b34..53be386e7 100644 --- a/InCallUI/res/drawable/btn_compound_mute.xml +++ b/InCallUI/res/drawable/btn_compound_mute.xml @@ -24,7 +24,8 @@ <item> <bitmap android:src="@drawable/ic_toolbar_mic_off" android:gravity="center" - android:tint="@color/selectable_icon_tint" /> + android:tint="@color/selectable_icon_tint" + android:autoMirrored="true" /> </item> </layer-list> diff --git a/InCallUI/res/drawable/btn_compound_video_off.xml b/InCallUI/res/drawable/btn_compound_video_off.xml index 776df50ff..8af4209d3 100644 --- a/InCallUI/res/drawable/btn_compound_video_off.xml +++ b/InCallUI/res/drawable/btn_compound_video_off.xml @@ -25,7 +25,8 @@ <item> <bitmap android:src="@drawable/ic_toolbar_video_off" android:gravity="center" - android:tint="@color/selectable_icon_tint" /> + android:tint="@color/selectable_icon_tint" + android:autoMirrored="true" /> </item> </layer-list> diff --git a/InCallUI/res/drawable/btn_compound_video_switch.xml b/InCallUI/res/drawable/btn_compound_video_switch.xml index aa1459370..ef171ab9c 100644 --- a/InCallUI/res/drawable/btn_compound_video_switch.xml +++ b/InCallUI/res/drawable/btn_compound_video_switch.xml @@ -25,7 +25,8 @@ <item> <bitmap android:src="@drawable/ic_toolbar_video_switch" android:gravity="center" - android:tint="@color/selectable_icon_tint" /> + android:tint="@color/selectable_icon_tint" + android:autoMirrored="true" /> </item> </layer-list> diff --git a/InCallUI/res/drawable/ic_lockscreen_answer_activated_layer.xml b/InCallUI/res/drawable/ic_lockscreen_answer_activated_layer.xml index dd227d5a0..c615295ed 100644 --- a/InCallUI/res/drawable/ic_lockscreen_answer_activated_layer.xml +++ b/InCallUI/res/drawable/ic_lockscreen_answer_activated_layer.xml @@ -19,6 +19,7 @@ <bitmap android:gravity="center" android:src="@drawable/fab_ic_call" - android:tint="@color/glowpad_widget_active_color" /> + android:tint="@color/glowpad_widget_active_color" + android:autoMirrored="true" /> </item> </layer-list> diff --git a/InCallUI/res/drawable/ic_lockscreen_answer_normal_layer.xml b/InCallUI/res/drawable/ic_lockscreen_answer_normal_layer.xml index 28988239c..31b884f99 100644 --- a/InCallUI/res/drawable/ic_lockscreen_answer_normal_layer.xml +++ b/InCallUI/res/drawable/ic_lockscreen_answer_normal_layer.xml @@ -27,6 +27,7 @@ <bitmap android:gravity="center" android:src="@drawable/fab_ic_call" - android:tint="@color/glowpad_call_widget_normal_tint" /> + android:tint="@color/glowpad_call_widget_normal_tint" + android:autoMirrored="true" /> </item> </layer-list> diff --git a/InCallUI/res/drawable/ic_lockscreen_answer_video_activated_layer.xml b/InCallUI/res/drawable/ic_lockscreen_answer_video_activated_layer.xml index 57a3c09d8..7895e1b6d 100644 --- a/InCallUI/res/drawable/ic_lockscreen_answer_video_activated_layer.xml +++ b/InCallUI/res/drawable/ic_lockscreen_answer_video_activated_layer.xml @@ -20,6 +20,7 @@ <bitmap android:gravity="center" android:src="@drawable/ic_videocam" - android:tint="@color/glowpad_widget_active_color" /> + android:tint="@color/glowpad_widget_active_color" + android:autoMirrored="true" /> </item> </layer-list> diff --git a/InCallUI/res/drawable/ic_lockscreen_answer_video_normal_layer.xml b/InCallUI/res/drawable/ic_lockscreen_answer_video_normal_layer.xml index 708bbcc9c..793a36e10 100644 --- a/InCallUI/res/drawable/ic_lockscreen_answer_video_normal_layer.xml +++ b/InCallUI/res/drawable/ic_lockscreen_answer_video_normal_layer.xml @@ -28,6 +28,7 @@ <bitmap android:gravity="center" android:src="@drawable/ic_videocam" - android:tint="@color/glowpad_call_widget_normal_tint" /> + android:tint="@color/glowpad_call_widget_normal_tint" + android:autoMirrored="true" /> </item> </layer-list> diff --git a/InCallUI/res/drawable/ic_lockscreen_decline_video_activated_layer.xml b/InCallUI/res/drawable/ic_lockscreen_decline_video_activated_layer.xml index 63fe4cad8..0790aed19 100644 --- a/InCallUI/res/drawable/ic_lockscreen_decline_video_activated_layer.xml +++ b/InCallUI/res/drawable/ic_lockscreen_decline_video_activated_layer.xml @@ -20,6 +20,7 @@ <bitmap android:gravity="center" android:src="@drawable/ic_toolbar_video_off" - android:tint="@color/glowpad_widget_active_color" /> + android:tint="@color/glowpad_widget_active_color" + android:autoMirrored="true" /> </item> </layer-list> diff --git a/InCallUI/res/drawable/ic_lockscreen_decline_video_normal_layer.xml b/InCallUI/res/drawable/ic_lockscreen_decline_video_normal_layer.xml index 370d515e7..e247f0a3f 100644 --- a/InCallUI/res/drawable/ic_lockscreen_decline_video_normal_layer.xml +++ b/InCallUI/res/drawable/ic_lockscreen_decline_video_normal_layer.xml @@ -28,6 +28,7 @@ <bitmap android:gravity="center" android:src="@drawable/ic_toolbar_video_off" - android:tint="@color/glowpad_call_widget_normal_tint" /> + android:tint="@color/glowpad_call_widget_normal_tint" + android:autoMirrored="true" /> </item> </layer-list> diff --git a/InCallUI/res/drawable/ic_lockscreen_text_activated_layer.xml b/InCallUI/res/drawable/ic_lockscreen_text_activated_layer.xml index 040b39913..a74e36b31 100644 --- a/InCallUI/res/drawable/ic_lockscreen_text_activated_layer.xml +++ b/InCallUI/res/drawable/ic_lockscreen_text_activated_layer.xml @@ -26,6 +26,7 @@ <bitmap android:gravity="center" android:src="@drawable/fab_ic_message" - android:tint="@color/glowpad_widget_active_color" /> + android:tint="@color/glowpad_widget_active_color" + android:autoMirrored="true" /> </item> </layer-list> diff --git a/InCallUI/res/drawable/ic_lockscreen_text_normal_layer.xml b/InCallUI/res/drawable/ic_lockscreen_text_normal_layer.xml index 950d1c38c..be32d0baa 100644 --- a/InCallUI/res/drawable/ic_lockscreen_text_normal_layer.xml +++ b/InCallUI/res/drawable/ic_lockscreen_text_normal_layer.xml @@ -27,6 +27,7 @@ <bitmap android:gravity="center" android:src="@drawable/fab_ic_message" - android:tint="@color/glowpad_text_widget_normal_tint" /> + android:tint="@color/glowpad_text_widget_normal_tint" + android:autoMirrored="true" /> </item> </layer-list> diff --git a/InCallUI/res/drawable/img_no_image_automirrored.xml b/InCallUI/res/drawable/img_no_image_automirrored.xml new file mode 100644 index 000000000..f0cf0db31 --- /dev/null +++ b/InCallUI/res/drawable/img_no_image_automirrored.xml @@ -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 + --> + +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/img_no_image" + android:autoMirrored="true" />
\ No newline at end of file |