blob: ff2fb973381b659b07f70520af29adcf54277b69 [file] [log] [blame]
Jason Monk8a452e92017-10-31 19:21:47 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright 2017 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
18<resources>
Mady Mellor5b2c0ce2017-12-08 12:16:37 -080019 <!-- General -->
20 <!-- Size of normal icons / images in a slice -->
21 <dimen name="abc_slice_icon_size">24dp</dimen>
22 <!-- Size of large icons / images in a slice -->
23 <dimen name="abc_slice_large_icon_size">48dp</dimen>
24 <!-- Standard padding used in a slice -->
25 <dimen name="abc_slice_padding">16dp</dimen>
26
Jason Monk8a452e92017-10-31 19:21:47 -040027 <!-- Size of a slice shortcut view -->
28 <dimen name="abc_slice_shortcut_size">56dp</dimen>
Mady Mellor5b2c0ce2017-12-08 12:16:37 -080029
30 <!-- Height of a large template -->
31 <dimen name="abc_slice_large_height">240dp</dimen>
32
33 <!-- Row view sizes-->
34 <!-- Min height of row view; default size if one line of text -->
35 <dimen name="abc_slice_row_min_height">48dp</dimen>
36 <!-- Max height of row view; default size if two lines of text -->
37 <dimen name="abc_slice_row_max_height">60dp</dimen>
38 <!-- Min height of a row showing an input field that is active -->
39 <dimen name="abc_slice_row_active_input_height">120dp</dimen>
40
41 <!-- Grid view sizes-->
42 <!-- Height of a grid row displaying only images -->
43 <dimen name="abc_slice_grid_image_only_height">86dp</dimen>
44 <!-- Height of a grid row showing text and images -->
45 <dimen name="abc_slice_grid_height">120dp</dimen>
46 <!-- Height of expanded grid row if showing a single large image -->
47 <dimen name="abc_slice_grid_big_picture_height">180dp</dimen>
Jason Monk8a452e92017-10-31 19:21:47 -040048</resources>