|
8 | 8 | Background="Transparent" |
9 | 9 | mc:Ignorable="d"> |
10 | 10 |
|
11 | | - <Grid Padding="24"> |
12 | | - <Grid MaxWidth="440" HorizontalAlignment="Center" VerticalAlignment="Center"> |
| 11 | + <Grid> |
| 12 | + <!-- Background Immersive Image --> |
| 13 | + <Image |
| 14 | + Source="{x:Bind ViewModel.AlbumArtImage, Mode=OneWay}" |
| 15 | + Stretch="UniformToFill" |
| 16 | + VerticalAlignment="Top" |
| 17 | + HorizontalAlignment="Stretch" |
| 18 | + Opacity="0.5" /> |
| 19 | + |
| 20 | + <!-- Fade out gradient overlay --> |
| 21 | + <Border VerticalAlignment="Stretch" HorizontalAlignment="Stretch"> |
| 22 | + <Border.Background> |
| 23 | + <LinearGradientBrush StartPoint="0,0" EndPoint="0,1"> |
| 24 | + <GradientStop Offset="0.0" Color="#00000000" /> |
| 25 | + <GradientStop Offset="0.5" Color="#00000000" /> |
| 26 | + <GradientStop Offset="1.0" Color="{ThemeResource SystemAltHighColor}" /> |
| 27 | + </LinearGradientBrush> |
| 28 | + </Border.Background> |
| 29 | + </Border> |
| 30 | + |
| 31 | + <!-- Placeholder Icon --> |
| 32 | + <FontIcon |
| 33 | + FontFamily="Segoe Fluent Icons" |
| 34 | + Glyph="" |
| 35 | + FontSize="120" |
| 36 | + Foreground="{ThemeResource TextFillColorTertiaryBrush}" |
| 37 | + VerticalAlignment="Top" |
| 38 | + Margin="0,100,0,0" |
| 39 | + Visibility="{x:Bind ViewModel.NoAlbumArtVisibility, Mode=OneWay}" /> |
| 40 | + |
| 41 | + <!-- Foreground Content --> |
| 42 | + <Grid Padding="24"> |
13 | 43 | <Grid.RowDefinitions> |
14 | | - <RowDefinition Height="Auto" /> |
15 | 44 | <RowDefinition Height="Auto" /> |
16 | 45 | <RowDefinition Height="*" /> |
17 | 46 | <RowDefinition Height="Auto" /> |
18 | 47 | </Grid.RowDefinitions> |
19 | 48 |
|
| 49 | + <!-- Device Selector --> |
20 | 50 | <ComboBox |
21 | 51 | Grid.Row="0" |
22 | 52 | x:Uid="SelectDevice" |
|
34 | 64 | </ComboBox.ItemTemplate> |
35 | 65 | </ComboBox> |
36 | 66 |
|
37 | | - <Grid Grid.Row="1" Height="24" /> |
38 | | - |
39 | | - <!-- Album Art Container (Responsive) --> |
40 | | - <Viewbox Grid.Row="2" Stretch="Uniform" StretchDirection="DownOnly" HorizontalAlignment="Center" VerticalAlignment="Center"> |
41 | | - <Border Width="320" Height="320" CornerRadius="16" BorderBrush="{ThemeResource SurfaceStrokeColorDefault}" BorderThickness="1" Background="{ThemeResource LayerFillColorDefaultBrush}"> |
42 | | - <Grid> |
43 | | - <FontIcon FontFamily="Segoe Fluent Icons" Glyph="" FontSize="64" Foreground="{ThemeResource TextFillColorTertiaryBrush}" /> |
44 | | - <Image Source="{x:Bind ViewModel.AlbumArtImage, Mode=OneWay}" Stretch="UniformToFill" /> |
45 | | - </Grid> |
46 | | - </Border> |
47 | | - </Viewbox> |
48 | | - |
49 | | - <StackPanel Grid.Row="3" Spacing="16" Margin="16,24,16,0"> |
| 67 | + <!-- Info & Controls --> |
| 68 | + <StackPanel Grid.Row="2" Spacing="16" MaxWidth="560" HorizontalAlignment="Stretch" VerticalAlignment="Bottom"> |
50 | 69 | <!-- Text --> |
51 | 70 | <StackPanel Spacing="4"> |
52 | 71 | <TextBlock Text="{x:Bind ViewModel.DisplayTitle, Mode=OneWay}" Style="{ThemeResource TitleTextBlockStyle}" FontWeight="Bold" TextTrimming="CharacterEllipsis" MaxLines="1" HorizontalAlignment="Left" /> |
|
0 commit comments