This brings the size of the bottom sheet closer to the spec provided by UX. For that type of flexibility to be possible, more attributes are introduced and some calculations had to be changed. This shouldn't affect phones. Bug: 218638090 Test: visual, with dumpsys and HSV Change-Id: Ieee7580d80d8e100837b1cdd7a1455c4d65612dc
43 lines
1.6 KiB
XML
43 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2022 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>
|
|
<!-- AllApps -->
|
|
<dimen name="all_apps_bottom_sheet_horizontal_padding">28dp</dimen>
|
|
|
|
<!-- Dynamic grid -->
|
|
<dimen name="dynamic_grid_edge_margin">27.59dp</dimen>
|
|
<dimen name="cell_layout_padding">36dp</dimen>
|
|
|
|
<!-- Dragging -->
|
|
<dimen name="drop_target_text_size">20sp</dimen>
|
|
<dimen name="dynamic_grid_drop_target_size">72dp</dimen>
|
|
<dimen name="drop_target_button_drawable_horizontal_padding">24dp</dimen>
|
|
<dimen name="drop_target_button_drawable_vertical_padding">20dp</dimen>
|
|
<dimen name="drop_target_button_gap">32dp</dimen>
|
|
<dimen name="drop_target_top_margin">32dp</dimen>
|
|
<dimen name="drop_target_bottom_margin">32dp</dimen>
|
|
|
|
<!-- Hotseat -->
|
|
<dimen name="spring_loaded_hotseat_top_margin">164dp</dimen>
|
|
|
|
<!-- Widget picker-->
|
|
<dimen name="widget_list_horizontal_margin">30dp</dimen>
|
|
|
|
<!-- Bottom sheet-->
|
|
<dimen name="bottom_sheet_extra_top_padding">300dp</dimen>
|
|
</resources>
|