Skip to content

Commit

Permalink
Fix margin
Browse files Browse the repository at this point in the history
  • Loading branch information
Chipppppppppp committed Feb 24, 2024
1 parent 3a1b2ac commit 2ca9521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/io/github/chipppppppppp/lime/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +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);
layoutParams.topMargin = Utils.dpToPx(60, activity);
switchView.setLayoutParams(layoutParams);

AlertDialog.Builder builder = new AlertDialog.Builder(activity)
Expand Down

0 comments on commit 2ca9521

Please sign in to comment.