Skip to content

Commit

Permalink
Merge pull request #3 from AdrianDC/n-mr1
Browse files Browse the repository at this point in the history
  • Loading branch information
Meninblack007 authored Mar 26, 2017
2 parents e2ffe0d + 884d334 commit fea930c
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 21 deletions.
39 changes: 21 additions & 18 deletions res/drawable/ic_settings_sim.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
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.
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.
-->

<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/ic_sim_sd"
android:tint="?android:attr/colorAccent" />

<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="?android:attr/colorAccent"
android:pathData="M19.99,4c0,-1.1 -0.89,-2 -1.99,-2h-8L4,8v12c0,1.1 0.9,2 2,2h12.01c1.1,0
1.99,-0.9 1.99,-2l-0.01,-16zM9,19L7,19v-2h2v2zM17,19h-2v-2h2v2zM9,15L7,
15v-4h2v4zM13,19h-2v-4h2v4zM13,13h-2v-2h2v2zM17,15h-2v-4h2v4z"/>
</vector>
2 changes: 1 addition & 1 deletion src/com/android/settings/ApnSettings.java
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
if (mAllowAddingApns) {
menu.add(0, MENU_NEW, 0,
getResources().getString(R.string.menu_new))
.setIcon(android.R.drawable.ic_menu_add)
.setIcon(R.drawable.ic_menu_add_white)
.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
}
menu.add(0, MENU_RESTORE, 0,
Expand Down
3 changes: 2 additions & 1 deletion src/com/android/settings/bluetooth/DevicePickerFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ void initDevicePreference(BluetoothDevicePreference preference) {
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
menu.add(Menu.NONE, MENU_ID_REFRESH, 0, R.string.bluetooth_search_for_devices)
.setEnabled(true)
.setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER);
.setIcon(com.android.internal.R.drawable.ic_menu_refresh)
.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
super.onCreateOptionsMenu(menu, inflater);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public final class SearchIndexableResources {
Ranking.getRankForClassName(SimSettings.class.getName()),
NO_DATA_RES_ID,
SimSettings.class.getName(),
R.drawable.ic_sim_sd));
R.drawable.ic_settings_sim));

sResMap.put(DataUsageSummary.class.getName(),
new SearchIndexableResource(
Expand Down

0 comments on commit fea930c

Please sign in to comment.