summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorJon Miranda <jonmiranda@google.com>2017-07-13 16:18:56 -0700
committerJon Miranda <jonmiranda@google.com>2017-07-13 18:40:48 -0700
commit28032006970703240f4abd34429608abd2358645 (patch)
tree86b9aab0cfcce2545e74bcc4a393ebe450f9dff4 /res/values
parent8701cd58cf3b32c9d2b9269e3956b32f4726a81a (diff)
downloadandroid_packages_apps_Trebuchet-28032006970703240f4abd34429608abd2358645.tar.gz
android_packages_apps_Trebuchet-28032006970703240f4abd34429608abd2358645.tar.bz2
android_packages_apps_Trebuchet-28032006970703240f4abd34429608abd2358645.zip
Set edgeMarginPx back to 8dp.
With the new grid changes, it was set to 16dp but this caused an issue where the workspace page spacing was too large. To "restore" the original page spacing we set it back to 8dp. This caused an issue where the pages began to overlap. This CL changes the edgeMarginPx back to 8dp, and then adds the additional 8dp to the padding of the CellLayout. Bug: 63590728 Change-Id: Ie968d8bd81de19c726f73581d6609e3bc486c5ca
Diffstat (limited to 'res/values')
-rw-r--r--res/values/dimens.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 21abd3c93..356de7869 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -16,7 +16,7 @@
<resources>
<!-- Dynamic Grid -->
- <dimen name="dynamic_grid_edge_margin">16dp</dimen>
+ <dimen name="dynamic_grid_edge_margin">8dp</dimen>
<dimen name="dynamic_grid_min_page_indicator_size">32dp</dimen>
<dimen name="dynamic_grid_page_indicator_line_height">1dp</dimen>
<dimen name="dynamic_grid_page_indicator_gutter_width">50dp</dimen>
@@ -30,7 +30,6 @@
<!-- Minimum space between workspace and hotseat in spring loaded mode -->
<dimen name="dynamic_grid_min_spring_loaded_space">8dp</dimen>
- <!-- dynamic_grid_edge_margin / 2 -->
<dimen name="dynamic_grid_cell_padding_x">8dp</dimen>
<!-- Hotseat -->