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

Help in put two different Orientation in same xaml in two platform

$
0
0

Hello, i have a problem and hope you can help me
I want to put Android in StackLayout Orientation: Horizontal and iOS Orientation: Vertical .
How I do this?
Here is the example of what I have now:

<StackLayout Grid.Row="1" Orientation="Vertical" HorizontalOptions="Center" VerticalOptions="Center" x:Name="hashtagLayout" Padding="0,5,0,0">
    <local:CustomHashtagLabel x:Name="hashtagLabel1" TextColor="White" Font="SourceSansPro-Bold" FontSize="14" CustomFont="SourceSansPro-Bold.ttf" TextSize="14" HorizontalOptions="Center" VerticalOptions="Center" IsVisible="false" />
    <local:CustomHashtagLabel x:Name="hashtagLabel2" TextColor="White" Font="SourceSansPro-Bold" FontSize="14" CustomFont="SourceSansPro-Bold.ttf" TextSize="14" HorizontalOptions="Center" VerticalOptions="Center" IsVisible="false" />
    <local:CustomHashtagLabel x:Name="hashtagLabel3" TextColor="White" Font="SourceSansPro-Bold" FontSize="14" CustomFont="SourceSansPro-Bold.ttf" TextSize="14" HorizontalOptions="Center" VerticalOptions="Center" IsVisible="false" />
</StackLayout>

Viewing all articles
Browse latest Browse all 77050

Trending Articles



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