This commit is contained in:
Javier Suárez Ruiz 2017-06-11 19:41:08 +02:00
Родитель c95e7c6c44
Коммит 888221112c
6 изменённых файлов: 25 добавлений и 9 удалений

Двоичные данные
.vs/Spent.Android/v14/.suo

Двоичный файл не отображается.

Просмотреть файл

@ -44,6 +44,7 @@ Global
{B384E318-8BF6-491E-825F-63069D1D85EF}.Debug|x86.Deploy.0 = Debug|Any CPU
{B384E318-8BF6-491E-825F-63069D1D85EF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B384E318-8BF6-491E-825F-63069D1D85EF}.Release|Any CPU.Build.0 = Release|Any CPU
{B384E318-8BF6-491E-825F-63069D1D85EF}.Release|Any CPU.Deploy.0 = Release|Any CPU
{B384E318-8BF6-491E-825F-63069D1D85EF}.Release|ARM.ActiveCfg = Release|Any CPU
{B384E318-8BF6-491E-825F-63069D1D85EF}.Release|ARM.Build.0 = Release|Any CPU
{B384E318-8BF6-491E-825F-63069D1D85EF}.Release|ARM.Deploy.0 = Release|Any CPU

Просмотреть файл

@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Spent.ExpenseDetailPage"
Title="Expense Detail">
<ContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Spent.ExpenseDetailPage"
Title="Expense Detail">
<ContentPage.Content>
<StackLayout Padding="20">
<Label Text="Company" TextColor="{StaticResource MediumGrayTextColor}"/>
@ -13,6 +16,7 @@
<Label Text="{Binding Expense.Amount}" />
<Label Text="Receipt" TextColor="{StaticResource MediumGrayTextColor}"/>
<Image Source="{Binding Expense.Receipt}"/>
</StackLayout>
<Button Text="Crash" Clicked="OnCrashButtonClicked" />
</StackLayout>
</ContentPage.Content>
</ContentPage>

Просмотреть файл

@ -12,6 +12,11 @@ namespace Spent
Expense = expense;
BindingContext = this;
}
}
}
private void OnCrashButtonClicked(object sender, System.EventArgs e)
{
throw new System.Exception("Testing Analytics!");
}
}
}

Просмотреть файл

@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Spent.ExpensesPage"
Title="Expenses">
<ContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Spent.ExpensesPage"
Title="Expenses">
<ContentPage.ToolbarItems>
<ToolbarItem Text="Add" Command="{Binding AddExpenseCommand}" />
</ContentPage.ToolbarItems>

Просмотреть файл

@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Spent.NewExpensePage"
Title="New Expense">
<ContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Spent.NewExpensePage"
Title="New Expense">
<ContentPage.ToolbarItems>
<ToolbarItem Text="Save" Command="{Binding SaveExpenseCommand}" />
</ContentPage.ToolbarItems>