2019-05-24 10:27:19 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-05-24 15:59:26 -04:00
|
|
|
<ContentView
|
|
|
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
2019-12-03 15:51:16 -08:00
|
|
|
xmlns:imgBtn="clr-namespace:Aurora.Design.Components.ImageButton"
|
2019-07-05 14:17:09 -04:00
|
|
|
x:Class="Aurora.Design.Components.MediaPlayer.Player">
|
2019-12-01 20:20:55 -08:00
|
|
|
<ContentView.Resources>
|
|
|
|
<StyleSheet
|
|
|
|
Source="Player.css"/>
|
|
|
|
</ContentView.Resources>
|
2019-05-24 10:27:19 -04:00
|
|
|
<ContentView.Content>
|
2019-05-24 15:59:26 -04:00
|
|
|
<Grid>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition
|
2019-12-04 20:42:23 -08:00
|
|
|
Width="200"/>
|
2019-05-24 15:59:26 -04:00
|
|
|
<ColumnDefinition
|
|
|
|
Width="*"/>
|
2019-12-01 20:20:55 -08:00
|
|
|
<ColumnDefinition
|
|
|
|
Width="100"/>
|
2019-05-24 15:59:26 -04:00
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<StackLayout
|
2019-12-04 20:42:23 -08:00
|
|
|
Grid.Column="0"
|
2019-12-04 14:53:49 -08:00
|
|
|
Orientation="Horizontal">
|
|
|
|
<BoxView
|
|
|
|
x:Name="AlbumArtBoxView"/>
|
|
|
|
<StackLayout
|
|
|
|
x:Name="MediaInfoContainer"
|
2019-12-04 20:42:23 -08:00
|
|
|
HorizontalOptions="StartAndExpand">
|
2019-12-04 14:53:49 -08:00
|
|
|
<Label
|
|
|
|
x:Name="SongTitleLabel"
|
|
|
|
LineBreakMode="TailTruncation"/>
|
|
|
|
<Label
|
|
|
|
x:Name="ArtistNameLabel"
|
|
|
|
LineBreakMode="TailTruncation"/>
|
|
|
|
</StackLayout>
|
2019-05-24 15:59:26 -04:00
|
|
|
</StackLayout>
|
|
|
|
<StackLayout
|
2019-12-04 14:53:49 -08:00
|
|
|
x:Name="PlayerControlContainer"
|
2019-05-24 15:59:26 -04:00
|
|
|
Grid.Column="1"
|
2019-12-01 20:20:55 -08:00
|
|
|
HorizontalOptions="Center"
|
2019-05-24 15:59:26 -04:00
|
|
|
Orientation="Horizontal">
|
2019-12-07 13:47:45 -05:00
|
|
|
<imgBtn:ImageButton
|
|
|
|
x:Name="ShuffleButton"
|
|
|
|
StyleClass="LibraryButton"
|
|
|
|
Source="Resources/shuffle.png"/>
|
2019-12-03 15:51:16 -08:00
|
|
|
<imgBtn:ImageButton
|
2019-11-06 22:32:43 -05:00
|
|
|
x:Name="PreviousButton"
|
2019-12-07 13:47:45 -05:00
|
|
|
StyleClass="DirectionButton"
|
2019-12-03 15:51:16 -08:00
|
|
|
Source="Resources/backward.png"/>
|
|
|
|
<imgBtn:ImageButton
|
2019-12-07 13:47:45 -05:00
|
|
|
x:Name="PlayButton"
|
|
|
|
StyleClass="PlayButton"/>
|
2019-12-03 15:51:16 -08:00
|
|
|
<imgBtn:ImageButton
|
2019-11-06 22:32:43 -05:00
|
|
|
x:Name="NextButton"
|
2019-12-07 13:47:45 -05:00
|
|
|
StyleClass="DirectionButton"
|
2019-12-03 15:51:16 -08:00
|
|
|
Source="Resources/forwards.png"/>
|
2019-12-07 13:47:45 -05:00
|
|
|
<imgBtn:ImageButton
|
|
|
|
x:Name="LoopButton"
|
|
|
|
StyleClass="LibraryButton"
|
|
|
|
Source="Resources/loop.png"/>
|
2019-05-24 15:59:26 -04:00
|
|
|
</StackLayout>
|
|
|
|
</Grid>
|
2019-05-24 10:27:19 -04:00
|
|
|
</ContentView.Content>
|
|
|
|
</ContentView>
|