Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

ANdroid and windows phone dosent render controlls the same way

$
0
0

Hi

Im wonndering how i can get android to render controlls the same way as windows phone,

i want to have a picture in the background with controls on top of it, whit a transparent background so you can see the picture, that works fine on windows phone, but on android the controlls eighter dosent place on top of the image or the background isn't transparent look at this

windows phone

android

and here is the code
`
<Grid.RowDefinitions>


</Grid.RowDefinitions>




<StackLayout Grid.Row="0" HorizontalOptions="End" VerticalOptions="Start" Orientation="Horizontal" BackgroundColor="Transparent" >
  <!-- Functions -->
  <!-- Call sms calender email  -->
                    <Image Source="Calendar.png" x:Name="CalenderBtn"  HeightRequest="48" WidthRequest="48" Aspect="AspectFit">
                        <Image.GestureRecognizers>
                            <TapGestureRecognizer Tapped="CalendarButton_OnTapped"/>
                        </Image.GestureRecognizers>
                    </Image>

                    <Image Source="MessageInformation.png" x:Name="MessageBtn" HeightRequest="48" WidthRequest="48" Aspect="AspectFit">
                        <Image.GestureRecognizers>
                            <TapGestureRecognizer Tapped="SmsButton_OnTapped"/>
                        </Image.GestureRecognizers>
                    </Image>
                    <Image Source="Send.png"  x:Name="EmailBtn" HeightRequest="48" WidthRequest="48" Aspect="AspectFit" >
                        <Image.GestureRecognizers>
                            <TapGestureRecognizer Tapped="EmailButton_OnTapped"/>
                        </Image.GestureRecognizers>
                    </Image>
</StackLayout>



<Image.GestureRecognizers>

</Image.GestureRecognizers>





Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>