[英]How can i show a red dot or a number as badge in TabStripItem - nativescript (Angular + Android )
I am working to show a notification in the form of a red dot or a number on Bottom Navigation item for Nativescript - Angular - Android.我正在努力在 Nativescript - Angular - Android 的底部导航项上以红点或数字的形式显示通知。 so far i could only find solutions related to TabView.
到目前为止,我只能找到与 TabView 相关的解决方案。 ( https://discourse.nativescript.org/t/nativescript-android-add-badge-on-tabview-tabs/4768/14 )
( https://discourse.nativescript.org/t/nativescript-android-add-badge-on-tabview-tabs/4768/14 )
How can i add the mechanism?如何添加机制? is it possible to use the StackLayout within TabStripItem?
是否可以在 TabStripItem 中使用 StackLayout? it gives no output when i use.
当我使用它时,它没有给出 output。
<BottomNavigation>
<TabStrip>
<TabStripItem>
<Label text="Profile"></Label>
<Image src="font://" class="fas "></Image>
</TabStripItem>
</TabStrip>
</BottomNavigation>
<TabContentItem>
<page-router-outlet name="homeTab" actionBarVisibility="never"></page-router-outlet>
</TabContentItem>
Thanks谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.