mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-02 10:57:28 +08:00
fix(android): make button default text not all caps for improved consistency (#10854)
This commit is contained in:
@ -75,6 +75,8 @@ export class Button extends ButtonBase {
|
||||
public initNativeView(): void {
|
||||
super.initNativeView();
|
||||
const nativeView = this.nativeViewProtected;
|
||||
// make consistent with iOS, easier on users given css styling
|
||||
nativeView.setAllCaps(false);
|
||||
initializeClickListener();
|
||||
const clickListener = new ClickListener(this);
|
||||
nativeView.setOnClickListener(clickListener);
|
||||
|
||||
Reference in New Issue
Block a user