1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 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
17<!-- The collection of resources for theming the appearance of a device -->
18<!-- TODO: Resolving resource overlay for Q module updates. Remove when public.xml is
19    removed from DocumentsUIGoogle.
20    Add a new entry to DocumentsUIGoogle public.xml when adding new resource here.
21    Follow these steps to identify a new resource id for the resource.
22    1. Find last resource id for the particular type.
23       bool, string, etc.
24       Example: <public type="bool" name="pre_existing_bool" id="0x7f04001a" />
25       bool last resource id is 0x7f04001a
26       First  6 characters are an identifier for bool, so the id should be
27       0x7f04xxxx where xxxx is 001a+1 = 001b.
28    4. Add entry to public.xml
29       Example: <public type="bool" name="new_bool_config" id="0x7f04001b" />
30-->
31<resources xmlns:android="http://schemas.android.com/apk/res/android">
32
33    <overlayable name="DocumentsUICustomization">
34
35        <!-- START VENDOR CUSTOMIZATION -->
36        <policy type="product|system|vendor">
37            <!-- START THEME / STYLE -->
38            <item type="style" name="DocumentsTheme"/>
39            <!-- END THEME / STYLE -->
40
41            <!-- START COLOR -->
42            <item type="color" name="primary"/>
43            <!-- END COLOR -->
44
45            <!-- START DIMEN -->
46            <item type="dimen" name="grid_item_radius"/>
47            <item type="dimen" name="search_chip_radius"/>
48            <!-- END DIMEN -->
49
50            <!-- START DRAWABLE -->
51            <item type="drawable" name="ic_eject"/>
52            <item type="drawable" name="ic_root_download"/>
53            <item type="drawable" name="ic_sd_storage"/>
54            <item type="drawable" name="ic_root_smartphone"/>
55            <item type="drawable" name="root_list_selector"/>
56            <!-- END DRAWABLE -->
57
58            <!-- START BOOLEAN CONFIG -->
59            <item type="bool" name="config_button_all_caps"/>
60            <item type="bool" name="config_default_show_device_root"/>
61            <item type="bool" name="handle_view_downloads_intent"/>
62            <item type="bool" name="is_launcher_enabled"/>
63            <item type="bool" name="show_search_bar"/>
64            <!-- END BOOLEAN CONFIG -->
65
66            <!-- START STRING CONFIG -->
67            <item type="string" name="config_fontFamily"/>
68            <item type="string" name="config_fontFamilyMedium"/>
69            <item type="string" name="default_root_uri"/>
70            <item type="string" name="preferred_root_package"/>
71            <item type="string" name="trusted_quick_viewer_package"/>
72            <!-- END STRING CONFIG -->
73
74        </policy>
75        <!-- END VENDOR CUSTOMIZATION -->
76
77    </overlayable>
78
79</resources>
80