mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Merge "[Overview Actions] Put the taskview in the middle of the screen." into ub-launcher3-rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7c604edf92
@@ -63,7 +63,7 @@
|
||||
<dimen name="task_card_menu_shadow_height">3dp</dimen>
|
||||
<dimen name="task_card_menu_horizontal_padding">0dp</dimen>
|
||||
<dimen name="portrait_task_card_horz_space">136dp</dimen>
|
||||
<dimen name="portrait_task_card_horz_space_big_overview">24dp</dimen>
|
||||
<dimen name="portrait_task_card_horz_space_big_overview">96dp</dimen>
|
||||
<dimen name="landscape_task_card_horz_space">200dp</dimen>
|
||||
<dimen name="multi_window_task_card_horz_space">100dp</dimen>
|
||||
<!-- Copied from framework resource:
|
||||
|
||||
@@ -146,9 +146,7 @@ public abstract class WindowSizeStrategy {
|
||||
actionsBottomMargin = res.getDimensionPixelSize(
|
||||
R.dimen.overview_actions_bottom_margin_gesture);
|
||||
}
|
||||
float actionsTopMargin = res.getDimensionPixelSize(
|
||||
R.dimen.overview_actions_top_margin);
|
||||
float actionsHeight = actionsTopMargin + actionsBottomMargin
|
||||
float actionsHeight = actionsBottomMargin
|
||||
+ res.getDimensionPixelSize(R.dimen.overview_actions_height);
|
||||
return actionsHeight;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user