<?xml version="1.0" encoding="utf-8"?>
<ContentDialog
    x:Class="was.droidtransfer.features.dialogs.RequestFullFilesPermissionsContentDialog"
    x:Uid="DialogRequestFullFilesPermissions"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:was.droidtransfer.features.dialogs"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    
    Title="XX Additional Permissions"
    PrimaryButtonText="XX Request Permissions"
    CloseButtonText="XX Dismiss"
    IsPrimaryButtonEnabled="True" 
    DefaultButton="Primary">

    <ContentDialog.TitleTemplate>
        <DataTemplate>
            <Grid ColumnSpacing="10">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>
                <StackPanel Orientation="Horizontal" Spacing="10">
                    <FontIcon Glyph="&#xE8D7;"  Foreground="{ThemeResource SystemColorWindowTextColor}" />
                    <TextBlock Text="{Binding}" />
                </StackPanel>
            </Grid>
        </DataTemplate>
    </ContentDialog.TitleTemplate>
    <StackPanel Spacing="10">
        <TextBlock x:Uid="TextBlockRequestFullFilesPermissionsLineOne" x:Name="textBlockStandard" Text="XX Due to permissions introduced in Android 12 and newer, Droid Transfer can only access media files unless you give the Transfer Companion app all files permission." Style="{ThemeResource BodyTextBlockStyle}" />
        <TextBlock x:Uid="TextBlockRequestFullFilesPermissionsLineOneAlt" x:Name="textBlockAlt" Text="XX Due to permissions introduced in Android 12 and newer, Droid Transfer can only delete media files it added. To delete other media files, you need to give the Transfer Companion app all files permission." Style="{ThemeResource BodyTextBlockStyle}" Visibility="Collapsed" />
        <TextBlock x:Uid="TextBlockRequestFullFilesPermissionsLineTwo" Text="XX To grant these permissions, click 'Request Permissions' below and allow the permission shown on your connected device. If you do not want to give permission, you can close this message." Style="{ThemeResource BodyStrongTextBlockStyle}" />
        <CheckBox Checked="_checkBoxDoNotShowAgain_Checked" Unchecked="_checkBoxDoNotShowAgain_Unchecked">
            <TextBlock x:Uid="TextBlockDoNotShowMessageAgain" Text="XX Do not show this message again." />
        </CheckBox>
    </StackPanel>
</ContentDialog>
