website.xml 1 KB
Newer Older
1
<Page xmlns:nsDrawer="nativescript-ui-sidedrawer" xmlns:shared="views/shared" loaded="{{ onWebsitePageLoaded }}">
laurent l's avatar
laurent l committed
2
  <Page.actionBar>
Laurent's avatar
Laurent committed
3
    <ActionBar title="{{ page_title }}" icon="">
Laurent's avatar
Laurent committed
4
      <NavigationButton  android.systemIcon="ic_menu_back" tap="{{ goBack }}"/>
5
      
laurent l's avatar
laurent l committed
6
      <ActionItem text="{{ L('menu') }}" tap="{{ toggleDrawerAction }}" ios.position="right">
7 8 9 10
        <ActionItem.actionView>
          <Label text='&#xf0c9;'/>
        </ActionItem.actionView>
      </ActionItem>
Laurent's avatar
Laurent committed
11
    </ActionBar>
laurent l's avatar
laurent l committed
12
  </Page.actionBar>
Laurent's avatar
Laurent committed
13

laurent l's avatar
laurent l committed
14 15 16 17
  <nsDrawer:RadSideDrawer id="sideDrawer" drawerLocation="Right" drawerTransition="PushTransition">
    <nsDrawer:RadSideDrawer.drawerContent xmlns:nsDrawer="nativescript-pro-ui/sidedrawer">
      <shared:sidedrawer />
    </nsDrawer:RadSideDrawer.drawerContent>
Laurent's avatar
Laurent committed
18 19

    <nsDrawer:RadSideDrawer.mainContent>
laurent l's avatar
laurent l committed
20
      <StackLayout>
21
	<WebView id="webView" height="100%"/>
Laurent's avatar
Laurent committed
22
        <ActivityIndicator busy="true"/>
laurent l's avatar
laurent l committed
23
      </StackLayout>
Laurent's avatar
Laurent committed
24 25 26 27
    </nsDrawer:RadSideDrawer.mainContent>
  </nsDrawer:RadSideDrawer>
</Page>