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

Commit 24a15be8 authored by Wenbo Jie's avatar Wenbo Jie
Browse files

[DocsUI M3] Fix "Use this folder" button disabled color

Remove the v31 style override for the button to use the default
disabled button color from Material.

Check the attached bug for the before/after comparison.

Bug: 406104107
Test: m DocumentsUIGoogle && manual inspection
Flag: com.android.documentsui.flags.use_material3
Change-Id: I0e7caf8ee332690f096a997cd473a881d4c39a7d
parent 22bdd224
Loading
Loading
Loading
Loading
+0 −13
Original line number Original line Diff line number Diff line
@@ -22,19 +22,6 @@
    <item name="android:textSize">12sp</item>
    <item name="android:textSize">12sp</item>
  </style>
  </style>


  <style name="MaterialButton" parent="@style/Widget.Material3.Button.UnelevatedButton">
    <item name="android:textAppearance">@style/MaterialButtonTextAppearance
    </item>
    <item name="android:backgroundTint">?android:colorAccent</item>
  </style>

  <style name="MaterialOutlinedButton" parent="@style/Widget.Material3.Button.OutlinedButton">
    <item name="android:textAppearance">@style/MaterialButtonTextAppearance
    </item>
    <item name="android:backgroundTint">@android:color/white</item>
    <item name="android:textColor">?android:colorAccent</item>
  </style>

  <style name="EmptyStateButton" parent="@style/Widget.Material3.Button.OutlinedButton">
  <style name="EmptyStateButton" parent="@style/Widget.Material3.Button.OutlinedButton">
    <item name="android:backgroundTint">@android:color/transparent</item>
    <item name="android:backgroundTint">@android:color/transparent</item>
    <item name="android:textColor">@*android:color/system_neutral1_900</item>
    <item name="android:textColor">@*android:color/system_neutral1_900</item>