Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38ae876f authored by Dave Kover's avatar Dave Kover
Browse files

Split out drawable to separate from dashboard drawable

The Filter Notifications view has an action menu item which uses
the same drawable reference as the dashboard category. This can
create a conflicting instance for themes where the colors or style
do not line up correctly. By creating a new VD, we can make sure
that the different views are themed accurately & separately for
maximum themage (I made that word up).

Change-Id: If7ddf51489a741f6b9564f07f7034f3f9824d352
Ticket: CYNGNOS-2134
parent 84e68cf7
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (c) 2016 The CyanogenMod 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"
    android:viewportHeight="24"
    android:tint="?android:attr/colorAccent">

    <path
        android:fillColor="#000000"
        android:pathData="M3.5,19v-1l2-2v-5.5c0-3.1,2.1-5.6,5-6.3V3.5C10.5,2.7,11.2,2,12,2s1.5,0.7,1.5,1.5v0.7c2.9,0.7,5,3.2,5,6.3V16l2,2v1H3.5z
M12,22c-1.1,0-2-0.9-2-2h4C14,21.1,13.1,22,12,22z" />
</vector>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ public class SpamList extends ListFragment {
    @Override
    public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
        menu.add(0, MENU_NOTIFICATIONS, 0, R.string.volume_notification_description)
                .setIcon(R.drawable.ic_settings_notifications)
                .setIcon(R.drawable.ic_filter_notifications)
                .setAlphabeticShortcut('n')
                .setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM |
                MenuItem.SHOW_AS_ACTION_WITH_TEXT);