Created
February 5, 2020 14:44
-
-
Save ricardoprestes/5d8d4e4cef7ccdd5e7bb9dc4fa47aa62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<material:MaterialCard | |
CornerRadius="20" | |
Elevation="2" | |
HorizontalOptions="FillAndExpand"> | |
<Grid> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto"/> | |
<RowDefinition Height="*" /> | |
</Grid.RowDefinitions> | |
<StackLayout Grid.Row="0"> | |
<Label | |
Grid.Row="0" | |
FontSize="Small" | |
HorizontalTextAlignment="Center" | |
Text="Saldo" /> | |
<Label | |
Grid.Row="1" | |
FontSize="Title" | |
FontAttributes="Bold" | |
TextColor="{StaticResource ColorRevenue}" | |
HorizontalTextAlignment="Center" | |
Text="{Binding Balance, StringFormat='{0:R$ ###,###,##0.00}'}" /> | |
</StackLayout> | |
<Grid | |
Grid.Row="1"> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="*" /> | |
<ColumnDefinition Width="*" /> | |
</Grid.ColumnDefinitions> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="40"/> | |
</Grid.RowDefinitions> | |
<StackLayout | |
Grid.Column="0" | |
Grid.Row="0" | |
Orientation="Horizontal"> | |
<Image | |
Source="arrow_down"/> | |
<StackLayout> | |
<Label | |
FontSize="Micro" | |
TextColor="Gray" | |
Text="Receitas"/> | |
<Label | |
FontSize="Large" | |
TextColor="{StaticResource ColorRevenue}" | |
Text="{Binding Revenues, StringFormat='{0:R$ ###,###,##0.00}'}" /> | |
</StackLayout> | |
</StackLayout> | |
<StackLayout | |
Grid.Column="1" | |
Grid.Row="0" | |
Orientation="Horizontal"> | |
<Image | |
Source="arrow_up"/> | |
<StackLayout> | |
<Label | |
FontSize="Micro" | |
TextColor="Gray" | |
Text="Despesas"/> | |
<Label | |
FontSize="Large" | |
TextColor="{StaticResource ColorExpense}" | |
Text="{Binding Expenses, StringFormat='{0:R$ ###,###,##0.00}'}" /> | |
</StackLayout> | |
</StackLayout> | |
</Grid> | |
</Grid> | |
</material:MaterialCard> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment