1<!-- 2 Copyright (C) 2022 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<resources> 17 18 <style name="Base.Theme.HealthConnect" parent="@style/Theme.SubSettingsBase"> 19 <!-- REGION ICONS --> 20 <item name="healthConnectIcon">@drawable/ic_health_connect</item> 21 22 <!-- Home page --> 23 <item name="appPermissionsIcon">@drawable/ic_app_permissions</item> 24 <item name="dataAndAccessIcon">@drawable/ic_data_and_access</item> 25 <item name="seeAllIcon">@drawable/ic_right_arrow</item> 26 <item name="recentAccessTimelineDividerDrawable">@drawable/ic_timeline_divider</item> 27 <item name="manageDataIcon">@drawable/ic_build</item> 28 29 <!-- App permissions page--> 30 <item name="removeAccessForAllAppsIcon">@drawable/ic_remove_access_for_all_apps</item> 31 <item name="helpAndFeedbackIcon">@drawable/ic_help_and_feedback</item> 32 <item name="checkForUpdatesIcon">@drawable/ic_check_for_updates</item> 33 <item name="seeAllCompatibleAppsIcon">@drawable/ic_see_all_compatible_apps</item> 34 <item name="sendFeedbackIcon">@drawable/ic_send_feedback</item> 35 <item name="searchIcon">@drawable/ic_find_in_page</item> 36 37 <!-- Categories page --> 38 <item name="autoDeleteIcon">@drawable/ic_auto_delete</item> 39 <item name="autoDeleteOffIcon">@drawable/ic_auto_delete_off</item> 40 <item name="deleteIcon">@drawable/ic_delete</item> 41 <item name="importDataIcon">@drawable/ic_import_data</item> 42 <item name="activityCategoryIcon">@drawable/ic_category_activity</item> 43 <item name="bodyMeasurementsCategoryIcon">@drawable/ic_category_body_measurements</item> 44 <item name="cycleTrackingCategoryIcon">@drawable/ic_category_cycle_tracking</item> 45 <item name="nutritionCategoryIcon">@drawable/ic_category_nutrition</item> 46 <item name="sleepCategoryIcon">@drawable/ic_category_sleep</item> 47 <item name="vitalsCategoryIcon">@drawable/ic_category_vitals</item> 48 49 <!-- Permission types page --> 50 <item name="appPriorityIcon">@drawable/ic_view_list</item> 51 52 <!-- Data access page --> 53 <item name="seeAllEntriesIcon">@drawable/ic_view_list</item> 54 <item name="deleteForeverIcon">@drawable/ic_delete_forever</item> 55 <item name="checkboxUncheckedIcon">@drawable/ic_checkbox_unchecked</item> 56 <item name="checkboxCheckedIcon">@drawable/ic_checkbox_checked</item> 57 58 <!-- Dialogs --> 59 <item name="deletionSettingsIcon">@drawable/ic_deletion_settings</item> 60 <item name="successIcon">@drawable/ic_success</item> 61 <item name="failureIcon">@drawable/ic_failure</item> 62 <item name="disconnectAllIcon">@drawable/ic_remove_access_for_all_apps</item> 63 <item name="disconnectIcon">@drawable/ic_disconnect</item> 64 <item name="deniedAppsBannerIcon">@drawable/ic_denied_apps_banner</item> 65 <item name="dialogPreferredPadding">@dimen/spacing_large</item> 66 <item name="priorityItemDragIcon">@drawable/ic_item_drag</item> 67 <item name="manageSettingsIcon">@drawable/ic_manage_settings</item> 68 <item name="syncIcon">@drawable/ic_sync</item> 69 <item name="checkIcon">@drawable/ic_check</item> 70 71 <!-- Request permissions --> 72 <item name="chooseDataIcon">@drawable/ic_choose_data</item> 73 <item name="accessHistoryIcon">@drawable/ic_access_history</item> 74 <item name="privacyPolicyIcon">@drawable/ic_privacy_policy</item> 75 76 <!-- Migration --> 77 <item name="moreSpaceNeededIcon">@drawable/ic_storage</item> 78 <item name="updateNeededIcon">@drawable/ic_system_security_update</item> 79 <item name="settingsAlertIcon">@drawable/ic_settings_alert</item> 80 81 <!-- Data sources & priority --> 82 <item name="addIcon">@drawable/ic_add</item> 83 <item name="editIcon">@drawable/ic_edit</item> 84 <item name="closeIcon">@drawable/ic_close</item> 85 86 <!-- Backup and restore --> 87 88 <item name="repeatIcon">@drawable/ic_repeat</item> 89 <item name="uploadIcon">@drawable/ic_upload</item> 90 <item name="importIcon">@drawable/ic_import</item> 91 <item name="importDataIcon">@drawable/ic_import_data</item> 92 93 <item name="warningIcon">@drawable/ic_warning</item> 94 <item name="passwordIcon">@drawable/ic_password</item> 95 <item name="infoIcon">@drawable/ic_info</item> 96 97 <!-- END REGION --> 98 99 <!-- REGION DIALOG GRAVITY --> 100 <!-- Gravity for dialogs --> 101 <item name="dialogGravity">@integer/dialog_gravity</item> 102 <item name="alertDialogTitleGravity">@integer/dialog_title_gravity</item> 103 <item name="alertDialogTitleTextAlignment">@integer/dialog_title_text_alignment</item> 104 <item name="alertDialogTitleIconVisibility">@integer/dialog_title_icon_visibility</item> 105 <!-- END REGION --> 106 107 <!-- REGION STYLES --> 108 <!-- Typography--> 109 <item name="textAppearanceSummary">@style/TextAppearance.PreferenceSummary.SettingsLib</item> 110 <item name="textAppearanceSummaryLarge">@style/TextAppearance.HealthConnect.SummaryLarge</item> 111 <item name="textAppearanceLabel">@style/TextAppearance.HealthConnect.Label</item> 112 <item name="textAppearanceLabelCompact">@style/TextAppearance.HealthConnect.Label.Compact</item> 113 <item name="textAppearanceHeadline6">@style/TextAppearance.HealthConnect.Headline6</item> 114 <item name="textAppearanceItem">@style/TextAppearance.PreferenceTitle.SettingsLib</item> 115 <item name="textAppearanceHeadline4">@style/TextAppearance.HealthConnect.Headline4</item> 116 <item name="textAppearanceHeadline3">@style/TextAppearance.HealthConnect.Headline3</item> 117 <item name="textAppearanceHeadline2">@style/TextAppearance.HealthConnect.Headline2</item> 118 <item name="textAppearanceLabelSmall">@style/TextAppearance.HealthConnect.Label.Small</item> 119 <item name="textAppearanceSubheader">@style/TextAppearance.HealthConnect.Subheader</item> 120 <item name="textAppearanceSubheader2">@style/TextAppearance.HealthConnect.Subheader2</item> 121 <item name="textAppearanceSubheader3">@style/TextAppearance.HealthConnect.Subheader3</item> 122 <item name="textAppearanceRouteRequest">@style/TextAppearance.HealthConnect.RouteRequest</item> 123 <item name="textAppearancePreferenceCategory">@style/TextAppearance.HealthConnect.CategoryTitle</item> 124 <item name="textAppearanceErrorMessage">@style/TextAppearance.HealthConnect.ErrorMessage</item> 125 126 <!-- Buttons --> 127 <item name="dialogButtonFull">@style/Widget.HealthConnect.DialogButton.Full</item> 128 <item name="dialogButtonOutline">@style/Widget.HealthConnect.DialogButton.Outline</item> 129 <item name="baseButton">@style/Widget.HealthConnect.Button</item> 130 <item name="buttonBorderLess">@style/Widget.HealthConnect.Button.Borderless</item> 131 <item name="permissionGrantButtonList">@style/PermissionGrantButtonListMaterial3</item> 132 <item name="permissionGrantButtonTop">@style/PermissionGrantButtonTop</item> 133 <item name="permissionGrantButtonBottom">@style/PermissionGrantButtonBottom</item> 134 135 <!-- EditText --> 136 <item name="editTextPasswordTheme">@style/Widget.HealthConnect.EditText.Password</item> 137 138 <!-- Dialogs --> 139 <item name="alertDialogTheme">@style/Theme.HealthConnect.Dialog.Alert</item> 140 <item name="dialogButtonBar">@style/Widget.HealthConnect.Dialog.ButtonBar</item> 141 142 <item name="android:checkboxStyle">@style/Widget.HealthConnect.CheckBox</item> 143 <item name="chipStyle">@style/Widget.HealthConnect.RadioButton.Chip</item> 144 <item name="spinnerStyle">@style/Widget.HealthConnect.CalendarSpinner</item> 145 <item name="tabStyle">@style/Widget.HealthConnect.TabLayout</item> 146 <!-- END REGION --> 147 148 <!-- REGION DIMENSIONS --> 149 <item name="android:listPreferredItemPaddingStart">@dimen/spacing_large</item> 150 <item name="android:listPreferredItemPaddingEnd">@dimen/spacing_large</item> 151 <item name="listItemPaddingTop">@dimen/spacing_small</item> 152 <item name="listItemPaddingBottom">@dimen/spacing_small</item> 153 <item name="largeListItemPaddingTop">@dimen/spacing_normal</item> 154 <item name="largeListItemPaddingBottom">@dimen/spacing_normal</item> 155 <item name="listItemMinHeight">@dimen/list_item_min_height</item> 156 <item name="recentAccessTimelineDividerHeight">@dimen/timeline_divider_height</item> 157 <!-- END REGION --> 158 159 <!-- Popup Menu --> 160 <item name="android:itemBackground">@color/settingslib_dialog_background</item> 161 <!-- END REGION --> 162 </style> 163 164 <style name="Theme.HealthConnect" parent="Base.Theme.HealthConnect" /> 165</resources> 166