Merge "Use full screen width for drop target buttons to support higher screen densities from truncating text." into tm-qpr-dev

This commit is contained in:
Pat Manning authored and Android (Google) Code Review committed 2022-09-06 14:59:48 +00:00
commit b11dedc254
4 files changed
+78 -18

No files matched your search

+1 -1
View File
@@ -1037,7 +1037,7 @@ public class DeviceProfile {
/ getCellLayoutHeight();
scale = Math.min(scale, 1f);
// Reduce scale if next pages would not be visible after scaling the workspace
// Reduce scale if next pages would not be visible after scaling the workspace.
int workspaceWidth = availableWidthPx;
float scaledWorkspaceWidth = workspaceWidth * scale;
float maxAvailableWidth = workspaceWidth - (2 * workspaceSpringLoadedMinNextPageVisiblePx);