56 lines
2.2 KiB
XML
56 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ContentView
|
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
xmlns:local="clr-namespace:Aurora.Design.Extensions"
|
|
x:Class="Aurora.Design.Components.MediaPlayer.Player">
|
|
<ContentView.Resources>
|
|
<StyleSheet
|
|
Source="Player.css"/>
|
|
</ContentView.Resources>
|
|
<ContentView.Content>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition
|
|
Width="100"/>
|
|
<ColumnDefinition
|
|
Width="*"/>
|
|
<ColumnDefinition
|
|
Width="100"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackLayout
|
|
x:Name="MediaInfoLayout"
|
|
HorizontalOptions="StartAndExpand"
|
|
Grid.Column="0">
|
|
<Label
|
|
x:Name="SongTitleLabel"
|
|
LineBreakMode="TailTruncation"/>
|
|
<Label
|
|
x:Name="ArtistNameLabel"
|
|
LineBreakMode="TailTruncation"/>
|
|
</StackLayout>
|
|
<StackLayout
|
|
x:Name="PlayerControlLayout"
|
|
Grid.Column="1"
|
|
HorizontalOptions="Center"
|
|
Orientation="Horizontal">
|
|
<Image Source="{local:ImageResource Aurora.gtk.Resources.forward.png}" />
|
|
<ImageButton
|
|
x:Name="PreviousButton"
|
|
Source="{local:ImageResource Aurora.gtk.Resources.backward.png}"
|
|
WidthRequest="100"
|
|
HeightRequest="50"></ImageButton>
|
|
<ImageButton
|
|
x:Name="PlayButton"
|
|
Source="{local:ImageResource Aurora.gtk.Resources.play.png}"
|
|
WidthRequest="100"
|
|
HeightRequest="50"/>
|
|
<ImageButton
|
|
x:Name="NextButton"
|
|
Source="{local:ImageResource Aurora.gtk.Resources.forward.png}"
|
|
WidthRequest="100"
|
|
HeightRequest="50"/>
|
|
</StackLayout>
|
|
</Grid>
|
|
</ContentView.Content>
|
|
</ContentView> |