commit | a874e30959c9a19275ff3ce47ba6deda1955d094 | [log] [tgz] |
---|---|---|
author | Abodunrinwa Toki <toki@google.com> | Fri Jan 29 15:43:04 2016 +0000 |
committer | Abodunrinwa Toki <toki@google.com> | Fri Jan 29 16:25:49 2016 +0000 |
tree | d731cfe484dc33c9952ceea315ff7b4f487ef407 | |
parent | 7200364e8d74fc105023790eeda0fc42dac3310a [diff] |
FloatingToolbar: Fix orientation change handling. Orientation change handling was done using a config change listener but it is not a sufficient trigger for when the toolbar needs to be resized. It is called before the layout has changed. A better trigger for resizing the toolbar will be on layout change. At this time, we get an accurate measurement of the drawing area. Bug: 21816857 Change-Id: Ia4d752f12b64b64256c1c41d5ede5d2e29a4f408