40 lines
1.9 KiB
XML
40 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<ui:BillingPage xmlns="http://xamarin.com/schemas/2014/forms"
|
|
xmlns:r="clr-namespace:Billing.Languages"
|
|
xmlns:ui="clr-namespace:Billing.UI"
|
|
xmlns:v="clr-namespace:Billing.Views"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
x:Class="Billing.Views.AddAccountPage"
|
|
x:Name="addAccountPage"
|
|
x:DataType="v:AddAccountPage"
|
|
Title="{r:Text AddAccount}"
|
|
BindingContext="{x:Reference addAccountPage}">
|
|
|
|
<ContentPage.ToolbarItems>
|
|
<ToolbarItem Order="Primary" IconImageSource="check.png" Command="{Binding CheckAccount}"/>
|
|
</ContentPage.ToolbarItems>
|
|
|
|
<ContentPage.Content>
|
|
<TableView Intent="Settings">
|
|
<TableSection>
|
|
<ui:OptionEntryCell Title="{r:Text AccountName}"
|
|
Text="{Binding AccountName, Mode=TwoWay}"
|
|
Keyboard="Text" Placeholder="{r:Text AccountNamePlaceholder}"/>
|
|
<ui:OptionTextCell Title="{r:Text Icon}"
|
|
Detail="{Binding AccountIcon}"/>
|
|
</TableSection>
|
|
<TableSection>
|
|
<ui:OptionEntryCell Title="{r:Text Balance}"
|
|
Text="{Binding Balance, Mode=TwoWay}"
|
|
Keyboard="Numeric" Placeholder="{r:Text BalancePlaceholder}"/>
|
|
<ui:OptionTextCell Title="{r:Text Currency}"
|
|
Detail="{r:Text CNY}"/>
|
|
</TableSection>
|
|
<TableSection>
|
|
<ui:OptionEntryCell Title="{r:Text Memo}"
|
|
Text="{Binding Memo, Mode=TwoWay}"
|
|
Keyboard="Plain" Placeholder="{r:Text MemoPlaceholder}"/>
|
|
</TableSection>
|
|
</TableView>
|
|
</ContentPage.Content>
|
|
</ui:BillingPage> |