parent
f36eb828fb
commit
f7aefd3eb4
@ -0,0 +1,75 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
|
xmlns:strings="clr-namespace:AMC.View.Resources.Strings"
|
||||||
|
xmlns:ctl="clr-namespace:AMC.View.Controls"
|
||||||
|
x:Class="AMC.View.Controls.BottomBar">
|
||||||
|
|
||||||
|
<StackLayout Orientation="Vertical"
|
||||||
|
BackgroundColor="{AppThemeBinding Light={StaticResource Gray100}, Dark={StaticResource Gray900}}">
|
||||||
|
|
||||||
|
<StackLayout Orientation="Horizontal"
|
||||||
|
HeightRequest="{StaticResource SpaceXL}">
|
||||||
|
|
||||||
|
<Frame Margin="{StaticResource HSpaceLittleVSpaceVeryLittle}"
|
||||||
|
BackgroundColor="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray750}}"
|
||||||
|
BorderColor="Transparent"
|
||||||
|
HorizontalOptions="Start"
|
||||||
|
VerticalOptions="Center">
|
||||||
|
<Image Source="icon_default_song.png"
|
||||||
|
Aspect="AspectFill"/>
|
||||||
|
</Frame>
|
||||||
|
|
||||||
|
<Label Text="{x:Static strings:Strings.DefaultPlayingSongLabel}"
|
||||||
|
HorizontalOptions="StartAndExpand"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
TextColor="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource PrimaryDark}}" />
|
||||||
|
|
||||||
|
<ImageButton Source="{AppThemeBinding Light='icon_play.png', Dark='icon_play_dark.png'}"
|
||||||
|
Margin="{StaticResource SpaceS}"
|
||||||
|
HorizontalOptions="End"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
HeightRequest="{StaticResource SpaceML}"
|
||||||
|
WidthRequest="{StaticResource SpaceML}" />
|
||||||
|
|
||||||
|
<ImageButton Source="{AppThemeBinding Light='icon_next.png', Dark='icon_next_dark.png'}"
|
||||||
|
Margin="{StaticResource SpaceS}"
|
||||||
|
HorizontalOptions="End"
|
||||||
|
VerticalOptions="Center"
|
||||||
|
HeightRequest="{StaticResource SpaceML}"
|
||||||
|
WidthRequest="{StaticResource SpaceML}" />
|
||||||
|
</StackLayout>
|
||||||
|
|
||||||
|
<BoxView Style="{StaticResource BottomBarGraySeparator}" />
|
||||||
|
|
||||||
|
|
||||||
|
<FlexLayout Direction="Row"
|
||||||
|
HeightRequest="{StaticResource SpaceXL}"
|
||||||
|
JustifyContent="SpaceAround"
|
||||||
|
AlignItems="Center">
|
||||||
|
|
||||||
|
<ctl:IconLabelButton ButtonSource="icon_bottom_play_gray.png"
|
||||||
|
ButtonLabelText="{x:Static strings:Strings.ListenNowTitle}"
|
||||||
|
LabelTextColor="{StaticResource Gray}"/>
|
||||||
|
|
||||||
|
<ctl:IconLabelButton ButtonSource="icon_bottom_browse_gray.png"
|
||||||
|
ButtonLabelText="{x:Static strings:Strings.BrowseTitle}"
|
||||||
|
LabelTextColor="{StaticResource Gray}"/>
|
||||||
|
|
||||||
|
<ctl:IconLabelButton ButtonSource="icon_bottom_radio_gray.png"
|
||||||
|
ButtonLabelText="{x:Static strings:Strings.RadioTitle}"
|
||||||
|
LabelTextColor="{StaticResource Gray}"/>
|
||||||
|
|
||||||
|
<ctl:IconLabelButton ButtonSource="icon_bottom_library_red.png"
|
||||||
|
ButtonLabelText="{x:Static strings:Strings.LibraryTitle}"
|
||||||
|
LabelTextColor="{StaticResource Secondary}"/>
|
||||||
|
|
||||||
|
<ctl:IconLabelButton ButtonSource="icon_bottom_search_gray.png"
|
||||||
|
ButtonLabelText="{x:Static strings:Strings.SearchTitle}"
|
||||||
|
LabelTextColor="{StaticResource Gray}"/>
|
||||||
|
|
||||||
|
</FlexLayout>
|
||||||
|
|
||||||
|
</StackLayout>
|
||||||
|
|
||||||
|
</ContentView>
|
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
|
x:Class="AMC.View.Controls.IconLabelButton">
|
||||||
|
|
||||||
|
<StackLayout Orientation="Vertical"
|
||||||
|
Margin="{StaticResource SpaceXS}">
|
||||||
|
|
||||||
|
<ImageButton x:Name="Button"
|
||||||
|
HeightRequest="{StaticResource SpaceML}"
|
||||||
|
WidthRequest="{StaticResource SpaceML}" />
|
||||||
|
|
||||||
|
<Label x:Name="ButtonLabel"
|
||||||
|
FontSize="{StaticResource TinyFontSize}"
|
||||||
|
Margin="{StaticResource SpaceXXS}"/>
|
||||||
|
</StackLayout>
|
||||||
|
|
||||||
|
</ContentView>
|
Loading…
Reference in new issue