commit | 97491a1e712444a3e13c8e6618d88f7b068ddf65 | [log] [tgz] |
---|---|---|
author | Tony Huang <tonyychuang@google.com> | Tue Feb 12 18:52:40 2019 +0800 |
committer | Tony Huang <tonyychuang@google.com> | Wed Mar 20 09:11:44 2019 +0000 |
tree | 5d90e594e4b7df79a5c09a100bd14c9643b9340f | |
parent | b726203f2388ce003f8aec3e6ef5ad7c16554707 [diff] |
Fix UI jank issue In current layout, app bar and directory recycler view are sibling views. We have added padding on the recycler view to avoid the overlap between both components before. However, if the padding value is wrong, the issue will happen. To solve jank issue, use predraw listener to ensure it get correct app bar height before UI drew. Fix: 123353670 Fix: 126716408 Test: manual Test: atest DocumentsUITests Change-Id: I60482b2cf207dcd1bcd0a7d06bfb4c296ececa73