commit | f089f741adf3da7a0a5c3900baa4af3ca2f426c0 | [log] [tgz] |
---|---|---|
author | Steven Ng <stevenckng@google.com> | Thu Apr 15 16:03:28 2021 +0100 |
committer | Steven Ng <stevenckng@google.com> | Fri Apr 16 10:41:33 2021 +0100 |
tree | 16c746bb6bd494bb2f74b2a1f5b40c5211d0e287 | |
parent | 0a19747cae9c9dfaf11c3c092103b45eda5d35b1 [diff] |
Fix app widget preview layout drag-n-drop & rendering 1. Before this CL, preview layouts are not rendered in both the BottomWidgetSheet and SearchPopupSheet because the preview width & height are not set correctly. 2. Also applies the right padding to preview layouts. Bug: 185374336 Test: Drag-n-drop preview layout from the full widgets picker, the bottom widgets picker and the search widgets picker. Change-Id: I2b6303bfe4eb86a4935a5569f6107e9d46448902