| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| ~ Copyright 2017 The Android Open Source Project |
| ~ |
| ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| ~ you may not use this file except in compliance with the License. |
| ~ You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --> |
| |
| <resources> |
| <!-- General --> |
| <!-- Size of icons in a slice --> |
| <dimen name="abc_slice_icon_size">24dp</dimen> |
| <!-- Size of small images in a slice --> |
| <dimen name="abc_slice_small_image_size">48dp</dimen> |
| <!-- Standard padding used in a slice --> |
| <dimen name="abc_slice_padding">16dp</dimen> |
| |
| <!-- Size of a slice shortcut view --> |
| <dimen name="abc_slice_shortcut_size">56dp</dimen> |
| <!-- Minimum height of a small template --> |
| <dimen name="abc_slice_small_height">48dp</dimen> |
| <!-- Minimum height of a large template --> |
| <dimen name="abc_slice_large_height">240dp</dimen> |
| <!-- Height of the action row --> |
| <dimen name="abc_slice_action_row_height">48dp</dimen> |
| |
| <!-- Row view sizes--> |
| <!-- Min height of row view; default size if one line of text --> |
| <dimen name="abc_slice_row_min_height">48dp</dimen> |
| <!-- Size of row view with two lines of text --> |
| <dimen name="abc_slice_row_max_height">60dp</dimen> |
| <!-- Min height of a row showing an input field that is active --> |
| <dimen name="abc_slice_row_active_input_height">120dp</dimen> |
| <!-- Size of range area in a row to fit a slider or progress bar --> |
| <dimen name="abc_slice_row_range_height">48dp</dimen> |
| <!-- Size of row view when range is inline --> |
| <dimen name="abc_slice_row_range_inline_height">60dp</dimen> |
| <!-- Size of text area of row view with two lines of text and then a range element --> |
| <dimen name="abc_slice_row_range_multi_text_height">56dp</dimen> |
| <!-- Size of text area row with one line of text and then a range element--> |
| <dimen name="abc_slice_row_range_single_text_height">48dp</dimen> |
| <!-- Size of selection area in a row --> |
| <dimen name="abc_slice_row_selection_height">48dp</dimen> |
| <!-- Size of text area of row view with two lines of text and then a selection element --> |
| <dimen name="abc_slice_row_selection_multi_text_height">56dp</dimen> |
| <!-- Size of text area row with one line of text and then a selection element--> |
| <dimen name="abc_slice_row_selection_single_text_height">48dp</dimen> |
| |
| <!-- Grid view sizes--> |
| <!-- Height of a grid row displaying only text or only small images (but not both) --> |
| <dimen name="abc_slice_grid_min_height">60dp</dimen> |
| <!-- Height of a grid row displaying only large images; also used for min-width of large images |
| to calculate # of images in a row --> |
| <dimen name="abc_slice_grid_image_only_height">86dp</dimen> |
| <!-- Height of space to reserve for raw images with text--> |
| <dimen name="abc_slice_grid_raw_image_text_offset">30dp</dimen> |
| <!-- Minimum width of a cell displaying an icon / small image; used to calculate # |
| of images in a row --> |
| <dimen name="abc_slice_grid_image_min_width">60dp</dimen> |
| <!-- Height of a grid row showing one text item along with a large image --> |
| <dimen name="abc_slice_grid_image_text_height">120dp</dimen> |
| <!-- Height of a grid row showing two text items along with a large image --> |
| <dimen name="abc_slice_grid_max_height">140dp</dimen> |
| <!-- Height of a grid row showing 1-2 text items along with a small image --> |
| <dimen name="abc_slice_grid_small_image_text_height">120dp</dimen> |
| <!-- Gutter between cells in a grid row--> |
| <dimen name="abc_slice_grid_gutter">4dp</dimen> |
| <!-- Space between image and text items in grid row --> |
| <dimen name="abc_slice_grid_text_padding">10dp</dimen> |
| <!-- Space between text and text items in grid row --> |
| <dimen name="abc_slice_grid_text_inner_padding">2dp</dimen> |
| |
| <!-- Big picture --> |
| <!-- Min height of row showing a single large image --> |
| <dimen name="abc_slice_big_pic_min_height">120dp</dimen> |
| <!-- Max height of row showing a single large image --> |
| <dimen name="abc_slice_big_pic_max_height">140dp</dimen> |
| </resources> |