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