-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathRecipeListView.xaml
53 lines (50 loc) · 2.52 KB
/
RecipeListView.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:helpers="clr-namespace:RefreshingRecipes.Helpers"
x:Class="RefreshingRecipes.Views.RecipeListView"
BackgroundColor="{AppThemeBinding Light={StaticResource Secondary}, Dark={StaticResource Primary}}"
Title="RecipeListView">
<VerticalStackLayout Margin="10" Spacing="10">
<Frame Padding="0"
CornerRadius="18"
HasShadow="False"
BorderColor="{AppThemeBinding Light={StaticResource Blue500}, Dark={StaticResource Cyan100Accent}}"
IsClippedToBounds="True">
<Frame.Shadow>
<Shadow Brush="Black"
Offset="6,10"
Opacity="0.9" />
</Frame.Shadow>
<VerticalStackLayout>
<Image WidthRequest="600"
HeightRequest="400"
Source="smoothie.png"
Aspect="AspectFill"/>
<Frame Margin="20,-70,-35,-2"
CornerRadius="15"
WidthRequest="280"
BackgroundColor="{AppThemeBinding Light={StaticResource Gray600}, Dark={StaticResource Gray900}} "
HorizontalOptions="End"
VerticalOptions="End">
<Label Text="Raspberry smoothie"
FontSize="Large"
HorizontalOptions="Start"
FontAttributes="Bold"
TextColor="{AppThemeBinding Light={StaticResource Blue300Accent}, Dark={StaticResource Cyan100Accent}}" />
</Frame>
</VerticalStackLayout>
</Frame>
<Button FontFamily="MaterialDesignIcons"
Text="{x:Static helpers:IconFont.ShareVariant}"
FontSize="25"
WidthRequest="50"
HeightRequest="50"
CornerRadius="25"
BorderWidth="2"
BorderColor="{AppThemeBinding Light={StaticResource Blue500}, Dark={StaticResource Cyan100Accent}}"
TextColor="{AppThemeBinding Light={StaticResource Blue500}, Dark={StaticResource Cyan100Accent}}"
BackgroundColor="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}"
x:Name="ShareButton"/>
</VerticalStackLayout>
</ContentPage>