Use vector
This commit is contained in:
1 parent
b3d2310950
commit
1d40c9d873
27 files changed
+117
-48
No files matched your search
@@ -20,11 +20,10 @@ import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.Rect;
|
||||
import android.os.Build;
|
||||
import android.support.annotation.NonNull;
|
||||
import android.util.AttributeSet;
|
||||
import android.widget.FrameLayout;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class DrawerFrameLayout extends FrameLayout {
|
||||
|
||||
private static final int[] MAX_ATTRS = {android.R.attr.maxWidth};
|
||||
@@ -76,7 +75,7 @@ public class DrawerFrameLayout extends FrameLayout {
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@Override
|
||||
protected boolean fitSystemWindows(@NotNull Rect insets) {
|
||||
protected boolean fitSystemWindows(@NonNull Rect insets) {
|
||||
mFitPaddingLeft = insets.left;
|
||||
mFitPaddingTop = insets.top;
|
||||
mFitPaddingRight = insets.right;
|
||||
|
||||
Reference in new issue
Block a user