combine projects into one

This commit is contained in:
2021-08-11 14:09:03 +08:00
parent 24f39a2e27
commit 521d82829d
34 changed files with 431 additions and 192 deletions

View 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>