mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 23:54:06 +03:00
40 lines
1.5 KiB
XML
40 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<pages:BaseContentPage
|
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
x:Class="Bit.App.Pages.FolderAddEditPage"
|
|
xmlns:pages="clr-namespace:Bit.App.Pages"
|
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
|
x:DataType="pages:FolderAddEditPageViewModel"
|
|
x:Name="_page"
|
|
Title="{Binding PageTitle}">
|
|
<ContentPage.BindingContext>
|
|
<pages:FolderAddEditPageViewModel />
|
|
</ContentPage.BindingContext>
|
|
|
|
<ContentPage.ToolbarItems>
|
|
<ToolbarItem Text="{u:I18n Save}" Clicked="Save_Clicked" Order="Primary" />
|
|
<ToolbarItem Text="{u:I18n Delete}"
|
|
Clicked="Delete_Clicked"
|
|
Order="Secondary"
|
|
IsDestructive="True"
|
|
x:Name="_deleteItem" />
|
|
</ContentPage.ToolbarItems>
|
|
|
|
<ScrollView x:Name="_scrollView">
|
|
<StackLayout Spacing="20">
|
|
<StackLayout StyleClass="box">
|
|
<StackLayout StyleClass="box-row, box-row-input">
|
|
<Label
|
|
Text="{u:I18n Name}"
|
|
StyleClass="box-label" />
|
|
<Entry
|
|
Text="{Binding Folder.Name}"
|
|
StyleClass="box-value"
|
|
x:Name="_nameEntry" />
|
|
</StackLayout>
|
|
</StackLayout>
|
|
</StackLayout>
|
|
</ScrollView>
|
|
|
|
</pages:BaseContentPage>
|