diff --git a/app/src/main/java/io/github/chipppppppppp/lime/Main.java b/app/src/main/java/io/github/chipppppppppp/lime/Main.java index 5a4db412..f2a3d3cf 100644 --- a/app/src/main/java/io/github/chipppppppppp/lime/Main.java +++ b/app/src/main/java/io/github/chipppppppppp/lime/Main.java @@ -124,6 +124,7 @@ protected void afterHookedMethod(MethodHookParam param) throws Throwable { FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT); layoutParams.gravity = Gravity.TOP | Gravity.CENTER_HORIZONTAL; + layoutParams.topMargin = Utils.dpToPx(20, activity); switchView.setLayoutParams(layoutParams); AlertDialog.Builder builder = new AlertDialog.Builder(activity)