More styling
This commit is contained in:
10
Aurora/Design/Components/MediaPlayer/Player.css
Normal file
10
Aurora/Design/Components/MediaPlayer/Player.css
Normal file
@ -0,0 +1,10 @@
|
||||
Label {
|
||||
color: darkgray;
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
#MediaInfoLayout label {
|
||||
margin-left: 20;
|
||||
}
|
@ -3,6 +3,10 @@
|
||||
xmlns="http://xamarin.com/schemas/2014/forms"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="Aurora.Design.Components.MediaPlayer.Player">
|
||||
<ContentView.Resources>
|
||||
<StyleSheet
|
||||
Source="Player.css"/>
|
||||
</ContentView.Resources>
|
||||
<ContentView.Content>
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
@ -10,16 +14,24 @@
|
||||
Width="100"/>
|
||||
<ColumnDefinition
|
||||
Width="*"/>
|
||||
<ColumnDefinition
|
||||
Width="100"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<StackLayout
|
||||
x:Name="MediaInfoLayout"
|
||||
HorizontalOptions="StartAndExpand"
|
||||
Grid.Column="0">
|
||||
<Label
|
||||
x:Name="SongTitleLabel"/>
|
||||
x:Name="SongTitleLabel"
|
||||
LineBreakMode="TailTruncation"/>
|
||||
<Label
|
||||
x:Name="ArtistNameLabel"/>
|
||||
x:Name="ArtistNameLabel"
|
||||
LineBreakMode="TailTruncation"/>
|
||||
</StackLayout>
|
||||
<StackLayout
|
||||
x:Name="PlayerControlLayout"
|
||||
Grid.Column="1"
|
||||
HorizontalOptions="Center"
|
||||
Orientation="Horizontal">
|
||||
<Button
|
||||
Text="Previous"
|
||||
|
Reference in New Issue
Block a user