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

Commit 3f3ff6bd authored by Chris Göllner's avatar Chris Göllner Committed by Android (Google) Code Review
Browse files

Merge "PSS: use material spec colors for permission dialog popup" into main

parents 32aa2cfe b5646592
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2024 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"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">

    <item android:state_enabled="false"
          android:color="?androidprv:attr/materialColorOnSurface"
          android:alpha="0.38" />

    <item android:color="?androidprv:attr/materialColorOnSurface"/>
</selector>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -17,5 +17,5 @@
        xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
        android:shape="rectangle">
    <corners android:radius="@dimen/screenrecord_spinner_background_radius"/>
    <solid android:color="?androidprv:attr/colorAccentSecondary" />
    <solid android:color="?androidprv:attr/materialColorSurfaceContainer" />
</shape>
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
        android:ellipsize="marquee"
        android:singleLine="true"
        android:textAppearance="?android:attr/textAppearanceMedium"
        android:textColor="?androidprv:attr/textColorOnAccent" />
        android:textColor="@color/menu_item_text" />

    <TextView
        android:id="@android:id/text2"
@@ -39,6 +39,6 @@
        android:ellipsize="marquee"
        android:singleLine="true"
        android:textAppearance="?android:attr/textAppearanceSmall"
        android:textColor="?androidprv:attr/colorError" />
        android:textColor="?androidprv:attr/materialColorError" />

</LinearLayout>
 No newline at end of file