|
|
|
@ -4,13 +4,36 @@
|
|
|
|
|
x:Class="Linaris.EditPlaylistPage"
|
|
|
|
|
Title="EditPlaylistPage">
|
|
|
|
|
<VerticalStackLayout BackgroundColor="#404040">
|
|
|
|
|
<Frame Margin="10" CornerRadius="75" HeightRequest="150" WidthRequest="150" IsClippedToBounds="True" HorizontalOptions="Center" VerticalOptions="Center">
|
|
|
|
|
<Image Source="{Binding ImageURL}" Aspect="AspectFill" WidthRequest="150" HeightRequest="150" Margin="-20" IsAnimationPlaying="True">
|
|
|
|
|
<Image.GestureRecognizers>
|
|
|
|
|
<TapGestureRecognizer Tapped="ChangeImage"/>
|
|
|
|
|
</Image.GestureRecognizers>
|
|
|
|
|
</Image>
|
|
|
|
|
</Frame>
|
|
|
|
|
<Grid>
|
|
|
|
|
<Frame Margin="10" CornerRadius="75" HeightRequest="150" WidthRequest="150" IsClippedToBounds="True" HorizontalOptions="Center" VerticalOptions="Center">
|
|
|
|
|
<Image Source="{Binding ImageURL}" Aspect="AspectFit" WidthRequest="150" HeightRequest="150" Margin="-20" IsAnimationPlaying="True">
|
|
|
|
|
<Image.GestureRecognizers>
|
|
|
|
|
<TapGestureRecognizer Tapped="ChangeImage"/>
|
|
|
|
|
</Image.GestureRecognizers>
|
|
|
|
|
</Image>
|
|
|
|
|
</Frame>
|
|
|
|
|
<Frame Margin="10" CornerRadius="75" HeightRequest="150" WidthRequest="150" IsClippedToBounds="True" HorizontalOptions="Center" VerticalOptions="Center" BackgroundColor="#36363636">
|
|
|
|
|
<Image Source="change_image_overlay.png" Aspect="AspectFit" WidthRequest="150" HeightRequest="150" Margin="-20" IsAnimationPlaying="True">
|
|
|
|
|
<Image.GestureRecognizers>
|
|
|
|
|
<TapGestureRecognizer Tapped="ChangeImage"/>
|
|
|
|
|
</Image.GestureRecognizers>
|
|
|
|
|
</Image>
|
|
|
|
|
<VisualStateManager.VisualStateGroups>
|
|
|
|
|
<VisualStateGroup x:Name="CommonStates">
|
|
|
|
|
<VisualState x:Name="Normal">
|
|
|
|
|
<VisualState.Setters>
|
|
|
|
|
<Setter Property="Opacity" Value="0.6"/>
|
|
|
|
|
</VisualState.Setters>
|
|
|
|
|
</VisualState>
|
|
|
|
|
<VisualState x:Name="PointerOver">
|
|
|
|
|
<VisualState.Setters>
|
|
|
|
|
<Setter Property="Opacity" Value="1"/>
|
|
|
|
|
</VisualState.Setters>
|
|
|
|
|
</VisualState>
|
|
|
|
|
</VisualStateGroup>
|
|
|
|
|
</VisualStateManager.VisualStateGroups>
|
|
|
|
|
</Frame>
|
|
|
|
|
</Grid>
|
|
|
|
|
<Entry Text="{Binding Name}" WidthRequest="300" Placeholder="Nom de la playlist" TextColor="White" Margin="0,20,0,20" VerticalOptions="Center" HorizontalOptions="Center"/>
|
|
|
|
|
<Entry Text="{Binding Description}" WidthRequest="300" HeightRequest="150" Placeholder="Description de la playlist" VerticalTextAlignment="Start" TextColor="White" Margin="0,20,0,20" VerticalOptions="Center" HorizontalOptions="Center"/>
|
|
|
|
|
<HorizontalStackLayout HorizontalOptions="Center" Margin="10" Spacing="15">
|
|
|
|
|