file360

Log | Files | Refs

SettingsPage.xaml (11759B)


      1 <Page
      2     x:Class="File360.SettingsPage"
      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     mc:Ignorable="d">
      9 
     10     <Grid>
     11         <Grid>
     12             <Grid.Background>
     13                 <SolidColorBrush Color="{ThemeResource PhoneBackgroundColor}" Opacity="0.92"/>
     14             </Grid.Background>
     15             <Grid.RenderTransform>
     16                 <CompositeTransform/>
     17             </Grid.RenderTransform>
     18             <Grid.RowDefinitions>
     19                 <RowDefinition Height="Auto"/>
     20                 <RowDefinition Height="*"/>
     21             </Grid.RowDefinitions>
     22             <Button HorizontalContentAlignment="Left" Style="{StaticResource DefaultButton}" Click="GoBack" Margin="0" VerticalAlignment="Stretch" d:LayoutOverrides="Height, LeftPosition, RightPosition, TopPosition, BottomPosition" BorderThickness="0" HorizontalAlignment="Stretch"  FontSize="26.667" FontWeight="Thin">
     23                 <StackPanel Orientation="Horizontal">
     24                     <TextBlock VerticalAlignment="Center" HorizontalAlignment="Left" TextAlignment="Left" FontSize="24" Text="g" FontFamily="Assets/Font/settingsfont.ttf#settingsfont" FontWeight="Thin" FontStretch="UltraCondensed"/>
     25                     <TextBlock HorizontalAlignment="Left" 
     26                    TextWrapping="Wrap" 
     27                    Text="settings" 
     28                    VerticalAlignment="Center"  
     29                     FontWeight="Normal" Margin="5,0,0,0" TextLineBounds="TrimToCapHeight"/>
     30                 </StackPanel>
     31             </Button>
     32             <ScrollViewer Grid.Row="1">
     33                 <ScrollViewer.Background>
     34                     <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0.3">
     35                         <GradientStop Color="Black" Offset="0"/>
     36                         <GradientStop Color="#00000000" Offset="0.02"/>
     37                     </LinearGradientBrush>
     38                 </ScrollViewer.Background>
     39                 <StackPanel Margin="10">
     40                     <TextBlock Text="general" HorizontalAlignment="Center" Style="{StaticResource ComboBoxPlaceholderTextBlockStyle}" />
     41                     <TextBlock Text="use built in viewer for" Style="{StaticResource ControlHeaderTextBlockStyle}"/>
     42                     <StackPanel Orientation="Horizontal">
     43                         <ToggleButton x:Name="musicToggle" Checked="musicToggle_Checked" Unchecked="musicToggle_Unchecked">
     44                             <StackPanel>
     45                                 <TextBlock  HorizontalAlignment="Center" Text="b" FontFamily="Assets/Font/iconfont.ttf#iconfont"/>
     46                                 <TextBlock Text="music"/>
     47                             </StackPanel>
     48                         </ToggleButton>
     49                         <ToggleButton x:Name="videosToggle" Checked="videosToggle_Checked" Unchecked="videosToggle_Unchecked">
     50                             <StackPanel>
     51                                 <TextBlock  HorizontalAlignment="Center" Text=")" FontFamily="Assets/Font/iconfont.ttf#iconfont"/>
     52                                 <TextBlock Text="videos"/>
     53                             </StackPanel>
     54                         </ToggleButton>
     55                         <ToggleButton Visibility="Collapsed" x:Name="ebookToggle" Checked="ebookToggle_Checked" Unchecked="ebookToggle_Unchecked">
     56                             <StackPanel>
     57                                 <TextBlock  HorizontalAlignment="Center" Text="m" FontFamily="Assets/Font/iconfont.ttf#iconfont"/>
     58                                 <TextBlock Text="ebook"/>
     59                             </StackPanel>
     60                         </ToggleButton>
     61                         <ToggleButton x:Name="picturesToggle" Checked="picturesToggle_Checked" Unchecked="picturesToggle_Unchecked">
     62                             <StackPanel>
     63                                 <TextBlock  HorizontalAlignment="Center" Text="M" FontFamily="Assets/Font/iconfont.ttf#iconfont"/>
     64                                 <TextBlock Text="pictures"/>
     65                             </StackPanel>
     66                         </ToggleButton>
     67                     </StackPanel>
     68                     <TextBlock Text="show thumbnail for" Style="{StaticResource ControlHeaderTextBlockStyle}"/>
     69                     <CheckBox Visibility="Collapsed" x:Name="musThumbnailToggle" Content="music" Checked="musThumbnailToggle_Checked" Unchecked="musThumbnailToggle_Unchecked" />
     70                     <CheckBox x:Name="vidThumbnailToggle" Content="videos" Checked="vidThumbnailToggle_Checked" Unchecked="vidThumbnailToggle_Unchecked" />
     71                     <CheckBox x:Name="picThumbnailToggle" Content="pictures" Checked="picThumbnailToggle_Checked" Unchecked="picThumbnailToggle_Unchecked" />
     72                     <TextBlock Text="personalization" HorizontalAlignment="Center" Style="{StaticResource ComboBoxPlaceholderTextBlockStyle}" />
     73                     <StackPanel>
     74                         <!--<local:ColorPicker ColorSet="2" x:Name="folderColor" OptionName="folder" Foreground="Black" />
     75                         <local:ColorPicker ColorSet="0" x:Name="accentColor" OptionName="app accent" />
     76                         <local:ColorPicker ColorSet="1" x:Name="themeColor" OptionName="app theme" />-->
     77                         <ToggleSwitch Header="use slideshow" Margin="0,5" Height="75"/>
     78                         <TextBlock Text="folder view type" Style="{StaticResource ComboBoxPlaceholderTextBlockStyle}"/>
     79                         <ComboBox x:Name="typeComboBox" SelectionChanged="FolderViewChanged">
     80                             <ComboBoxItem>
     81                                 <StackPanel>
     82                                     <TextBlock TextAlignment="Center" Text="c" FontFamily="Assets/Font/iconfont.ttf#iconfont" FontSize="29.333"/>
     83                                     <TextBlock TextAlignment="Center" Text="list"  FontSize="21.333"/>
     84                                 </StackPanel>
     85                             </ComboBoxItem>
     86                             <ComboBoxItem>
     87                                 <StackPanel>
     88                                     <TextBlock TextAlignment="Center" Text="N" FontFamily="Assets/Font/iconfont.ttf#iconfont" FontSize="24"/>
     89                                     <TextBlock TextAlignment="Center" Text="grid" />
     90                                 </StackPanel>
     91                             </ComboBoxItem>
     92                         </ComboBox>
     93                     </StackPanel>
     94                     <Grid>
     95                         <Button x:Name="button" HorizontalAlignment="Center" Style="{StaticResource DefaultButton}" RenderTransformOrigin="0.5,0.5" Click="OpenFTP">
     96                             <Button.RenderTransform>
     97                                 <CompositeTransform/>
     98                             </Button.RenderTransform>
     99                             <Border CornerRadius="50" VerticalAlignment="Center" Background="{ThemeResource PhoneAccentBrush}">
    100                                 <TextBlock Margin="20" Text="ftp" HorizontalAlignment="Center" Style="{StaticResource ComboBoxPlaceholderTextBlockStyle}" />
    101                             </Border>
    102                         </Button>
    103                         <Border x:Name="border" RenderTransformOrigin="0.5,0.5">
    104                             <Border.RenderTransform>
    105                                 <CompositeTransform ScaleX="0" ScaleY="0" TranslateY="-30"/>
    106                             </Border.RenderTransform>
    107                             <StackPanel Margin="0,20" Background="{ThemeResource PhoneAccentBrush}">
    108                                 <TextBlock Text="Address" Style="{StaticResource ComboBoxPlaceholderTextBlockStyle}" />
    109                                 <TextBlock Margin="0,5" Text="192.162.1.103:23" FontSize="13.333"/>
    110                             </StackPanel>
    111                         </Border>
    112                     </Grid>
    113                     <Grid HorizontalAlignment="Center">
    114                         <Grid.ColumnDefinitions>
    115                             <ColumnDefinition Width="Auto"/>
    116                             <ColumnDefinition Width="Auto"/>
    117                         </Grid.ColumnDefinitions>
    118                         <Button Margin="25,0" Style="{StaticResource DefaultButton}" HorizontalAlignment="Center" VerticalAlignment="Center" Click="OpenBluetoothSettings">
    119                             <StackPanel Margin="0,25" HorizontalAlignment="Center" VerticalAlignment="Center">
    120                                 <TextBlock Text="b" FontSize="26.667" FontFamily="Assets/Font/settingsfont.ttf#settingsfont" HorizontalAlignment="Center" TextAlignment="Center" VerticalAlignment="Top" Margin="5,0,10,5" Foreground="{ThemeResource PhoneAccentBrush}" Opacity="0.95" LineStackingStrategy="MaxHeight" FontWeight="Thin"/>
    121                                 <TextBlock Text="bluetooth" FontSize="23.333"  FontWeight="Thin" HorizontalAlignment="Center"/>
    122                                 <TextBlock Text="configure bluetooth settings" HorizontalAlignment="Center"  FontSize="13"/>
    123                             </StackPanel>
    124                         </Button>
    125                         <Button Margin="25,0" Style="{StaticResource DefaultButton}" Grid.Column="1"  HorizontalAlignment="Center" VerticalAlignment="Center" Click="HelpOpen">
    126                             <StackPanel Margin="0,25" HorizontalAlignment="Center" VerticalAlignment="Center">
    127                                 <TextBlock Text="h" FontSize="26.667" FontFamily="Assets/Font/settingsfont.ttf#settingsfont" HorizontalAlignment="Center" TextAlignment="Center" VerticalAlignment="Top" Margin="5,0,10,5" Foreground="{ThemeResource PhoneAccentBrush}" Opacity="0.95" LineStackingStrategy="MaxHeight" FontWeight="Thin"/>
    128                                 <TextBlock Text="help" FontSize="23.333"  FontWeight="Thin" HorizontalAlignment="Center"/>
    129                                 <TextBlock Text="check out this guide" HorizontalAlignment="Center" FontFamily="Helvetica Neue" FontSize="13" FontWeight="Normal"/>
    130                             </StackPanel>
    131                         </Button>
    132                     </Grid>
    133                     <StackPanel Margin="0,10">
    134                         <StackPanel.Background>
    135                             <SolidColorBrush Color="{ThemeResource PhoneForegroundColor}" Opacity="0.2"/>
    136                         </StackPanel.Background>
    137                         <TextBlock Text="security" HorizontalAlignment="Center" Style="{StaticResource ComboBoxPlaceholderTextBlockStyle}"  Margin="0,10,0,0"/>
    138                         <ToggleSwitch Header="password protection" Toggled="PasswordToggle"/>
    139                         <Grid Margin="30,10" Background="{StaticResource ContentDialogDimmingThemeBrush}">
    140                             <Grid.ColumnDefinitions>
    141                                 <ColumnDefinition Width="*"/>
    142                                 <ColumnDefinition Width="Auto"/>
    143                             </Grid.ColumnDefinitions>
    144                             <TextBlock VerticalAlignment="Center" MaxLines="1" Height="50" FontSize="20" TextWrapping="NoWrap" x:Name="securityBlock" Margin="10,0" HorizontalAlignment="Center"/>
    145                             <Button Grid.Column="1" Style="{StaticResource DefaultButton}" Content="clear" FontSize="12" Background="{StaticResource ContentDialogDimmingThemeBrush}"/>
    146                         </Grid>
    147                         <Grid Visibility="Collapsed" x:Name="wrapPanel" Height="260"/>
    148                     </StackPanel>
    149 
    150                 </StackPanel>
    151             </ScrollViewer>
    152         </Grid>
    153     </Grid>
    154 </Page>