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
The warning can be suppressed with tools:ignore="VisualLintButtonSize" but it would be better to fix the component to behave as specified in the source.
Material Library version:
1.11
The text was updated successfully, but these errors were encountered:
nicbell
changed the title
Max-width of buttons from component source code is not being respected
[Buttons] Max-width of buttons from component source code is not being respected
Mar 14, 2024
Description:
According to the source code Material buttons should be
320dp
maximum by default but this not actually working.This causes warnings in Android Studio.
https://github.com/material-components/material-components-android/blob/release-1.11/lib/java/com/google/android/material/button/res/values/dimens.xml#L20
https://github.com/material-components/material-components-android/blob/release-1.11/lib/java/com/google/android/material/button/res/values/styles.xml#L39
The warning can be suppressed with
tools:ignore="VisualLintButtonSize"
but it would be better to fix the component to behave as specified in the source.Material Library version:
1.11
The text was updated successfully, but these errors were encountered: