This repository has been archived on 2020-12-20. You can view files and clone it, but cannot push or open issues or pull requests.
aurora-sharp-desktop/Aurora/Design/Components/MediaPlayer/Player.xaml

56 lines
2.2 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<ContentView
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
2019-12-03 19:31:02 +00:00
xmlns:local="clr-namespace:Aurora.Design.Extensions"
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>
<ContentView.Content>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="100"/>
<ColumnDefinition
Width="*"/>
2019-12-02 04:20:55 +00:00
<ColumnDefinition
Width="100"/>
</Grid.ColumnDefinitions>
<StackLayout
2019-12-02 04:20:55 +00:00
x:Name="MediaInfoLayout"
HorizontalOptions="StartAndExpand"
Grid.Column="0">
<Label
2019-12-02 04:20:55 +00:00
x:Name="SongTitleLabel"
LineBreakMode="TailTruncation"/>
<Label
2019-12-02 04:20:55 +00:00
x:Name="ArtistNameLabel"
LineBreakMode="TailTruncation"/>
</StackLayout>
<StackLayout
2019-12-02 04:20:55 +00:00
x:Name="PlayerControlLayout"
Grid.Column="1"
2019-12-02 04:20:55 +00:00
HorizontalOptions="Center"
Orientation="Horizontal">
2019-12-03 19:31:02 +00:00
<Image Source="{local:ImageResource Aurora.gtk.Resources.forward.png}" />
<ImageButton
x:Name="PreviousButton"
2019-12-03 19:31:02 +00:00
Source="{local:ImageResource Aurora.gtk.Resources.backward.png}"
WidthRequest="100"
2019-12-03 19:31:02 +00:00
HeightRequest="50"></ImageButton>
<ImageButton
x:Name="PlayButton"
2019-12-03 19:31:02 +00:00
Source="{local:ImageResource Aurora.gtk.Resources.play.png}"
WidthRequest="100"
HeightRequest="50"/>
2019-12-03 19:31:02 +00:00
<ImageButton
x:Name="NextButton"
2019-12-03 19:31:02 +00:00
Source="{local:ImageResource Aurora.gtk.Resources.forward.png}"
WidthRequest="100"
HeightRequest="50"/>
</StackLayout>
</Grid>
</ContentView.Content>
</ContentView>