diff --git a/Lottery/AppShell.xaml b/Lottery/AppShell.xaml index 7c44897..a1c7318 100644 --- a/Lottery/AppShell.xaml +++ b/Lottery/AppShell.xaml @@ -8,7 +8,6 @@ Title="Lottery Number Generator"> diff --git a/Lottery/Lottery.cs b/Lottery/Lottery.cs index dd0edc8..15f7c0b 100644 --- a/Lottery/Lottery.cs +++ b/Lottery/Lottery.cs @@ -33,7 +33,7 @@ public override string Play() { - return string.Join("\t", [ + return string.Join("\n", [ $"Numbers: {string.Join(", ", Generator.Generate(Limits))}", $"{SpecialIdentifier}: {string.Join(", ", Generator.Generate(SpecialLimits))}", ]); diff --git a/Lottery/MainPage.xaml b/Lottery/MainPage.xaml index 0e4cfa1..ada5374 100644 --- a/Lottery/MainPage.xaml +++ b/Lottery/MainPage.xaml @@ -1,17 +1,127 @@  + x:Class="Lottery.MainPage" + BackgroundColor="{AppThemeBinding Light=#F5F5F5, Dark=#1E1E1E}"> - + Padding="20" + Spacing="30" + VerticalOptions="Center" + MaximumWidthRequest="500"> -