アンドロイドアプリケーションの下部にナビゲーションバーを作成しようとしています。私はアプリケーションを作成するためにNativeScriptを使用しています。これを行うためのプラグインはありますか?アンドロイドアプリケーションの下部ナビゲーションバー(NativeScript)
<page
xmlns="http://schemas.nativescript.org/tns.xsd"
xmlns:drawer="nativescript-telerik-ui/sidedrawer"
xmlns:widgets="shared/widgets"
xmlns:statusbar="nativescript-statusbar"
xmlns:bottomnav="nativescript-bottomnavigation"
loaded="pageLoaded">
<statusbar:StatusBar ios:barStyle="light" />
<page.actionBar>
<action-bar title="NativeScript">
<navigation-button icon="res://ic_menu" tap="toggleDrawer" ios:visibility="collapsed" />
<action-bar.actionItems>
<ios>
<action-item icon="res://ic_menu" ios.position="left" tap="toggleDrawer" />
</ios>
</action-bar.actionItems>
<ActionItem tap="onDelete" ios.systemIcon="16" ios.position="right" text="Delete" android.position="popup"/>
<ActionItem id="logoutButton" tap="logOut" ios.systemIcon="16" ios.position="right" text="LogOut" android.position="popup"/>
</action-bar></page.actionBar>
<drawer:rad-side-drawer id="drawer">
<drawer:rad-side-drawer.mainContent>
<!-- Home page contents -->
<StackLayout loaded="contentLoaded">
<image src="https://i.imgur.com/LY3cb3A.png" id="logo" tap="fun" height="100" margin="20 0 0 0" />
<label text="Welcome to the NativeScript drawer template! This is the home page. Try tapping the logo." margin="20" horizontalAlignment="center" textWrap="true" />
</StackLayout>
</drawer:rad-side-drawer.mainContent>
<drawer:rad-side-drawer.drawerContent>
<widgets:drawer-content />
</drawer:rad-side-drawer.drawerContent>
</drawer:rad-side-drawer>
ほとんどソリューション:私は「http://forum.nativescript.org/t/android-tabview-to-look-like-ios/215 –
をまた追加すると、私はここで以下に挙げるネイティブライブラリの1つを移植し始めました:https://github.com/bradmartin/nativescript-bottomnavigation - 私は終える時間がありませんでしたが、誰かが私がやったことの始まりを公開しましたプラグイン。私はこれがレポだと思う:https://github.com/kobby-sun/nativescript-bottomnavigation私はそれを見てからしばらくしていた。 –
リポジトリを複製して実行しようとしましたが、エラーが発生しています。 エラー:XMLからUIを構築しています。 @file:///app/main-page.xml:7.4 >モジュールが見つからない要素nativescript-bottomnavigation:BottonNavigation – Mill3r