We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dc0e6b commit 4dc3d93Copy full SHA for 4dc3d93
lib/java/com/google/android/material/internal/ForegroundLinearLayout.java
@@ -124,7 +124,6 @@ protected boolean verifyDrawable(Drawable who) {
124
return super.verifyDrawable(who) || (who == foreground);
125
}
126
127
- @RequiresApi(11)
128
@Override
129
public void jumpDrawablesToCurrentState() {
130
super.jumpDrawablesToCurrentState();
@@ -157,6 +156,7 @@ public void setForeground(@Nullable Drawable drawable) {
157
156
158
159
foreground = drawable;
+ foregroundBoundsChanged = true;
160
161
if (drawable != null) {
162
setWillNotDraw(false);
0 commit comments