diff options
author | Alan Viverette <alanv@google.com> | 2015-04-10 15:46:18 -0700 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2015-04-10 15:46:18 -0700 |
commit | 257d13b7cf66e9c64a1eaaa3e08b39208a4f90da (patch) | |
tree | 36c611e41570c5b03ab370b4b216d1a9a7b3d55b /res/drawable/ic_settings_nfc_payment.xml | |
parent | 35fba3eeafe47ccd900b3e18b6b64a16ad677462 (diff) | |
download | packages_apps_Settings-257d13b7cf66e9c64a1eaaa3e08b39208a4f90da.zip packages_apps_Settings-257d13b7cf66e9c64a1eaaa3e08b39208a4f90da.tar.gz packages_apps_Settings-257d13b7cf66e9c64a1eaaa3e08b39208a4f90da.tar.bz2 |
Wrap tintable icons with correctly tinted drawable XML
Replaces pre-tinted icons with flat black, grayscale versions suitable
for use as alpha masks.
Bug: 20143927
Change-Id: I0bca5dee6fcb273902db174c818cc529a5c13f91
Diffstat (limited to 'res/drawable/ic_settings_nfc_payment.xml')
-rw-r--r-- | res/drawable/ic_settings_nfc_payment.xml | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/res/drawable/ic_settings_nfc_payment.xml b/res/drawable/ic_settings_nfc_payment.xml index 10672a9..897cd8b 100644 --- a/res/drawable/ic_settings_nfc_payment.xml +++ b/res/drawable/ic_settings_nfc_payment.xml @@ -1,23 +1,22 @@ <?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. - */ + Copyright (C) 2015 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_settings_nfc_payment_am" - android:autoMirrored="true" - /> + android:src="@drawable/ic_settings_nfc_payment_am_alpha" + android:tint="?android:attr/colorAccent" + android:autoMirrored="true" /> + |