@compass-framework/core 1.2.68 → 1.2.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,5 +16,20 @@ export declare namespace LinearLayout {
|
|
|
16
16
|
/**
|
|
17
17
|
* LinearLayout 的布局参数。
|
|
18
18
|
*/
|
|
19
|
-
export class LayoutParams extends ViewGroup.MarginLayoutParams {
|
|
19
|
+
export class LayoutParams extends ViewGroup.MarginLayoutParams {
|
|
20
|
+
public constructor(source: ViewGroup.LayoutParams);
|
|
21
|
+
public constructor(source: ViewGroup.MarginLayoutParams);
|
|
22
|
+
public constructor(source: LinearLayout.LayoutParams);
|
|
23
|
+
public constructor(width: number, height: number);
|
|
24
|
+
public constructor(width: number, height: number, weight: number);
|
|
25
|
+
public constructor(width: number, height: number, weight: number, gravity: number);
|
|
26
|
+
|
|
27
|
+
public getGravity(): number;
|
|
28
|
+
|
|
29
|
+
public getWeight(): number;
|
|
30
|
+
|
|
31
|
+
public setWeight(weight: number): void;
|
|
32
|
+
|
|
33
|
+
public setGravity(gravity: number): void;
|
|
34
|
+
}
|
|
20
35
|
}
|