1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright (C) 2024 The Android Open Source Project
4
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16-->
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:id="@+id/export_frequency_screen"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:orientation="vertical"
22    android:paddingHorizontal="@dimen/spacing_large">
23
24    <androidx.core.widget.NestedScrollView
25        android:layout_width="match_parent"
26        android:layout_height="0dp"
27        android:layout_weight="1">
28
29        <LinearLayout
30            android:layout_width="match_parent"
31            android:layout_height="wrap_content"
32            android:orientation="vertical">
33
34            <ImageView
35                android:id="@+id/export_frequency_header_repeat_icon"
36                android:layout_width="@dimen/app_header_icon_size"
37                android:layout_height="@dimen/app_header_icon_size"
38                android:layout_marginTop="@dimen/spacing_large"
39                android:layout_marginBottom="@dimen/spacing_normal"
40                android:importantForAccessibility="no"
41                android:src="?attr/repeatIcon"/>
42
43            <TextView
44                android:id="@+id/export_frequency_title"
45                android:layout_width="wrap_content"
46                android:layout_height="wrap_content"
47                android:layout_marginBottom="@dimen/spacing_normal"
48                android:text="@string/choose_frequency"
49                android:textAppearance="?attr/textAppearanceHeadline2" />
50
51            <TextView
52                android:id="@+id/export_frequency_description"
53                android:layout_width="match_parent"
54                android:layout_height="wrap_content"
55                android:layout_marginTop="@dimen/spacing_normal"
56                android:layout_marginBottom="@dimen/spacing_xlarge"
57                android:text="@string/choose_frequency_description"
58                android:textAppearance="?attr/textAppearanceSummaryLarge" />
59
60            <RadioGroup
61                android:id="@+id/radio_group_frequency"
62                android:layout_width="wrap_content"
63                android:layout_height="wrap_content">
64                <RadioButton
65                    android:id="@+id/radio_button_daily"
66                    android:text="@string/frequency_daily"
67                    android:layout_width="match_parent"
68                    android:layout_height="wrap_content"
69                    android:minHeight="?android:attr/listPreferredItemHeight"
70                    android:paddingStart="?android:attr/listPreferredItemPaddingStart"
71                    android:paddingEnd="0dp"
72                    android:textAppearance="?attr/textAppearanceItem" />
73                <RadioButton
74                    android:id="@+id/radio_button_weekly"
75                    android:text="@string/frequency_weekly"
76                    android:layout_width="match_parent"
77                    android:layout_height="wrap_content"
78                    android:minHeight="?android:attr/listPreferredItemHeight"
79                    android:paddingStart="?android:attr/listPreferredItemPaddingStart"
80                    android:paddingEnd="0dp"
81                    android:textAppearance="?attr/textAppearanceItem" />
82                <RadioButton
83                    android:id="@+id/radio_button_monthly"
84                    android:text="@string/frequency_monthly"
85                    android:layout_width="match_parent"
86                    android:layout_height="wrap_content"
87                    android:minHeight="?android:attr/listPreferredItemHeight"
88                    android:paddingStart="?android:attr/listPreferredItemPaddingStart"
89                    android:paddingEnd="0dp"
90                    android:textAppearance="?attr/textAppearanceItem"/>
91            </RadioGroup>
92        </LinearLayout>
93    </androidx.core.widget.NestedScrollView>
94
95    <include layout="@layout/widget_export_import_navigation_buttons" />
96</LinearLayout>
97