Redesign 1
This commit is contained in:
+23
-73
@@ -10,82 +10,32 @@
|
||||
mc:Ignorable="d">
|
||||
|
||||
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="47"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<ScrollViewer Grid.Row="1">
|
||||
<Pivot SelectedIndex="0" Name="pivot" Grid.Row="1" IsHeaderItemsCarouselEnabled="False" SelectionChanged="content_SelectionChanged">
|
||||
<PivotItem Margin="0,-48,0,0">
|
||||
<StackPanel Orientation="Vertical" Margin="10">
|
||||
<TextBlock Text="Preferences" FontSize="28"/>
|
||||
<TextBlock Text="Region & search" FontSize="22"/>
|
||||
<ComboBox Header="App interface language" MinWidth="250" Name="language" SelectionChanged="language_SelectionChanged">
|
||||
<ComboBoxItem Content="English"/>
|
||||
<ComboBoxItem Content="Russian"/>
|
||||
</ComboBox>
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" BorderBrush="OrangeRed" BorderThickness="3" Margin="0,10,0,0" Padding="2" Visibility="Collapsed" Name="restartNote">
|
||||
<TextBlock FontFamily="Segoe MDL2 Assets" FontWeight="Bold" Text="" FontSize="30" Foreground="OrangeRed"/>
|
||||
<TextBlock FontFamily="Default" FontWeight="Bold" Text="Reopen the app to apply settings" Foreground="OrangeRed" VerticalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
<ComboBox Header="Region (for targeted content)" MinWidth="250" Name="region" SelectionChanged="region_SelectionChanged"/>
|
||||
<ComboBox Header="SafeSearch" MinWidth="250" Name="safeSearch" SelectionChanged="safeSearch_SelectionChanged">
|
||||
<ComboBoxItem Content="Moderate"/>
|
||||
<ComboBoxItem Content="None"/>
|
||||
<ComboBoxItem Content="Strict"/>
|
||||
</ComboBox>
|
||||
<TextBlock Text="Playback" FontSize="22"/>
|
||||
<ComboBox Margin="0,0,0,10" Width="250" Header="Default video playback quality" Name="quality" SelectionChanged="quality_SelectionChanged">
|
||||
<!--<ComboBoxItem Content="Auto"/>-->
|
||||
<ComboBoxItem Content="2160p"/>
|
||||
<ComboBoxItem Content="1080p"/>
|
||||
<ComboBoxItem Content="720p"/>
|
||||
<ComboBoxItem Content="480p"/>
|
||||
<ComboBoxItem Content="360p"/>
|
||||
<ComboBoxItem Content="240p"/>
|
||||
<ComboBoxItem Content="144p"/>
|
||||
</ComboBox>
|
||||
<ToggleSwitch OnContent="Notify when playing on metered connection" OffContent="Notify when playing on metered connection" Name="mobileWarning" Toggled="notification_IsEnabledChanged"/>
|
||||
<ToggleSwitch OnContent="Play videos automatically" OffContent="Play videos automatically" Name="autoplay" Margin="0,0,0,10" Toggled="notification_IsEnabledChanged"/>
|
||||
|
||||
<TextBlock Text="Notifications" FontSize="22"/>
|
||||
<CheckBox Content="New video" Name="newVideo" Click="notification_IsEnabledChanged"/>
|
||||
<CheckBox Content="What's new posts" Visibility="Collapsed" Click="notification_IsEnabledChanged"/>
|
||||
<CheckBox Content="Developer's messages" Name="messages" Margin="0,0,0,10" Click="notification_IsEnabledChanged"/>
|
||||
</StackPanel>
|
||||
</PivotItem>
|
||||
<PivotItem Name="feedbackHub" Margin="0,-48,0,0">
|
||||
<Pivot SelectedIndex="0" Name="pivot" IsHeaderItemsCarouselEnabled="False">
|
||||
<PivotItem Header="General">
|
||||
<ScrollViewer>
|
||||
<settingspages:General/>
|
||||
</ScrollViewer>
|
||||
</PivotItem>
|
||||
<PivotItem Header="Leave a feedback">
|
||||
<ScrollViewer>
|
||||
<settingspages:Feedback/>
|
||||
</PivotItem>
|
||||
<PivotItem Margin="0,-48,0,0">
|
||||
</ScrollViewer>
|
||||
</PivotItem>
|
||||
<PivotItem Header="About us">
|
||||
<ScrollViewer>
|
||||
<settingspages:About/>
|
||||
</PivotItem>
|
||||
<PivotItem Margin="0,-48,0,0">
|
||||
</ScrollViewer>
|
||||
</PivotItem>
|
||||
<PivotItem Header="Help us translate this app">
|
||||
<ScrollViewer>
|
||||
<settingspages:Translate/>
|
||||
</PivotItem>
|
||||
<PivotItem Margin="0,-48,0,0">
|
||||
</ScrollViewer>
|
||||
</PivotItem>
|
||||
<PivotItem Header="Inbox">
|
||||
<ScrollViewer>
|
||||
<settingspages:Inbox/>
|
||||
</PivotItem>
|
||||
</Pivot>
|
||||
</ScrollViewer>
|
||||
<Grid Grid.Row="0" Background="Red">
|
||||
<StackPanel Orientation="Horizontal" Margin="10,0,10,0" Grid.Row="0" Background="Red">
|
||||
<HyperlinkButton Name="toGeneral" Click="toGeneral_Click" Foreground="White" Margin="0,0,10,0">
|
||||
<TextBlock Text="General"/>
|
||||
</HyperlinkButton>
|
||||
<HyperlinkButton Foreground="White" Margin="0,0,10,0" Name="toFeedback" Click="toFeedback_Click">
|
||||
<TextBlock Text="Leave feedback"/>
|
||||
</HyperlinkButton>
|
||||
<HyperlinkButton Foreground="White" Margin="0,0,10,0" Name="toAbout" Click="toAbout_Click">
|
||||
<TextBlock Text="About us"/>
|
||||
</HyperlinkButton>
|
||||
<HyperlinkButton Foreground="White" Margin="0,0,10,0" Name="toTranslate" Click="toTranslate_Click">
|
||||
<TextBlock Text="Help us translate this app"/>
|
||||
</HyperlinkButton>
|
||||
<HyperlinkButton Foreground="White" Margin="0,0,10,0" Name="toInbox" Click="toInbox_Click">
|
||||
<TextBlock Text="Inbox"/>
|
||||
</HyperlinkButton>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</ScrollViewer>
|
||||
</PivotItem>
|
||||
</Pivot>
|
||||
</Grid>
|
||||
</Page>
|
||||
|
||||
Reference in New Issue
Block a user