diff --git a/Android/Activity1.cs b/Android/Activity1.cs index 2391000..642662c 100644 --- a/Android/Activity1.cs +++ b/Android/Activity1.cs @@ -57,14 +57,12 @@ namespace Android { var adLayout = new LinearLayout(this) {Orientation = Orientation.Vertical}; adLayout.SetGravity(GravityFlags.Bottom); var ad = new AdView(this) { - AdSize = AdSize.SmartBanner, - #if DEBUG - AdUnitId = "ca-app-pub-3940256099942544/6300978111" - #else - AdUnitId = "ca-app-pub-5754829579653773/7841535920" - #endif + AdUnitId = "ca-app-pub-5754829579653773/7841535920", + AdSize = AdSize.SmartBanner }; - ad.LoadAd(new AdRequest.Builder().Build()); + ad.LoadAd(new AdRequest.Builder() + .AddTestDevice("14B965C6457E17D2808061ADF7E34923") + .Build()); adLayout.AddView(ad); // total layout that is displayed diff --git a/TouchyTickets/Ui.cs b/TouchyTickets/Ui.cs index 978f75e..0ef8f8c 100644 --- a/TouchyTickets/Ui.cs +++ b/TouchyTickets/Ui.cs @@ -76,7 +76,7 @@ namespace TouchyTickets { ticketGroup.AddChild(new Paragraph(Anchor.AutoCenter, 10000, p => PrettyPrintNumber(GameImpl.Instance.Tickets) + "", true) { TextScale = 0.3F }); - ticketGroup.AddChild(new Paragraph(Anchor.AutoCenter, 1, p => GameImpl.Instance.Map.TicketsPerSecond.ToString("0.##") + "/s", true) { + ticketGroup.AddChild(new Paragraph(Anchor.AutoCenter, 1, p => GameImpl.Instance.Map.TicketsPerSecond.ToString("0,#.##") + "/s", true) { PositionOffset = new Vector2(0, -8) }); BigInteger lastTickets = 0; @@ -461,7 +461,7 @@ namespace TouchyTickets { return string.Empty; var pos = map.SelectedPosition.Value; var attraction = map.GetAttractionAt(pos); - return attraction.GetGenerationRate(map, pos).ToString("0.##") + "/s"; + return attraction.GetGenerationRate(map, pos).ToString("0,#.##") + "/s"; }, true)); }