commit | 10bf35ff1a31688894b77dcaa4c56670c9486f70 | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Fri Dec 09 17:15:12 2016 -0800 |
committer | Tony Wickham <twickham@google.com> | Fri Jan 20 12:30:24 2017 -0800 |
tree | 8feb41e7d40ab49f34b6fb0486ce805693749d66 | |
parent | a2441e88ff862714d823d6c786b2d563047f75fc [diff] |
Fix shortcuts alignment in landscape - Take left inset into account. - If there is no way to orient the shortcuts next to the icon, instead center it in the drag layer and don't draw the arrow. - If possible, place the shortcuts to the left or right of the icon when centered vertically. If for whatever reason that isn't possible, center the shortcuts horizontally as well. Bug: 33421656 Change-Id: I838b30ea487e0f7c64637db1cb8991ca3ee16bf9