combine projects into one
This commit is contained in:
38
Gallery.Share/Views/OptionPage.xaml
Normal file
38
Gallery.Share/Views/OptionPage.xaml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<ui:AdaptedPage
|
||||
xmlns="http://xamarin.com/schemas/2014/forms"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:r="clr-namespace:Gallery.Resources"
|
||||
xmlns:ui="clr-namespace:Gallery.Resources.UI"
|
||||
x:Class="Gallery.Views.OptionPage"
|
||||
x:Name="optionPage"
|
||||
BindingContext="{x:Reference optionPage}"
|
||||
Title="{r:Text Option}">
|
||||
<ContentPage.Content>
|
||||
<TableView Intent="Settings" VerticalOptions="Start"
|
||||
BackgroundColor="{DynamicResource OptionBackColor}">
|
||||
<TableRoot>
|
||||
<TableSection Title="{r:Text About}">
|
||||
<ui:OptionTextCell Title="{r:Text Version}" Detail="{Binding Version}"/>
|
||||
</TableSection>
|
||||
<TableSection Title="{r:Text Gallery}">
|
||||
<ui:OptionEntryCell Title="{r:Text DownloadThreads}"
|
||||
Text="{Binding DownloadThreads, Mode=TwoWay}"
|
||||
Keyboard="Numeric" Placeholder="1~10"/>
|
||||
</TableSection>
|
||||
<TableSection Title="{r:Text Proxy}">
|
||||
<ui:OptionSwitchCell Title="{r:Text Enabled}"
|
||||
IsToggled="{Binding IsProxied, Mode=TwoWay}"/>
|
||||
</TableSection>
|
||||
<TableSection Title="{r:Text Detail}">
|
||||
<ui:OptionEntryCell Title="{r:Text ProxyHost}"
|
||||
Text="{Binding ProxyHost, Mode=TwoWay}"
|
||||
Keyboard="Url" Placeholder="www.example.com"/>
|
||||
<ui:OptionEntryCell Title="{r:Text ProxyPort}"
|
||||
Text="{Binding ProxyPort, Mode=TwoWay}"
|
||||
Keyboard="Numeric" Placeholder="8080"/>
|
||||
</TableSection>
|
||||
</TableRoot>
|
||||
</TableView>
|
||||
</ContentPage.Content>
|
||||
</ui:AdaptedPage>
|
Reference in New Issue
Block a user