blob: 04d74f3ee1818403c9b5b2a38e0de74095a4695c [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 -->
Mady Mellor8a2763f2018-02-16 13:39:25 -080020 <!-- Size of icons in a slice -->
Mady Mellor5b2c0ce2017-12-08 12:16:37 -080021 <dimen name="abc_slice_icon_size">24dp</dimen>
Mady Mellor8a2763f2018-02-16 13:39:25 -080022 <!-- Size of small images in a slice -->
23 <dimen name="abc_slice_small_image_size">48dp</dimen>
Mady Mellor5b2c0ce2017-12-08 12:16:37 -080024 <!-- 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 Mellor8a2763f2018-02-16 13:39:25 -080029 <!-- Minimum height of a small template -->
30 <dimen name="abc_slice_small_height">48dp</dimen>
31 <!-- Minimum height of a large template -->
Mady Mellor5b2c0ce2017-12-08 12:16:37 -080032 <dimen name="abc_slice_large_height">240dp</dimen>
33
34 <!-- Row view sizes-->
35 <!-- Min height of row view; default size if one line of text -->
36 <dimen name="abc_slice_row_min_height">48dp</dimen>
37 <!-- Max height of row view; default size if two lines of text -->
38 <dimen name="abc_slice_row_max_height">60dp</dimen>
39 <!-- Min height of a row showing an input field that is active -->
40 <dimen name="abc_slice_row_active_input_height">120dp</dimen>
41
42 <!-- Grid view sizes-->
Mady Mellor8a2763f2018-02-16 13:39:25 -080043 <!-- Height of a grid row displaying only text or only small images (but not both) -->
44 <dimen name="abc_slice_grid_min_height">60dp</dimen>
45 <!-- Height of a grid row displaying only large images -->
Mady Mellor5b2c0ce2017-12-08 12:16:37 -080046 <dimen name="abc_slice_grid_image_only_height">86dp</dimen>
Mady Mellor8a2763f2018-02-16 13:39:25 -080047 <!-- Height of a grid row showing one text item along with a large image -->
48 <dimen name="abc_slice_grid_image_text_height">120dp</dimen>
49 <!-- Height of a grid row showing two text items along with a large image -->
50 <dimen name="abc_slice_grid_max_height">140dp</dimen>
51 <!-- Height of a grid row showing 1-2 text items along with a small image -->
52 <dimen name="abc_slice_grid_small_image_text_height">120dp</dimen>
53 <!-- Gutter between cells in a grid row-->
54 <dimen name="abc_slice_grid_gutter">4dp</dimen>
55
56 <!-- Big picture -->
57 <!-- Min height of row showing a single large image -->
58 <dimen name="abc_slice_big_pic_min_height">120dp</dimen>
59 <!-- Max height of row showing a single large image -->
60 <dimen name="abc_slice_big_pic_max_height">140dp</dimen>
Jason Monk8a452e92017-10-31 19:21:47 -040061</resources>