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

Commit ee53ca6b authored by Doris Ling's avatar Doris Ling
Browse files

Tint the footer info icon.

- make a local copy of the info icon and add tint color control normal
to make it grey.

Fixes: 124316241
Test: visual
Change-Id: I248a1e2d0124ec6f3602fa59d0e16e7911a6165c
parent ebfc162d
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright (C) 2019 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="#FF000000"
        android:pathData="M11,17h2v-6h-2v6zM12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8 8,3.59 8,8 -3.59,8 -8,8zM11,9h2L13,7h-2v2z"/>
</vector>
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ public class FooterPreference extends Preference {
    }

    private void init() {
        setIcon(com.android.internal.R.drawable.ic_info_outline_24);
        setIcon(R.drawable.ic_info_outline_24);
        setKey(KEY_FOOTER);
        setOrder(ORDER_FOOTER);
        setSelectable(false);