Slight cleanup of tail suggest padding for Android.
The padding depends on the text size/paint metrics of the textview itself, so it makes sense to calculate it based on the state of the view. This also fixes RTL and a bug introduced in a previous cleanup that was applying tail suggest padding to all suggestions when showing a single tail suggest item. BUG=898522 Change-Id: I9b4a7be75b153948e6b53b8fcf3fcc804de1273a Reviewed-on: https://chromium-review.googlesource.com/c/1310715 Commit-Queue: Ted Choc <tedchoc@chromium.org> Reviewed-by:Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#604520}
Showing
Please register or sign in to comment