Video page
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
Height="150">
|
Height="150">
|
||||||
|
|
||||||
<Button Padding="0" Background="WhiteSmoke" HorizontalAlignment="Stretch" HorizontalContentAlignment="Left" Margin="2" VerticalAlignment="Stretch" Click="Button_Click">
|
<Button Padding="0" Background="WhiteSmoke" HorizontalAlignment="Stretch" HorizontalContentAlignment="Left" Margin="2" VerticalAlignment="Stretch" Click="Button_Click">
|
||||||
<Grid Grid.Row="1">
|
<Grid>
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="125"/>
|
<ColumnDefinition Width="125"/>
|
||||||
<ColumnDefinition Width="*"/>
|
<ColumnDefinition Width="*"/>
|
||||||
|
|||||||
@@ -212,6 +212,13 @@ namespace FoxTube
|
|||||||
menu.DisplayMode = SplitViewDisplayMode.CompactInline;
|
menu.DisplayMode = SplitViewDisplayMode.CompactInline;
|
||||||
menu.IsPaneOpen = true;
|
menu.IsPaneOpen = true;
|
||||||
}
|
}
|
||||||
|
else if (topHamburger.SelectedIndex == 1)
|
||||||
|
{
|
||||||
|
content.Navigate(typeof(Video));
|
||||||
|
headerText.Text = "Video";
|
||||||
|
menu.DisplayMode = SplitViewDisplayMode.CompactOverlay;
|
||||||
|
menu.IsPaneOpen = false;
|
||||||
|
}
|
||||||
else if (bottomHaburger.SelectedIndex == 4)
|
else if (bottomHaburger.SelectedIndex == 4)
|
||||||
{
|
{
|
||||||
content.Navigate(typeof(Settings));
|
content.Navigate(typeof(Settings));
|
||||||
|
|||||||
+56
-6
@@ -12,12 +12,62 @@
|
|||||||
<ColumnDefinition Width="3*"/>
|
<ColumnDefinition Width="3*"/>
|
||||||
<ColumnDefinition Width="*"/>
|
<ColumnDefinition Width="*"/>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<Grid Grid.Column="0">
|
<StackPanel Orientation="Vertical">
|
||||||
<Grid.RowDefinitions>
|
<StackPanel Height="600" Background="Black"/>
|
||||||
<RowDefinition Height="2*"/>
|
<ScrollViewer>
|
||||||
<RowDefinition Height="*"/>
|
<StackPanel Margin="10">
|
||||||
</Grid.RowDefinitions>
|
<TextBlock Text="Video title this is very biiiiig title. It's amazingly big. OLOLOLOLOLO!!!!!!)))))). 1234567890. ABCD" FontSize="25" TextWrapping="WrapWholeWords" HorizontalTextAlignment="Start"/>
|
||||||
<StackPanel Background="Black"/>
|
<Grid>
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Button Padding="0" Background="Transparent" Margin="5">
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<PersonPicture Name="channelAvatar" Width="90"/>
|
||||||
|
<StackPanel Orientation="Vertical" Grid.Column="1" Padding="5" VerticalAlignment="Center">
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<TextBlock Name="channelName" Text="IGP" FontSize="18"/>
|
||||||
|
</StackPanel>
|
||||||
|
<TextBlock Name="subscribers" Text="120,452 subscribers" Foreground="Gray"/>
|
||||||
|
<StackPanel Orientation="Horizontal" Margin="0,5,0,0">
|
||||||
|
<ToggleButton Grid.Column="2" Height="30" Width="150" Background="Red" Foreground="White" FontSize="14" FontWeight="SemiBold" Content="Subscirbe"/>
|
||||||
|
<ToggleButton Grid.Column="3" Height="30" Width="30" Padding="0" FontFamily="Segoe MDL2 Assets" FontSize="14" FontWeight="SemiBold" Content="" Foreground="White" Background="Red"/>
|
||||||
|
</StackPanel>
|
||||||
|
</StackPanel>
|
||||||
|
</StackPanel>
|
||||||
|
</Button>
|
||||||
|
<StackPanel HorizontalAlignment="Right" Grid.Column="1">
|
||||||
|
<StackPanel Orientation="Horizontal">
|
||||||
|
<TextBlock Text="10,000,000" FontSize="24" Foreground="Gray"/>
|
||||||
|
<TextBlock Text=" views" FontSize="24" Foreground="Gray"/>
|
||||||
|
</StackPanel>
|
||||||
|
<Grid>
|
||||||
|
<Line Stroke="Green" StrokeThickness="5" X1="0" X2="250" Y1="0" Y2="0"/>
|
||||||
|
<Line Stroke="Red" StrokeThickness="5" X1="0" X2="100" Y1="0" Y2="0"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
<Grid>
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="45"/>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
<ColumnDefinition Width="45"/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Button Grid.Column="0" Background="Transparent" Padding="0" Content="" FontFamily="Segoe MDL2 Assets" Foreground="Gray" FontSize="40"/>
|
||||||
|
<Button Grid.Column="2" Background="Transparent" Padding="0" Content="" FontFamily="Segoe MDL2 Assets" Foreground="Gray" FontSize="40"/>
|
||||||
|
</Grid>
|
||||||
|
<Grid>
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<TextBlock Foreground="Gray" Text="10923"/>
|
||||||
|
<TextBlock HorizontalAlignment="Right" Grid.Column="1" Foreground="Gray" Text="10923"/>
|
||||||
|
</Grid>
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
<TextBlock TextWrapping="WrapWholeWords" Text="description"/>
|
||||||
|
</StackPanel>
|
||||||
|
</ScrollViewer>
|
||||||
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Page>
|
</Page>
|
||||||
|
|||||||
Reference in New Issue
Block a user