Styled label with mixed views
This cl implementation allows the client to provide custom views to styled label and set the horizontal alignment. Features: 1. The client can provide any view. 2. The client can set the horizontal alignment. 3. All views in a line are center aligned. 4. The custom view is one unit, cannot be wrapped into different line. 5. If width is not wide for the custom view, the custom view will be cutoff. bug. Bug: 793414 Test: Tested with different views and layout. Examples are posted in the Change-Id: Icf7d70da812c9e40362e20cbc30dc118cdf6d77b Reviewed-on: https://chromium-review.googlesource.com/888543 Commit-Queue: Tao Wu <wutao@chromium.org> Reviewed-by:Michael Wasserman <msw@chromium.org> Cr-Commit-Position: refs/heads/master@{#534200}
Showing
This diff is collapsed.
Please register or sign in to comment