1 | import { AndroidActionItemSettings, AndroidActionBarSettings as AndroidActionBarSettingsDefinition } from '.';
|
2 | import { ActionItemBase, ActionBarBase } from './action-bar-common';
|
3 | import { View } from '../core/view';
|
4 | import type { Background } from '../styling/background';
|
5 | export * from './action-bar-common';
|
6 | export declare class ActionItem extends ActionItemBase {
|
7 | private _androidPosition;
|
8 | private _itemId;
|
9 | constructor();
|
10 | get android(): AndroidActionItemSettings;
|
11 | set android(value: AndroidActionItemSettings);
|
12 | _getItemId(): any;
|
13 | }
|
14 | export declare class AndroidActionBarSettings implements AndroidActionBarSettingsDefinition {
|
15 | private _actionBar;
|
16 | private _icon;
|
17 | private _iconVisibility;
|
18 | constructor(actionBar: ActionBar);
|
19 | get icon(): string;
|
20 | set icon(value: string);
|
21 | get iconVisibility(): 'auto' | 'never' | 'always';
|
22 | set iconVisibility(value: 'auto' | 'never' | 'always');
|
23 | }
|
24 | export declare class NavigationButton extends ActionItem {
|
25 | }
|
26 | export declare class ActionBar extends ActionBarBase {
|
27 | private _android;
|
28 | nativeViewProtected: androidx.appcompat.widget.Toolbar;
|
29 | constructor();
|
30 | get android(): AndroidActionBarSettings;
|
31 | _addChildFromBuilder(name: string, value: any): void;
|
32 | createNativeView(): androidx.appcompat.widget.Toolbar;
|
33 | initNativeView(): void;
|
34 | disposeNativeView(): void;
|
35 | onLoaded(): void;
|
36 | update(): void;
|
37 | _applyBackground(background: Background, isBorderDrawable: any, onlyColor: boolean, backgroundDrawable: any): void;
|
38 | _onAndroidItemSelected(itemId: number): boolean;
|
39 | _updateNavigationButton(): void;
|
40 | _updateIcon(): void;
|
41 | _updateTitleAndTitleView(): void;
|
42 | _addActionItems(): void;
|
43 | private static _setOnClickListener;
|
44 | _onTitlePropertyChanged(): void;
|
45 | _onIconPropertyChanged(): void;
|
46 | _addViewToNativeVisualTree(child: View, atIndex?: number): boolean;
|
47 | _removeViewFromNativeVisualTree(child: View): void;
|
48 | accessibilityScreenChanged(): void;
|
49 | }
|