file360

Log | Files | Refs

GeneralSettings.xaml (3112B)


      1 <Page
      2     x:Class="File360.GeneralSettings"
      3     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      4     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      5     xmlns:local="using:File360"
      6     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      7     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      8     xmlns:toolkit="using:WinRTXamlToolkit.Controls"
      9     mc:Ignorable="d"
     10     FontFamily="Assets/Font/Custom/Raleway-Light.ttf#Raleway">
     11     <Page.Transitions>
     12         <TransitionCollection>
     13             <ContentThemeTransition HorizontalOffset="40"/>
     14         </TransitionCollection>
     15     </Page.Transitions>
     16 
     17 
     18     <Grid>
     19         <Grid.RowDefinitions>
     20             <RowDefinition Height="Auto"/>
     21             <RowDefinition Height="*"/>
     22         </Grid.RowDefinitions>
     23         <Button Style="{StaticResource DefaultButton}" Click="GoBack" HorizontalAlignment="Stretch" HorizontalContentAlignment="Left">
     24             <Button.Background>
     25                 <SolidColorBrush Color="{ThemeResource PhoneBackgroundColor}"/>
     26             </Button.Background>
     27             <StackPanel Orientation="Horizontal">
     28                 <TextBlock VerticalAlignment="Center" HorizontalAlignment="Left" TextAlignment="Left" FontSize="24" Text="g" FontFamily="Assets/Font/settingsfont.ttf#settingsfont" FontWeight="Thin" FontStretch="UltraCondensed"/>
     29                 <TextBlock HorizontalAlignment="Left" 
     30                    TextWrapping="Wrap" 
     31                    Text="general" 
     32                    VerticalAlignment="Center"  
     33                    FontFamily="Assets/Font/Custom/HelveticaNeue-Thin.otf#Helvetica Neue" FontWeight="Normal" Margin="5,0,0,0" TextLineBounds="TrimToCapHeight" FontSize="32"/>
     34             </StackPanel>
     35         </Button>
     36         <ScrollViewer Grid.Row="1" Background="{x:Null}">
     37             <StackPanel>
     38                 <StackPanel.Background>
     39                     <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0.3">
     40                         <GradientStop Color="Black" Offset="0"/>
     41                         <GradientStop Color="Transparent" Offset="0.02"/>
     42                     </LinearGradientBrush>
     43                 </StackPanel.Background>
     44                 <TextBlock Text="use built-in viewer for" FontFamily="Segoe WP Light" FontSize="17.333" Margin="15,10,0,0" TextLineBounds="TrimToBaseline">
     45                     <TextBlock.Foreground>
     46                         <SolidColorBrush Color="{ThemeResource PhoneForegroundColor}"/>
     47                     </TextBlock.Foreground>
     48                 </TextBlock>
     49                 <Grid Height="75">
     50                     <ToggleSwitch Grid.Column="1" Header="music" Margin="10,0,0,0" Foreground="White"/>
     51 
     52                 </Grid>
     53                 <Grid Height="75">
     54                     <ToggleSwitch  Header="videos" Margin="10,0,0,0" Foreground="White"/>
     55                 </Grid>
     56                 <Grid Height="75">
     57                     <ToggleSwitch Grid.Column="1" Header="ebooks" Margin="10,0,0,0" Foreground="White"/>
     58                 </Grid>
     59             </StackPanel>
     60         </ScrollViewer>
     61     </Grid>
     62 </Page>