mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00

- Use relative imports in place of most of our absolute ones. - Add "private" ambient modules for modules that we need to import using an absolute path (e.g. when app/.../test-something.ts needs to import ui/styling/style-scope)
11 lines
498 B
TypeScript
11 lines
498 B
TypeScript
import common = require("./text-view-common");
|
|
|
|
global.moduleMerge(common, exports);
|
|
|
|
export class TextView extends common.TextView {
|
|
public _configureEditText() {
|
|
this.android.setInputType(android.text.InputType.TYPE_CLASS_TEXT | android.text.InputType.TYPE_TEXT_VARIATION_NORMAL | android.text.InputType.TYPE_TEXT_FLAG_CAP_SENTENCES | android.text.InputType.TYPE_TEXT_FLAG_MULTI_LINE);
|
|
this.android.setGravity(android.view.Gravity.TOP | android.view.Gravity.LEFT);
|
|
}
|
|
}
|