Align ToolApp back preview shell layout
This commit is contained in:
@@ -852,6 +852,9 @@ FloatBallAppWM.prototype.buildToolAppPreviewBody = function(entry) {
|
|||||||
} catch(eSpec) {
|
} catch(eSpec) {
|
||||||
spec = null;
|
spec = null;
|
||||||
}
|
}
|
||||||
|
var shellPad = spec ? spec.shellPadding : this.dp(6);
|
||||||
|
var shellTopPad = shellPad;
|
||||||
|
var outerRadius = spec ? spec.outerRadius : this.dp(26);
|
||||||
var topBarHeight = spec ? spec.topBarHeight : this.dp(56);
|
var topBarHeight = spec ? spec.topBarHeight : this.dp(56);
|
||||||
|
|
||||||
var isDark = this.isDarkTheme();
|
var isDark = this.isDarkTheme();
|
||||||
@@ -862,8 +865,8 @@ FloatBallAppWM.prototype.buildToolAppPreviewBody = function(entry) {
|
|||||||
|
|
||||||
var body = new android.widget.LinearLayout(context);
|
var body = new android.widget.LinearLayout(context);
|
||||||
body.setOrientation(android.widget.LinearLayout.VERTICAL);
|
body.setOrientation(android.widget.LinearLayout.VERTICAL);
|
||||||
body.setPadding(this.dp(6), this.dp(6), this.dp(6), this.dp(8));
|
body.setPadding(shellPad, shellTopPad, shellPad, shellPad);
|
||||||
body.setBackground(this.ui.createStrokeDrawable(T.bg, this.withAlpha(T.stroke, isDark ? 0.42 : 0.70), this.dp(1), this.dp(26)));
|
body.setBackground(this.ui.createStrokeDrawable(T.bg, this.withAlpha(T.stroke, isDark ? 0.30 : 0.46), this.dp(1), outerRadius));
|
||||||
try { body.setClipToOutline(true); } catch(eClip) {}
|
try { body.setClipToOutline(true); } catch(eClip) {}
|
||||||
try { body.setElevation(this.dp((spec && (spec.isExpandedWidth || spec.isWideWidth)) ? 7 : 10)); } catch (eElev) {}
|
try { body.setElevation(this.dp((spec && (spec.isExpandedWidth || spec.isWideWidth)) ? 7 : 10)); } catch (eElev) {}
|
||||||
|
|
||||||
|
|||||||
@@ -70,8 +70,8 @@
|
|||||||
"size": 20484
|
"size": 20484
|
||||||
},
|
},
|
||||||
"th_15_extra.js": {
|
"th_15_extra.js": {
|
||||||
"sha256": "a8956615053d1147001103b4ed69e3f18ccb09a760314a5f8f1c21a3b5b8e8c5",
|
"sha256": "2c4e560b793ee54f9338cc44bd41a056cbf8688560f9494920322c88d04be219",
|
||||||
"size": 128551
|
"size": 128697
|
||||||
},
|
},
|
||||||
"th_16_entry.js": {
|
"th_16_entry.js": {
|
||||||
"sha256": "652aa70214a9419923785e528a067d3828094fde48fc9c8c57cfda1e08206e25",
|
"sha256": "652aa70214a9419923785e528a067d3828094fde48fc9c8c57cfda1e08206e25",
|
||||||
@@ -80,5 +80,5 @@
|
|||||||
},
|
},
|
||||||
"keyId": "toolhub-targets-2026-rsa3072",
|
"keyId": "toolhub-targets-2026-rsa3072",
|
||||||
"schema": 2,
|
"schema": 2,
|
||||||
"version": 20260522212705
|
"version": 20260522213610
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
VCM+YNBx7CB7ZIChrltA70VVOKjn9gGgBOaeXEoN0VL88UoyPlGZ4W74cORCUBF2JpcIEr5WE8ueDl3IGUR1OGQDopoIuOI6wXy/doducwtjJrZoPB5p8JW4iasBerss97lKc+r/B7N5n1P33vRvpezXMwEBERG9Ey0gSUR/SWuozsW8fWk9oTWt0jgQQx+fJCmb2eSePm2XRlPWPLKT36XOJGWq/knlmhIOlW3/2VusDzN8rDfSxpEPLTFOZPav9PYh+6MBaJjV2+JLiROH60XW0AFnBMxmL2/c4BzzkC9+10sc3ZJUq3V8C30NZpXYiTfDN0i5yCEbd3OGrQb3soqZbqHWVhaWiFCH7nLYltWeTltHtb/obXcG4Wi3YPYjme7xGrPxO1dAid3U1/q4ajM4L04riij+2BHU4+uBCNstpIi8nx+3R8k7OYsDmp/tpFLDC9q1ib+UUQOcCAT7k9Pw71jdgJKKNcqyZb17zm0fCqbkiNvh6pz2hRX/533Y
|
ipKGsoLWacyAl7V4tyWIsocOwZpxQujuC2v/Rg4bMJ6FpSmLI7KdwL9RFIWw4qRHN9/37S+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