mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
feat(bottom-navigation-android): add tabstripitem css support (#7458)
* wip: add background color placeholders for tabstripitem * feat: add css for tabstripitem for bottom navigation android * chore: update example * fix: revert native default index * clean up tabcontentitem * update setTabBarItemTextTransform * textTransform inherited css property now * fix(android-bottom-navigation): fragment detach logic * chore: fix tests * fix(android-bottom-navigation): fragment lifecycle logic * fix: revert text-transform inherited css property
This commit is contained in:

committed by
Manol Donev

parent
6e1e0e843a
commit
fab9c90007
@ -410,7 +410,8 @@
|
||||
setTabTextFontSize(fontSize: number): void;
|
||||
getTabTextFontSize(): number;
|
||||
|
||||
onSelectedPositionChange(position: number): void ;
|
||||
onTap(position: number): void;
|
||||
onSelectedPositionChange(position: number, prevPosition: number): void ;
|
||||
setSelectedPosition(position: number): void;
|
||||
setItems(items: Array<TabItemSpec>): void;
|
||||
updateItemAt(position: number, itemSpec: TabItemSpec): void;
|
||||
@ -431,6 +432,7 @@
|
||||
title: string;
|
||||
iconId: number;
|
||||
iconDrawable: android.graphics.drawable.Drawable;
|
||||
backgroundColor: number;
|
||||
}
|
||||
|
||||
export namespace image {
|
||||
|
Reference in New Issue
Block a user