You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
1.2 KiB

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="ex_ResponsivePage.MainPage">
<ScrollView>
<VerticalStackLayout>
<Label Text="In this app:"/>
<Label Text="- all pages presents the flyout in landscape mode only" Padding="40, 0, 0, 0"/>
<Label Text="- this main page modifies the layout when the orientation changes" Padding="40, 0, 0, 0"/>
<Label Text="- the OrientationBackgroundPage modifies the background color (but not the layout) when the orientation changes" Padding="40, 0, 0, 0"/>
<Label Text="- the ByIdiomPage modifies the layout depending on the idiom (phone or tablet)" Padding="40, 0, 0, 0"/>
<Label Text="- the OrientationAndIdiomPage modifies the layout depending on the idiom and orientation (3 modes: phone/portrait, phone/landscape, tablet/any-orientation)" Padding="40, 0, 0, 0"/>
<ContentView Style="{StaticResource MyOrientationTrigger}"/>
</VerticalStackLayout>
</ScrollView>
</ContentPage>