mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Moving the content instead of translating the view. This ensures that the empty message fades in place while the other content come-in from the side. Change-Id: I081d2e21206de24ad530814cb6a8ca7c3e293724
44 lines
1.8 KiB
XML
44 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 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>
|
|
|
|
<dimen name="task_thumbnail_top_margin">24dp</dimen>
|
|
<dimen name="task_thumbnail_icon_size">48dp</dimen>
|
|
<dimen name="task_menu_background_radius">12dp</dimen>
|
|
<dimen name="task_corner_radius">2dp</dimen>
|
|
<dimen name="task_fade_length">20dp</dimen>
|
|
<dimen name="recents_page_spacing">10dp</dimen>
|
|
|
|
<!-- The speed in dp/s at which the user needs to be scrolling in recents such that we start
|
|
loading full resolution screenshots. -->
|
|
<dimen name="recents_fast_fling_velocity">600dp</dimen>
|
|
|
|
<dimen name="quickstep_fling_threshold_velocity">500dp</dimen>
|
|
<dimen name="quickstep_fling_min_velocity">250dp</dimen>
|
|
|
|
<!-- Launcher app transition -->
|
|
<dimen name="content_trans_y">25dp</dimen>
|
|
<dimen name="workspace_trans_y">80dp</dimen>
|
|
<dimen name="recents_adjacent_trans_x">140dp</dimen>
|
|
<dimen name="recents_adjacent_trans_y">80dp</dimen>
|
|
<fraction name="recents_adjacent_scale">150%</fraction>
|
|
|
|
<dimen name="recents_empty_message_text_size">16sp</dimen>
|
|
<dimen name="recents_empty_message_text_padding">16dp</dimen>
|
|
|
|
</resources>
|