| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- | |
| Copyright (C) 2020 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> | |
| <dimen name="dismiss_circle_size">52dp</dimen> | |
| <!-- The height of the gradient indicating the dismiss edge when moving a PIP. --> | |
| <dimen name="floating_dismiss_gradient_height">250dp</dimen> | |
| <!-- The padding around a PiP actions. --> | |
| <dimen name="pip_action_padding">12dp</dimen> | |
| <!-- The height of the PiP actions container in which the actions are vertically centered. --> | |
| <dimen name="pip_action_size">48dp</dimen> | |
| <!-- The padding between actions in the PiP in landscape Note that the PiP does not reflect | |
| the configuration of the device, so we can't use -land resources. --> | |
| <dimen name="pip_between_action_padding_land">8dp</dimen> | |
| <!-- The buffer to use when calculating whether the pip is in an adjust zone. --> | |
| <dimen name="pip_bottom_offset_buffer">1dp</dimen> | |
| <!-- The corner radius for PiP window. --> | |
| <dimen name="pip_corner_radius">8dp</dimen> | |
| <!-- The bottom margin of the PIP drag to dismiss info text shown when moving a PIP. --> | |
| <dimen name="pip_dismiss_text_bottom_margin">24dp</dimen> | |
| <!-- The bottom margin of the expand container when there are actions. | |
| Equal to pip_action_size - pip_action_padding. --> | |
| <dimen name="pip_expand_container_edge_margin">30dp</dimen> | |
| <!-- The shortest-edge size of the expanded PiP. --> | |
| <dimen name="pip_expanded_shortest_edge_size">160dp</dimen> | |
| <!-- The additional offset to apply to the IME animation to account for the input field. --> | |
| <dimen name="pip_ime_offset">48dp</dimen> | |
| <!-- The touchable/draggable edge size for PIP resize. --> | |
| <dimen name="pip_resize_edge_size">48dp</dimen> | |
| <!-- PIP Resize handle size, margin and padding. --> | |
| <dimen name="pip_resize_handle_size">12dp</dimen> | |
| <dimen name="pip_resize_handle_margin">4dp</dimen> | |
| <dimen name="pip_resize_handle_padding">0dp</dimen> | |
| <!-- How high we lift the divider when touching --> | |
| <dimen name="docked_stack_divider_lift_elevation">4dp</dimen> | |
| <dimen name="docked_divider_handle_width">16dp</dimen> | |
| <dimen name="docked_divider_handle_height">2dp</dimen> | |
| <!-- One-Handed Mode --> | |
| <!-- Threshold for dragging distance to enable one-handed mode --> | |
| <dimen name="gestures_onehanded_drag_threshold">20dp</dimen> | |
| </resources> |