내 안드로이드 응용 프로그램 아래쪽에 탐색 모음을 만들려고합니다. 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 나 ' –
을 또한 다음과 같이 여기에 언급 된 기본 라이브러리 중 하나를 이식하기 시작했습니다. https://github.com/bradmartin/nativescript-bottomnavigation - 끝낼 시간이 없었지만 누군가 내가 시작한 것을 시작으로 게시했습니다. 플러그인. 나는 이것이 repo다고 생각한다 : https://github.com/kobby-sun/nativescript-bottomnavigation 내가 잠시 보았 기 때문이다. –
저장소를 복제하고 실행하려고 시도했지만 오류가 발생했습니다. 오류 : XML에서 UI 작성. @file : ///app/main-page.xml : 7.4 > 모듈을 찾을 수 없습니다. nativescript-bottomnavigation : BottonNavigation – Mill3r