You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have default icon which colored by black, it useful when open app at daylight theme. But in dark theme, whole app background turn to dark grey, i want make the icon tint color to white. but not applied.
here my existing styles to override tint color on textview, might can be used as reference
values/styles.xml
<!-- Style for TextView drawables -->
<stylename="CustomTextView"parent="Widget.MaterialComponents.TextView">
<!-- Tint color for TextView drawables -->
<itemname="android:drawableTint"tools:targetApi="m">@color/black</item>
</style>
values-night/styles.xml
<!-- Style for TextView drawables -->
<stylename="CustomTextView"parent="Widget.MaterialComponents.TextView">
<!-- Tint color for TextView drawables -->
<itemname="android:drawableTint"tools:targetApi="m">@color/white</item>
</style>
and here how I applied the style.
values/themes.xml
<!-- Custom Style for TextView drawables -->
<itemname="android:textViewStyle">@style/CustomTextView</item>
how to apply styles for expandable-fab ?
The text was updated successfully, but these errors were encountered:
I have default icon which colored by
black
, it useful when open app at daylight theme. But in dark theme, whole app background turn todark grey
, i want make the icon tint color to white. but not applied.here my existing styles to override tint color on textview, might can be used as reference
values/styles.xml
values-night/styles.xml
and here how I applied the style.
values/themes.xml
how to apply styles for
expandable-fab
?The text was updated successfully, but these errors were encountered: