Skip to content

Commit

Permalink
Add margin
Browse files Browse the repository at this point in the history
  • Loading branch information
Chipppppppppp committed Feb 23, 2024
1 parent 5781c9f commit 06d84d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/io/github/chipppppppppp/lime/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 06d84d4

Please sign in to comment.