mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-11-02 00:16:07 +00:00
Retour en arrière pour affichage correct sur Android et UWP
This commit is contained in:
parent
20b1366e92
commit
b871b3df77
1 changed files with 33 additions and 37 deletions
|
|
@ -9,22 +9,20 @@
|
||||||
</MasterDetailPage.Resources>
|
</MasterDetailPage.Resources>
|
||||||
<MasterDetailPage.Master>
|
<MasterDetailPage.Master>
|
||||||
<ContentPage Title=" ">
|
<ContentPage Title=" ">
|
||||||
<AbsoluteLayout>
|
<ListView ItemsSource="{Binding ItemSourceType, Converter={StaticResource ItemSourceTypeToFilterConverter}}" HasUnevenRows="True" RowHeight="-1" SeparatorVisibility="None" IsPullToRefreshEnabled="False">
|
||||||
<ListView ItemsSource="{Binding ItemSourceType, Converter={StaticResource ItemSourceTypeToFilterConverter}}" HasUnevenRows="True" RowHeight="-1" SeparatorVisibility="None" IsPullToRefreshEnabled="False">
|
<ListView.ItemTemplate>
|
||||||
<ListView.ItemTemplate>
|
<DataTemplate>
|
||||||
<DataTemplate>
|
<ViewCell>
|
||||||
<ViewCell>
|
<ViewCell.View>
|
||||||
<ViewCell.View>
|
<StackLayout Margin="10,5,10,0" Padding="0" Spacing="0">
|
||||||
<StackLayout Margin="10,5,10,0" Padding="0" Spacing="0">
|
<Label BindingContext="{Binding}" Text="{Binding Name}" Style="{StaticResource Key=subsubsection}" />
|
||||||
<Label BindingContext="{Binding}" Text="{Binding Name}" Style="{StaticResource Key=subsubsection}" />
|
<Picker HorizontalOptions="FillAndExpand" ItemsSource="{Binding KeyValues, Mode=OneWay}" ItemDisplayBinding="{Binding Value, Mode=OneWay}" SelectedIndex="{Binding Index}" />
|
||||||
<Picker HorizontalOptions="FillAndExpand" ItemsSource="{Binding KeyValues, Mode=OneWay}" ItemDisplayBinding="{Binding Value, Mode=OneWay}" SelectedIndex="{Binding Index}" />
|
</StackLayout>
|
||||||
</StackLayout>
|
</ViewCell.View>
|
||||||
</ViewCell.View>
|
</ViewCell>
|
||||||
</ViewCell>
|
</DataTemplate>
|
||||||
</DataTemplate>
|
</ListView.ItemTemplate>
|
||||||
</ListView.ItemTemplate>
|
</ListView>
|
||||||
</ListView>
|
|
||||||
</AbsoluteLayout>
|
|
||||||
</ContentPage>
|
</ContentPage>
|
||||||
</MasterDetailPage.Master>
|
</MasterDetailPage.Master>
|
||||||
<MasterDetailPage.Detail>
|
<MasterDetailPage.Detail>
|
||||||
|
|
@ -39,27 +37,25 @@
|
||||||
<ToolbarItem Name="VO" Text="VO AideDD/SRD" Order="Secondary" Command="{Binding SwitchToVO}" />
|
<ToolbarItem Name="VO" Text="VO AideDD/SRD" Order="Secondary" Command="{Binding SwitchToVO}" />
|
||||||
<ToolbarItem Name="HD" Text="VF H&D" Order="Secondary" Command="{Binding SwitchToHD}" />
|
<ToolbarItem Name="HD" Text="VF H&D" Order="Secondary" Command="{Binding SwitchToHD}" />
|
||||||
</ContentPage.ToolbarItems>
|
</ContentPage.ToolbarItems>
|
||||||
<AbsoluteLayout>
|
<StackLayout Orientation="Vertical" VerticalOptions="Fill" HorizontalOptions="Fill">
|
||||||
<StackLayout Orientation="Vertical">
|
<SearchBar x:Name="SearchBar" SearchCommand="{Binding SearchCommand}" SearchCommandParameter="{Binding Text, Source={x:Reference SearchBar}}">
|
||||||
<SearchBar x:Name="SearchBar" SearchCommand="{Binding SearchCommand}" SearchCommandParameter="{Binding Text, Source={x:Reference SearchBar}}">
|
<SearchBar.Behaviors>
|
||||||
<SearchBar.Behaviors>
|
<tools:TextChangedBehavior />
|
||||||
<tools:TextChangedBehavior />
|
</SearchBar.Behaviors>
|
||||||
</SearchBar.Behaviors>
|
</SearchBar>
|
||||||
</SearchBar>
|
<ListView x:Name="ItemsListView" ItemsSource="{Binding Items}" VerticalOptions="FillAndExpand" HasUnevenRows="true" IsRefreshing="{x:Binding IsLoading}" CachingStrategy="RecycleElement" SelectedItem="{Binding SelectedItem}" ItemTapped="ItemsListView_ItemTapped">
|
||||||
<ListView x:Name="ItemsListView" ItemsSource="{Binding Items}" VerticalOptions="FillAndExpand" HasUnevenRows="true" IsRefreshing="{Binding IsBusy, Mode=OneWay}" CachingStrategy="RecycleElement" SelectedItem="{Binding SelectedItem}" ItemTapped="ItemsListView_ItemTapped">
|
<ListView.ItemTemplate>
|
||||||
<ListView.ItemTemplate>
|
<DataTemplate>
|
||||||
<DataTemplate>
|
<ViewCell>
|
||||||
<ViewCell>
|
<StackLayout Padding="10">
|
||||||
<StackLayout Padding="10">
|
<Label Text="{Binding NamePHB}" LineBreakMode="NoWrap" Style="{DynamicResource subsubsection}" FontSize="16" />
|
||||||
<Label Text="{Binding NamePHB}" LineBreakMode="NoWrap" Style="{DynamicResource subsubsection}" FontSize="16" />
|
</StackLayout>
|
||||||
</StackLayout>
|
</ViewCell>
|
||||||
</ViewCell>
|
</DataTemplate>
|
||||||
</DataTemplate>
|
</ListView.ItemTemplate>
|
||||||
</ListView.ItemTemplate>
|
</ListView>
|
||||||
</ListView>
|
</StackLayout>
|
||||||
</StackLayout>
|
<!--<ActivityIndicator AbsoluteLayout.LayoutBounds="0.5,0.5" AbsoluteLayout.LayoutFlags="XProportional, YProportional" IsRunning="{x:Binding IsLoading}" Color="Olive" />-->
|
||||||
<ActivityIndicator AbsoluteLayout.LayoutBounds="0.5,0.5" AbsoluteLayout.LayoutFlags="XProportional, YProportional" IsRunning="{x:Binding IsLoading}" Color="Olive" />
|
|
||||||
</AbsoluteLayout>
|
|
||||||
</ContentPage>
|
</ContentPage>
|
||||||
</x:Arguments>
|
</x:Arguments>
|
||||||
</NavigationPage>
|
</NavigationPage>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue