fix: use valid color picker scroll layout params

This commit is contained in:
7015725
2026-05-22 03:59:36 +08:00
parent 2a97a7a790
commit 854e80de80
3 changed files with 7 additions and 7 deletions

View File

@@ -4821,9 +4821,9 @@ FloatBallAppWM.prototype.showPopupOverlay = function(opts) {
var content = new android.widget.LinearLayout(context);
content.setOrientation(android.widget.LinearLayout.VERTICAL);
content.setPadding(0, self.dp(8), 0, 0);
scroll.addView(content, new android.widget.ScrollView.LayoutParams(
android.widget.ScrollView.LayoutParams.MATCH_PARENT,
android.widget.ScrollView.LayoutParams.WRAP_CONTENT
scroll.addView(content, new android.widget.FrameLayout.LayoutParams(
android.widget.FrameLayout.LayoutParams.MATCH_PARENT,
android.widget.FrameLayout.LayoutParams.WRAP_CONTENT
));
card.addView(scroll);