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

Commit d355ca45 authored by Bill Lin's avatar Bill Lin
Browse files

Refine previous Dark Theme inheritance

Some widget/component do not compatiable to framework material theme
(e.g @android:style/Theme.Material.Light)
We revise to inhirit from Theme.AppCompat.Light of support library

Test: atest DocumentsUITests
Bug: 79900975
Change-Id: Ic0a9adcc3708fd8f92899c06e5c2ee22a4b1d4d5
parent 14b943af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="?android:colorPrimary"
    android:background="?android:attr/colorPrimary"
    android:outlineProvider="bounds"
    android:elevation="4dp"
    android:orientation="vertical">
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
-->

<resources xmlns:android="http://schemas.android.com/apk/res/android">
    <style name="DocumentsTheme" parent="@android:style/ThemeOverlay.Material.Dark.ActionBar">
    <style name="DocumentsTheme" parent="@style/Theme.AppCompat">
        <item name="actionBarWidgetTheme">@null</item>
        <item name="actionBarTheme">@style/ActionBarTheme</item>
        <item name="actionBarPopupTheme">@style/ActionBarPopupTheme</item>
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
-->

<resources>
    <style name="DocumentsTheme" parent="@android:style/Theme.Material.Light">
    <style name="DocumentsTheme" parent="@style/Theme.AppCompat.Light">
        <item name="actionBarWidgetTheme">@null</item>
        <item name="actionBarTheme">@style/ActionBarTheme</item>
        <item name="actionBarPopupTheme">@style/ActionBarPopupTheme</item>