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

Commit a6fd8e8f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Create dark theme for permission grant dialog"

parents 024059cf 0e286d40
Loading
Loading
Loading
Loading
+35 −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.
  -->

<!-- themes for the permission grant dialog. -->
<resources>
    <style name="Theme.DeviceDefault.PermissionGrantApp"
           parent="@style/Theme.DeviceDefault.Panel">
        <item name="windowIsFloating">false</item>
        <item name="windowTranslucentStatus">true</item>
        <item name="backgroundDimEnabled">true</item>
        <item name="windowAnimationStyle">@style/Animation.Material.Dialog</item>
    </style>

    <style name="Theme.DeviceDefault.PermissionGrant"
           parent="@style/Theme.DeviceDefault.Dialog">
        <item name="titleTextStyle">@style/PermissionGrantTitleMessage</item>
        <item name="radioButtonStyle">@style/PermissionGrantRadioButton</item>
        <item name="checkboxStyle">@style/PermissionGrantCheckbox</item>
        <item name="buttonBarStyle">@style/PermissionGrantButtonBar</item>
    </style>
</resources>
+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@

<!-- themes for the permission grant dialog. -->
<resources>
    <style name="Theme.DeviceDefault.Light.Panel.PermissionGrantApp"
    <style name="Theme.DeviceDefault.PermissionGrantApp"
           parent="@style/Theme.DeviceDefault.Light.Panel">
        <item name="windowIsFloating">false</item>
        <item name="windowTranslucentStatus">true</item>
@@ -25,7 +25,7 @@
        <item name="windowAnimationStyle">@style/Animation.Material.Dialog</item>
    </style>

    <style name="Theme.DeviceDefault.Light.Dialog.PermissionGrant"
    <style name="Theme.DeviceDefault.PermissionGrant"
           parent="@style/Theme.DeviceDefault.Light.Dialog">
        <item name="titleTextStyle">@style/PermissionGrantTitleMessage</item>
        <item name="radioButtonStyle">@style/PermissionGrantRadioButton</item>