a better layout, + start of app state imple
This commit is contained in:
parent
7b3340cbc3
commit
90155fe8da
14 changed files with 94 additions and 62 deletions
|
|
@ -6,6 +6,13 @@
|
|||
xmlns:behaviors="clr-namespace:BookAStar.Behaviors;assembly=BookAStar"
|
||||
xmlns:converters="clr-namespace:BookAStar.Converters;assembly=BookAStar"
|
||||
x:Class="BookAStar.Views.RatingView">
|
||||
<ContentView.Resources>
|
||||
<ResourceDictionary>
|
||||
<Style TargetType="Label">
|
||||
<Setter Property="Style" Value="{StaticResource LabelStyle}" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
</ContentView.Resources>
|
||||
<ContentView.Content>
|
||||
<StackLayout>
|
||||
<StackLayout Orientation="Horizontal" HeightRequest="70">
|
||||
|
|
@ -74,9 +81,6 @@
|
|||
<StackLayout.Resources>
|
||||
<ResourceDictionary>
|
||||
<converters:RatingText x:Key="ratingText" />
|
||||
<Style TargetType="Label" BasedOn="{StaticResource LabelStyle}">
|
||||
<Setter Property="TextColor" Value="#4CAF50" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
</StackLayout.Resources>
|
||||
<Label Text="{Binding Source={x:Reference starFive}, Path=Rating, Converter={StaticResource ratingText}}" ></Label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue