Explorar el Código

Use colorSecondary for text field cursor (fixes #2853)

arkon hace 5 años
padre
commit
df625a998f
Se han modificado 1 ficheros con 5 adiciones y 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>