aca479888a
In order to write an equivalent tutorial for Xamarin, I am first following the UWP tutorial. Fixed many little spelling mistakes and rephrased some sentences. Fixed a crash when video is requested but the device has no camera. Fixed a crash when opening an audio recording. (Linphone.Content.FilePath returns a path with mixed '/' and '\'. I don't know why and I'm not sure I understand why the file was auto-downloaded either)
20 lines
924 B
XML
20 lines
924 B
XML
<UserControl
|
|
x:Class="_06_GroupChat.Controls.ContentDisplay"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
<Grid>
|
|
<StackPanel x:Name="TextStack" Orientation="Vertical" Visibility="Collapsed" Margin="0,0,0,10">
|
|
<TextBlock Text="Text :" />
|
|
<TextBlock x:Name="TextMessage" Text="" FontWeight="Bold" TextWrapping="Wrap" />
|
|
</StackPanel>
|
|
|
|
<StackPanel x:Name="FileStack" Orientation="Vertical" Visibility="Collapsed" Margin="0,0,0,10">
|
|
<TextBlock Text="File : " />
|
|
<TextBlock x:Name="FileName" Text="" FontWeight="Bold" />
|
|
<TextBlock x:Name="FileSize" Text="" />
|
|
<Button x:Name="Download" Content="Download" Click="Download_Click" Visibility="Collapsed" />
|
|
<Button x:Name="OpenFolder" Content="Open folder" Click="OpenFolder_Click" Visibility="Collapsed" />
|
|
</StackPanel>
|
|
</Grid>
|
|
</UserControl> |