Xamarin.forms label in IOS gets right, however on android gets "bugged"

0

In ios it looks like this:

Andinandroid:

I'vebeentryingtosolvefortwodays,Ialreadyresearchedgoogle,Idideverythinginthecodebutnothing.Here'sapartofthecode:

<StackLayoutOrientation="Horizontal">


                       <Label Margin="10,0,0,0" LineBreakMode="WordWrap" WidthRequest="50" Text="{Binding dataDoVoucher,  StringFormat='{0:dd MMM yyyy}'}" FontAttributes="Bold" VerticalOptions="Center" VerticalTextAlignment="Center" HorizontalTextAlignment="Center"/>

                        <BoxView Margin="45,0,45,0"
                               HorizontalOptions="Start"
                               WidthRequest="3"
                               VerticalOptions="FillAndExpand"
                               Color="Black"/>


                        <Button BackgroundColor="Black" Margin="-60,0,15,0"
                            Text=""
                            TextColor="White"
                            FontSize="Small"
                            BorderRadius="15"
                            WidthRequest="15"
                            HeightRequest="15" 
                            VerticalOptions="Center" HorizontalOptions="Start"/>


                        <Frame Margin="-20,15,15,15" Padding="3,3,3,3" BackgroundColor="#82ba50" VerticalOptions="FillAndExpand" HorizontalOptions="Fill">
                            <StackLayout BackgroundColor="Transparent">
                                <Label Text="{Binding descricao}" FontAttributes="Bold" FontSize="Medium" TextColor="White"/>
                                <Label Text="{Binding endereco}" FontSize="Small" TextColor="White"/>
                                <Label Text="Check-in" FontSize="Small" TextColor="White" IsVisible="False"/>

                                <StackLayout HorizontalOptions="EndAndExpand" Orientation="Horizontal"  Padding="4,0,4,0">

                                    <Button Text="Dicas" FontSize="Small" TextColor="#f2ca30" BackgroundColor="Transparent" Clicked="dicas" CommandParameter="{Binding id}"/>
                                    <Button Text="Vouchers" FontSize="Small" TextColor="#f2ca30" BackgroundColor="Transparent" Clicked="vouchers" CommandParameter="{Binding id}"/>
                                    <Button Text="Leve-me" FontSize="Small" TextColor="#f2ca30" BackgroundColor="Transparent" Clicked="leveme" CommandParameter="{Binding id}"/>

                                </StackLayout>


                            </StackLayout>
                        </Frame>

                    </StackLayout>

Thanks in advance !!

    
asked by anonymous 12.11.2018 / 21:19

0 answers