Explorar o código

Use colorSecondary for text field cursor (fixes #2853)

arkon %!s(int64=5) %!d(string=hai) anos
pai
achega
df625a998f
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      app/src/main/res/values/styles.xml

+ 5 - 0
app/src/main/res/values/styles.xml

@@ -227,7 +227,12 @@
     <!--Widgets.TextInputLayout-->
     <!--=======================-->
 
+    <style name="ThemeOverlay.Widget.TextInputEditText.OutlinedBox" parent="ThemeOverlay.MaterialComponents.TextInputEditText.OutlinedBox">
+        <item name="colorControlActivated">?attr/colorSecondary</item>
+    </style>
+
     <style name="Theme.Widget.TextInputLayout.OutlinedBox" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox">
+        <item name="materialThemeOverlay">@style/ThemeOverlay.Widget.TextInputEditText.OutlinedBox</item>
         <item name="boxStrokeColor">@color/text_input_stroke</item>
         <item name="hintTextColor">?attr/colorSecondary</item>
     </style>