<Page
    x:Class="FoxTube.Settings"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:settingspages="using:FoxTube.Pages.SettingsPages"
    mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Pivot SelectedIndex="0" Name="pivot" IsHeaderItemsCarouselEnabled="False" SelectionChanged="Pivot_SelectionChanged">
            <PivotItem Name="generalTab" Header="General" x:Uid="/Settings/general">
                <ScrollViewer>
                    <settingspages:General/>
                </ScrollViewer>
            </PivotItem>
            <PivotItem Name="aboutTab" Header="About us" x:Uid="/Settings/about">
                <ScrollViewer>
                    <settingspages:About/>
                </ScrollViewer>
            </PivotItem>
            <PivotItem Name="translateTab" Header="Help us translate this app" x:Uid="/Settings/helpTranslate">
                <ScrollViewer>
                    <settingspages:Translate/>
                </ScrollViewer>
            </PivotItem>
            <PivotItem Name="inboxTab" Header="Inbox" x:Uid="/Settings/inbox">
                <ScrollViewer>
                    <settingspages:Inbox x:Name="inbox"/>
                </ScrollViewer>
            </PivotItem>
        </Pivot>
    </Grid>
</Page>
