Remove duplicate ic_menu_add_white.
Bug: 123829919 Test: mp settingsg Change-Id: I88e0dde22762eb6bc019361222ffe783b1c15133
This commit is contained in:
@@ -1,28 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (C) 2016 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.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<vector
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:width="24dp"
|
|
||||||
android:height="24dp"
|
|
||||||
android:viewportWidth="24.0"
|
|
||||||
android:viewportHeight="24.0"
|
|
||||||
android:tint="?android:attr/colorControlNormal">
|
|
||||||
<path
|
|
||||||
android:fillColor="#FFFFFFFF"
|
|
||||||
android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
|
|
||||||
</vector>
|
|
@@ -18,6 +18,6 @@
|
|||||||
<item
|
<item
|
||||||
android:id="@+id/vpn_create"
|
android:id="@+id/vpn_create"
|
||||||
android:title="@string/vpn_create"
|
android:title="@string/vpn_create"
|
||||||
android:icon="@drawable/ic_menu_add_white"
|
android:icon="@drawable/ic_menu_add"
|
||||||
android:showAsAction="always" />
|
android:showAsAction="always" />
|
||||||
</menu>
|
</menu>
|
||||||
|
@@ -154,7 +154,7 @@ public class UserDictionarySettings extends ListFragment implements Instrumentab
|
|||||||
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
|
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
|
||||||
MenuItem actionItem =
|
MenuItem actionItem =
|
||||||
menu.add(0, OPTIONS_MENU_ADD, 0, R.string.user_dict_settings_add_menu_title)
|
menu.add(0, OPTIONS_MENU_ADD, 0, R.string.user_dict_settings_add_menu_title)
|
||||||
.setIcon(R.drawable.ic_menu_add_white);
|
.setIcon(R.drawable.ic_menu_add);
|
||||||
actionItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM |
|
actionItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM |
|
||||||
MenuItem.SHOW_AS_ACTION_WITH_TEXT);
|
MenuItem.SHOW_AS_ACTION_WITH_TEXT);
|
||||||
}
|
}
|
||||||
|
@@ -351,7 +351,7 @@ public class ApnSettings extends RestrictedSettingsFragment
|
|||||||
if (mAllowAddingApns) {
|
if (mAllowAddingApns) {
|
||||||
menu.add(0, MENU_NEW, 0,
|
menu.add(0, MENU_NEW, 0,
|
||||||
getResources().getString(R.string.menu_new))
|
getResources().getString(R.string.menu_new))
|
||||||
.setIcon(R.drawable.ic_menu_add_white)
|
.setIcon(R.drawable.ic_menu_add)
|
||||||
.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
|
.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
|
||||||
}
|
}
|
||||||
menu.add(0, MENU_RESTORE, 0,
|
menu.add(0, MENU_RESTORE, 0,
|
||||||
|
Reference in New Issue
Block a user