|
|
|
@ -15,130 +15,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
|
Padding="0, 0, 0, 128"
|
|
|
|
|
Padding="{StaticResource BottomBarSpace}"
|
|
|
|
|
BackgroundColor="{AppThemeBinding Light={StaticResource Background}, Dark={StaticResource BackgroundDark}}">
|
|
|
|
|
<Grid Margin="8">
|
|
|
|
|
<Grid Margin="{StaticResource SpaceXS}">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="300"/>
|
|
|
|
|
<RowDefinition Height="{StaticResource AlbumPageCoverHeight}"/>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<Border
|
|
|
|
|
Grid.Row="0"
|
|
|
|
|
Margin="32,0,32,0">
|
|
|
|
|
Margin="{StaticResource LeftRightSpaceLarge}">
|
|
|
|
|
<Border.StrokeShape>
|
|
|
|
|
<RoundRectangle CornerRadius="8,8,8,8" />
|
|
|
|
|
<RoundRectangle CornerRadius="{StaticResource SlightlyRoundedCorner}" />
|
|
|
|
|
</Border.StrokeShape>
|
|
|
|
|
<Image Source="{Binding CoverImage}"
|
|
|
|
|
Aspect="AspectFill"/>
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
<StackLayout Padding="8"
|
|
|
|
|
<StackLayout Padding="{StaticResource SpaceXS}"
|
|
|
|
|
Grid.Row="1">
|
|
|
|
|
|
|
|
|
|
<Label Text="{Binding Title}"
|
|
|
|
|
FontSize="24"
|
|
|
|
|
FontSize="{StaticResource SubtitleFontSize}"
|
|
|
|
|
TextColor="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource PrimaryDark}}"
|
|
|
|
|
HorizontalTextAlignment="Center"/>
|
|
|
|
|
|
|
|
|
|
<Label Text="{Binding Artist}"
|
|
|
|
|
FontSize="16"
|
|
|
|
|
FontSize="{StaticResource SubSubtitleFontSize}"
|
|
|
|
|
TextColor="{StaticResource Secondary}"
|
|
|
|
|
HorizontalTextAlignment="Center" />
|
|
|
|
|
|
|
|
|
|
</StackLayout>
|
|
|
|
|
|
|
|
|
|
<StackLayout Grid.Row="2">
|
|
|
|
|
<Label Text="{Binding Details, StringFormat='\{0\} · \{1\}'}"
|
|
|
|
|
FontSize="12"
|
|
|
|
|
FontSize="{StaticResource DetailsFontSize}"
|
|
|
|
|
TextColor="{StaticResource Gray}"
|
|
|
|
|
HorizontalTextAlignment="Center"/>
|
|
|
|
|
|
|
|
|
|
<Grid Margin="8">
|
|
|
|
|
<Grid Margin="{StaticResource SpaceXS}">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
<Button Text="{x:Static strings:Strings.PlayButton}"
|
|
|
|
|
Margin="16,16,8,16"
|
|
|
|
|
Margin="{StaticResource WideButtonLeft}"
|
|
|
|
|
Grid.Column="0"/>
|
|
|
|
|
|
|
|
|
|
<Button Text="{x:Static strings:Strings.ShuffleButton}"
|
|
|
|
|
Margin="8,16,16,16"
|
|
|
|
|
Margin="{StaticResource WideButtonRight}"
|
|
|
|
|
Grid.Column="1"/>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
</StackLayout>
|
|
|
|
|
|
|
|
|
|
<BoxView HeightRequest="1"
|
|
|
|
|
Color="{StaticResource Gray300}"
|
|
|
|
|
HorizontalOptions="FillAndExpand"
|
|
|
|
|
Margin="8"
|
|
|
|
|
<BoxView Style="{StaticResource HeadGraySeparator}"
|
|
|
|
|
Grid.Row="3" />
|
|
|
|
|
|
|
|
|
|
<CollectionView ItemsSource="{Binding Songs}"
|
|
|
|
|
Margin="0,0,0,24"
|
|
|
|
|
Grid.Row="4">
|
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
|
<DataTemplate x:DataType="vm:SongViewModel">
|
|
|
|
|
<StackLayout>
|
|
|
|
|
<Grid Margin="0,8,0,8">
|
|
|
|
|
<Grid Margin="{StaticResource TopBottomSpaceLittle}">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="32"/>
|
|
|
|
|
<ColumnDefinition Width="{StaticResource SpaceL}"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
<Label Text="{Binding Index}"
|
|
|
|
|
FontSize="16"
|
|
|
|
|
FontSize="{StaticResource SubSubtitleFontSize}"
|
|
|
|
|
TextColor="{StaticResource Gray}"
|
|
|
|
|
Margin="0,0,8,0"
|
|
|
|
|
Margin="{StaticResource RightSpaceLittle}"
|
|
|
|
|
HorizontalTextAlignment="Center"
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
Grid.Column="0"/>
|
|
|
|
|
|
|
|
|
|
<Label Text="{Binding Title}"
|
|
|
|
|
FontSize="16"
|
|
|
|
|
FontSize="{StaticResource SubSubtitleFontSize}"
|
|
|
|
|
TextColor="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource PrimaryDark}}"
|
|
|
|
|
LineBreakMode="TailTruncation"
|
|
|
|
|
Grid.Column="1"/>
|
|
|
|
|
|
|
|
|
|
<Label Text="{x:Static strings:Strings.HThreeDotsMenu}"
|
|
|
|
|
FontSize="16"
|
|
|
|
|
FontSize="{StaticResource SubSubtitleFontSize}"
|
|
|
|
|
TextColor="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource PrimaryDark}}"
|
|
|
|
|
FontAttributes="Bold"
|
|
|
|
|
HorizontalOptions="End"
|
|
|
|
|
Margin="0,0,8,0"
|
|
|
|
|
Margin="{StaticResource RightSpaceLittle}"
|
|
|
|
|
Grid.Column="2"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<BoxView HeightRequest="1"
|
|
|
|
|
Color="{StaticResource Gray300}"
|
|
|
|
|
HorizontalOptions="FillAndExpand"
|
|
|
|
|
Margin="32,0,8,0"/>
|
|
|
|
|
<BoxView Style="{StaticResource GraySeparator}"/>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
|
</CollectionView>
|
|
|
|
|
|
|
|
|
|
<StackLayout Margin="{StaticResource TopSpaceSome}"
|
|
|
|
|
Grid.Row="5">
|
|
|
|
|
<Label Text="{Binding ReleaseDate, StringFormat='{0:d MMMM yyyy}'}"
|
|
|
|
|
Style="{StaticResource FooterLabel}"
|
|
|
|
|
Grid.Row="5" />
|
|
|
|
|
Style="{StaticResource FooterLabel}" />
|
|
|
|
|
|
|
|
|
|
<Label Text="{Binding SongsInfo, Converter={StaticResource SongsInfo}}"
|
|
|
|
|
Style="{StaticResource FooterLabel}"
|
|
|
|
|
Grid.Row="6" />
|
|
|
|
|
Style="{StaticResource FooterLabel}" />
|
|
|
|
|
|
|
|
|
|
<Label Text="{Binding CopyrightInfo, StringFormat='℗ \{0\} \{1\}'}"
|
|
|
|
|
Style="{StaticResource FooterLabel}"
|
|
|
|
|
Grid.Row="7" />
|
|
|
|
|
Style="{StaticResource FooterLabel}" />
|
|
|
|
|
</StackLayout>
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</ScrollView>
|
|
|
|
|
</ContentPage>
|
|
|
|
|