Remove manual Layout() from HoverButton
The only custom action in HoverButton's manual layout is to position title label vertically in its parent. We create a small custom view class for its parent to change its position upon bound change. Therefore, we can remove the manual layout in HoverButton. BUG=1005568 Change-Id: Iea0f9a8236a519373e299b31550d4240551cda7a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1866981 Commit-Queue: Wei Li <weili@chromium.org> Reviewed-by:Allen Bauer <kylixrd@chromium.org> Cr-Commit-Position: refs/heads/master@{#707575}
Showing
Please register or sign in to comment