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

Commit 8485d6c1 authored by Salvador Martinez's avatar Salvador Martinez
Browse files

Create night version of resources for dark theme

Initial dark themes being made. Colors have not been
finalized so this currently just swaps all instances
of "light" to be the default version instead.

Test: visual inspection
Bug: 111397440

Change-Id: I869ec2a72051378b756510fc1ce1ab0ca13a57ce
parent 89c9a128
Loading
Loading
Loading
Loading
+54 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2018 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.
-->

<!--
===============================================================
                        PLEASE READ
===============================================================
This file contains the themes that are the Device Defaults.
If you want to edit themes to skin your device, do it here.
We recommend that you do not edit themes.xml and instead edit
this file.

Editing this file instead of themes.xml will greatly simplify
merges for future platform versions and CTS compliance will be
easier.
===============================================================
                        PLEASE READ
===============================================================
 -->
<resources>

    <!-- The dark default theme for apps that target API level XX and higher.
         <p>The DeviceDefault themes are aliases for a specific device’s native look and feel. The
         DeviceDefault theme family and widget style family offer ways for you to target your app
         to a device’s native theme with all device customizations intact.</p>
         <p>For example, when you set your app's {@code targetSdkVersion} to XX or higher, this
         theme is applied to your application by default. As such, your app might appear with the
         {@link #Theme_Material Material} styles on one device, but with a different set of styles on
         another device. This is great if you want your app to fit with the device's native look and
         feel. If, however, you prefer to keep your UI style the same across all devices, you should
         apply a specific theme such as {@link #Theme_Material Material} or one of your own design.
         For more information, read <a
         href="http://android-developers.blogspot.com/20XX/XX/material-everywhere.html">Material
         Everywhere</a>.</p>
         <p>Styles used by the DeviceDefault theme are named using the convention
         Type.DeviceDefault.Etc (for example, {@code Widget.DeviceDefault.Button} and
         {@code TextAppearance.DeviceDefault.Widget.PopupMenu.Large}).</p>
          -->
    <!-- DeviceDefault theme for a window that should look like the Settings app.  -->
    <style name="Theme.DeviceDefault.Settings" parent="Theme.DeviceDefault"/>
</resources>