MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / layout

Method layout

packages/core/ui/core/view/index.android.ts:935–938  ·  view source on GitHub ↗
(left: number, top: number, right: number, bottom: number)

Source from the content-addressed store, hash-verified

933 }
934
935 public layout(left: number, top: number, right: number, bottom: number): void {
936 super.layout(left, top, right, bottom);
937 this.onLayout(left, top, right, bottom);
938 }
939
940 public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void {
941 const view = this.nativeViewProtected;

Callers 1

layoutNativeViewMethod · 0.45

Calls 1

onLayoutMethod · 0.95

Tested by

no test coverage detected