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

Commit 93d2294e authored by Fan Zhang's avatar Fan Zhang
Browse files

Experimental change to use colorful icons in Settings home

Bug: 34978809
Test: manual
Change-Id: Ia48404dd631d996dfcc25457baef9f60ab4408cb
parent 3cac8028
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -891,7 +891,7 @@

        <activity android:name="Settings$DisplaySettingsActivity"
                android:label="@string/display_settings"
                android:icon="@drawable/ic_settings_display"
                android:icon="@drawable/ic_dashboard_display"
                android:taskAffinity="">
            <intent-filter android:priority="1">
                <action android:name="com.android.settings.DISPLAY_SETTINGS" />
@@ -1271,7 +1271,7 @@

        <activity android:name="Settings$SecuritySettingsActivity"
                android:label="@string/security_settings_title"
                android:icon="@drawable/ic_settings_security"
                android:icon="@drawable/ic_dashboard_security"
                android:configChanges="orientation|keyboardHidden|screenSize"
                android:taskAffinity=""
                android:parentActivityName="Settings">
@@ -3013,7 +3013,7 @@
        <activity android:name=".Settings$NetworkDashboardActivity"
                  android:taskAffinity=""
                  android:label="@string/network_dashboard_title"
                  android:icon="@drawable/ic_settings_wireless">
                  android:icon="@drawable/ic_dashboard_network">
            <intent-filter android:priority="10">
                <action android:name="com.android.settings.action.SETTINGS"/>
            </intent-filter>
@@ -3052,7 +3052,7 @@

        <activity android:name=".Settings$AppAndNotificationDashboardActivity"
                  android:label="@string/app_and_notification_dashboard_title"
                  android:icon="@drawable/ic_apps">
                  android:icon="@drawable/ic_dashboard_apps">
            <intent-filter android:priority="9">
                <action android:name="com.android.settings.action.SETTINGS"/>
            </intent-filter>
@@ -3091,7 +3091,8 @@
        </activity-alias>

        <activity-alias android:name="SoundDashboardAlias"
                        android:targetActivity="Settings$SoundSettingsActivity">
                        android:targetActivity="Settings$SoundSettingsActivity"
                        android:icon="@drawable/ic_dashboard_sound">
            <intent-filter android:priority="6">
                <action android:name="com.android.settings.action.SETTINGS" />
            </intent-filter>
@@ -3107,7 +3108,7 @@

        <activity android:name=".Settings$StorageDashboardActivity"
                  android:label="@string/storage_settings"
                  android:icon="@drawable/ic_settings_storage">
                  android:icon="@drawable/ic_dashboard_storage">
            <intent-filter android:priority="5">
                <action android:name="com.android.settings.action.SETTINGS" />
            </intent-filter>
@@ -3134,7 +3135,7 @@

        <activity android:name=".Settings$UserAndAccountDashboardActivity"
                  android:label="@string/account_dashboard_title"
                  android:icon="@drawable/ic_settings_accounts">
                  android:icon="@drawable/ic_dashboard_user">
            <intent-filter android:priority="3">
                <action android:name="com.android.settings.action.SETTINGS"/>
            </intent-filter>
@@ -3165,7 +3166,7 @@

        <activity android:name=".Settings$SystemDashboardActivity"
                  android:label="@string/header_category_system"
                  android:icon="@drawable/ic_settings_about">
                  android:icon="@drawable/ic_dashboard_system">
            <intent-filter android:priority="1">
                <action android:name="com.android.settings.action.SETTINGS"/>
            </intent-filter>
+25 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (C) 2017 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">
    <path
        android:pathData="M4,8h4L8,4L4,4v4zM10,20h4v-4h-4v4zM4,20h4v-4L4,16v4zM4,14h4v-4L4,10v4zM10,14h4v-4h-4v4zM16,4v4h4L20,4h-4zM10,8h4L14,4h-4v4zM16,14h4v-4h-4v4zM16,20h4v-4h-4v4z"
        android:fillColor="#ec8122"/>
</vector>
+26 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright (C) 2017 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="24.0dp"
        android:height="24.0dp"
        android:viewportWidth="24.0"
        android:viewportHeight="24.0">
    <path
        android:fillColor="#4184f3"
        android:pathData="M20.0,15.31L23.31,12.0 20.0,8.69L20.0,4.0l-4.69,0.0L12.0,0.69 8.69,4.0L4.0,4.0l0.0,4.69L0.69,12.0 4.0,15.31L4.0,20.0l4.69,0.0L12.0,23.31 15.31,20.0L20.0,20.0l0.0,-4.69zM12.0,18.0L12.0,6.0c3.31,0.0 6.0,2.69 6.0,6.0s-2.69,6.0 -6.0,6.0z"/>
</vector>
 No newline at end of file
+26 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright (C) 2017 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="24.0dp"
        android:height="24.0dp"
        android:viewportWidth="18.0"
        android:viewportHeight="18.0">
    <path
        android:fillColor="#0b9c57"
        android:pathData="M9.01,15.99l8.8,-10.96C17.47,4.77 14.08,2.0 9.0,2.0S0.53,4.7 0.19,5.03l8.8,10.96l0.02,0.0z"/>
</vector>
+26 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright (C) 2017 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="24.0dp"
        android:height="24.0dp"
        android:viewportWidth="24.0"
        android:viewportHeight="24.0">
    <path
        android:fillColor="#7a1ea1"
        android:pathData="M18.0,8.0l-1.0,0.0L17.0,6.0c0.0,-2.76 -2.24,-5.0 -5.0,-5.0S7.0,3.24 7.0,6.0l0.0,2.0L6.0,8.0c-1.1,0.0 -2.0,0.9 -2.0,2.0l0.0,10.0c0.0,1.0 0.9,2.0 2.0,2.0l12.0,0.0c1.1,0.0 2.0,-0.9 2.0,-2.0L20.0,10.0c0.0,-1.1 -0.9,-2.0 -2.0,-2.0zm-6.0,9.0c-1.1,0.0 -2.0,-0.9 -2.0,-2.0s0.9,-2.0 2.0,-2.0 2.0,0.9 2.0,2.0 -0.9,2.0 -2.0,2.0zm3.1,-9.0L8.9,8.0L8.9,6.0c0.0,-1.71 1.39,-3.1 3.1,-3.1 1.71,0.0 3.1,1.39 3.1,3.1l0.0,2.0z"/>
</vector>
 No newline at end of file
Loading