33 lines
1.7 KiB
XML
33 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<ui:GalleryCollectionPage
|
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
xmlns:ui="clr-namespace:Gallery.Resources.UI"
|
|
x:Class="Gallery.Views.GalleryPage"
|
|
x:Name="yanderePage"
|
|
BackgroundColor="{DynamicResource WindowColor}"
|
|
BindingContext="{x:Reference yanderePage}"
|
|
Title="{Binding Source.Name}">
|
|
<ContentPage.Content>
|
|
<Grid>
|
|
<ScrollView x:Name="scrollView" Scrolled="ScrollView_Scrolled"
|
|
HorizontalOptions="Fill" HorizontalScrollBarVisibility="Never">
|
|
<StackLayout>
|
|
<ActivityIndicator x:Name="activityLoading" Margin="0, -40, 0, 0"
|
|
HeightRequest="40"
|
|
IsRunning="{Binding IsLoading}"
|
|
IsVisible="{Binding IsLoading}"/>
|
|
<ui:FlowLayout ItemsSource="{Binding Gallery}"
|
|
MaxHeightChanged="FlowLayout_MaxHeightChanged"
|
|
HorizontalOptions="Fill" Column="{Binding Columns}"
|
|
Margin="16" RowSpacing="16" ColumnSpacing="16"
|
|
ItemTemplate="{StaticResource cardView}"/>
|
|
<ActivityIndicator x:Name="activityBottomLoading" Margin="0, -10, 0, 16"
|
|
IsRunning="{Binding IsBottomLoading}"
|
|
IsVisible="{Binding IsBottomLoading}"/>
|
|
</StackLayout>
|
|
</ScrollView>
|
|
</Grid>
|
|
</ContentPage.Content>
|
|
</ui:GalleryCollectionPage>
|