<Page>
  <StackLayout>
    <SegmentedBar selectedIndex="1">
      <SegmentedBar.items>
        <SegmentedBarItem title="Item 1" />
        <SegmentedBarItem title="Item 2" />
        <SegmentedBarItem title="Item 3" />
      </SegmentedBar.items>
    </SegmentedBar>
    <Button text="go to previous page" tap="navigate"/>
  </StackLayout>
</Page>