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

Commit a7b89ae7 authored by Alan Viverette's avatar Alan Viverette
Browse files

Implement DayNight theme for DocumentsUI

Also fixes tint colors for icons to use themed colorControlNormal.

Bug: 20421157
Change-Id: I110a1d95f763332e7ca76cf8ab4125bd4d9a075e
parent 6150a184
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
<?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.
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item
        android:state_activated="true"
        android:color="?android:attr/colorControlHighlight" />
    <item
        android:state_enabled="false"
        android:color="?android:attr/colorBackground"
        android:alpha="0.5" />
    <item
        android:color="@android:color/transparent" />
</selector>
 No newline at end of file
+24 −0
Original line number Diff line number Diff line
<?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.
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item
        android:state_activated="true"
        android:color="?android:attr/colorAccent"
        android:alpha="0.1" />
    <item
        android:color="@android:color/transparent" />
</selector>
+1 −1
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
    android:src="@drawable/ic_doc_album_alpha"
    android:tint="@*android:color/secondary_text_material_light" />
    android:tint="?android:attr/colorControlNormal" />
+1 −1
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
    android:src="@drawable/ic_doc_apk_alpha"
    android:tint="@*android:color/secondary_text_material_light" />
    android:tint="?android:attr/colorControlNormal" />
+1 −1
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
    android:src="@drawable/ic_doc_audio_alpha"
    android:tint="@*android:color/secondary_text_material_light" />
    android:tint="?android:attr/colorControlNormal" />
Loading