File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
lib/java/com/google/android/material/shadow Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2323
2424 androidXVersions = [
2525 annotation : ' 1.2.0' ,
26- appCompat : ' 1.5.0 ' ,
26+ appCompat : ' 1.6.1 ' ,
2727 cardView : ' 1.0.0' ,
2828 constraintlayout : ' 2.0.1' ,
2929 coordinatorlayout : ' 1.1.0' ,
Original file line number Diff line number Diff line change 2929import android .graphics .RectF ;
3030import android .graphics .Shader ;
3131import android .graphics .drawable .Drawable ;
32- import androidx .appcompat .graphics .drawable .DrawableWrapper ;
32+ import androidx .appcompat .graphics .drawable .DrawableWrapperCompat ;
3333import androidx .annotation .NonNull ;
3434import androidx .core .content .ContextCompat ;
3535
4040 * @deprecated Use {@link com.google.android.material.shape.MaterialShapeDrawable} instead.
4141 */
4242@ Deprecated
43- public class ShadowDrawableWrapper extends DrawableWrapper {
43+ public class ShadowDrawableWrapper extends DrawableWrapperCompat {
4444 // used to calculate content padding
4545 static final double COS_45 = Math .cos (Math .toRadians (45 ));
4646
@@ -365,7 +365,7 @@ private void buildComponents(@NonNull Rect bounds) {
365365 bounds .right - rawMaxShadowSize ,
366366 bounds .bottom - verticalOffset );
367367
368- getWrappedDrawable ()
368+ getDrawable ()
369369 .setBounds (
370370 (int ) contentBounds .left ,
371371 (int ) contentBounds .top ,
You can’t perform that action at this time.
0 commit comments