|
|
|
@ -3,10 +3,30 @@
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
|
xmlns:shared="clr-namespace:LibVLCSharp.Forms.Shared;assembly=LibVLCSharp.Forms"
|
|
|
|
|
x:Class="Demo.OnvifPage">
|
|
|
|
|
<RelativeLayout>
|
|
|
|
|
<AbsoluteLayout>
|
|
|
|
|
<shared:VideoView x:Name="videoView" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" />
|
|
|
|
|
<ImageButton Clicked="Button_Clicked" Opacity="0.8" Source="close.png"
|
|
|
|
|
RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent, Property=X, Factor=0,Constant=0}"
|
|
|
|
|
RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent, Property=Y, Factor=0, Constant=0}" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<ImageButton Clicked="Button_Clicked" Opacity="0.8" Source="close.png" AbsoluteLayout.LayoutBounds="0,0,48,48" AbsoluteLayout.LayoutFlags="PositionProportional" x:Name="back" />
|
|
|
|
|
<ImageButton Clicked="Button_Clicked" Opacity="0.8" Source="close.png" AbsoluteLayout.LayoutBounds="1,0,48,48" AbsoluteLayout.LayoutFlags="PositionProportional" x:Name="muted" />
|
|
|
|
|
<Grid AbsoluteLayout.LayoutBounds=".5,1,210,270" AbsoluteLayout.LayoutFlags="PositionProportional" RowSpacing="10" ColumnSpacing="10">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="60" />
|
|
|
|
|
<RowDefinition Height="60" />
|
|
|
|
|
<RowDefinition Height="60" />
|
|
|
|
|
<RowDefinition Height="60" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="60" />
|
|
|
|
|
<ColumnDefinition Width="60" />
|
|
|
|
|
<ColumnDefinition Width="60" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<ImageButton Grid.Row="0" Grid.Column="1" x:Name="top" Source="close.png" />
|
|
|
|
|
<ImageButton Grid.Row="1" Grid.Column="0" x:Name="left" Source="close.png" />
|
|
|
|
|
<ImageButton Grid.Row="1" Grid.Column="1" x:Name="stop" Source="close.png" />
|
|
|
|
|
<ImageButton Grid.Row="1" Grid.Column="2" x:Name="right" Source="close.png" />
|
|
|
|
|
<ImageButton Grid.Row="2" Grid.Column="1" x:Name="bottom" Source="close.png" />
|
|
|
|
|
<ImageButton Grid.Row="3" Grid.Column="0" x:Name="zoomin" Source="close.png" />
|
|
|
|
|
<ImageButton Grid.Row="3" Grid.Column="1" x:Name="shot" Source="close.png" />
|
|
|
|
|
<ImageButton Grid.Row="3" Grid.Column="2" x:Name="zoomout" Source="close.png" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</AbsoluteLayout>
|
|
|
|
|
</ContentPage>
|