1<?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> 19 <!-- General --> 20 <!-- Size of icons in a slice --> 21 <dimen name="abc_slice_icon_size">24dp</dimen> 22 <!-- Size of small images in a slice --> 23 <dimen name="abc_slice_small_image_size">48dp</dimen> 24 <!-- Standard padding used in a slice --> 25 <dimen name="abc_slice_padding">16dp</dimen> 26 27 <!-- Size of a slice shortcut view --> 28 <dimen name="abc_slice_shortcut_size">56dp</dimen> 29 <!-- Minimum height of a small template --> 30 <dimen name="abc_slice_small_height">48dp</dimen> 31 <!-- Minimum height of a large template --> 32 <dimen name="abc_slice_large_height">240dp</dimen> 33 <!-- Maximum height of a large template --> 34 <dimen name="abc_slice_max_large_height">320dp</dimen> 35 <!-- Height of the action row --> 36 <dimen name="abc_slice_action_row_height">48dp</dimen> 37 38 <!-- Row view sizes--> 39 <!-- Min height of row view; default size if one line of text --> 40 <dimen name="abc_slice_row_min_height">48dp</dimen> 41 <!-- Size of row view with two lines of text --> 42 <dimen name="abc_slice_row_max_height">60dp</dimen> 43 <!-- Min height of a row showing an input field that is active --> 44 <dimen name="abc_slice_row_active_input_height">120dp</dimen> 45 <!-- Height to fit a range element (slider, progress) --> 46 <dimen name="abc_slice_row_range_height">48dp</dimen> 47 48 <!-- Grid view sizes--> 49 <!-- Height of a grid row displaying only text or only small images (but not both) --> 50 <dimen name="abc_slice_grid_min_height">60dp</dimen> 51 <!-- Height of a grid row displaying only large images --> 52 <dimen name="abc_slice_grid_image_only_height">86dp</dimen> 53 <!-- Height of a grid row showing one text item along with a large image --> 54 <dimen name="abc_slice_grid_image_text_height">120dp</dimen> 55 <!-- Height of a grid row showing two text items along with a large image --> 56 <dimen name="abc_slice_grid_max_height">140dp</dimen> 57 <!-- Height of a grid row showing 1-2 text items along with a small image --> 58 <dimen name="abc_slice_grid_small_image_text_height">120dp</dimen> 59 <!-- Gutter between cells in a grid row--> 60 <dimen name="abc_slice_grid_gutter">4dp</dimen> 61 <!-- Space between image and text items in grid row --> 62 <dimen name="abc_slice_grid_text_padding">10dp</dimen> 63 <!-- Space between text and text items in grid row --> 64 <dimen name="abc_slice_grid_text_inner_padding">2dp</dimen> 65 66 <!-- Big picture --> 67 <!-- Min height of row showing a single large image --> 68 <dimen name="abc_slice_big_pic_min_height">120dp</dimen> 69 <!-- Max height of row showing a single large image --> 70 <dimen name="abc_slice_big_pic_max_height">140dp</dimen> 71</resources>