[Custom Tabs]Fix a bug that https is not shown properly
commit9098c6ed41aed678e27a995b1499790a140b1e9c
authorianwen <ianwen@chromium.org>
Wed, 26 Aug 2015 02:45:24 +0000 (25 19:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 26 Aug 2015 02:46:06 +0000 (26 02:46 +0000)
tree59d11ff4c5bfc4dbdbeeb5af7396d678b56b195c
parent55eebeb3936fca681a93e36984e87fc860f22389
[Custom Tabs]Fix a bug that https is not shown properly

In android SDK M, android:maxLines no longer works with setSelection. If
selection is set to the end, TextView will squeeze the first part to a
previous line. This CL changes the urlbar in Custom Tab to use
singleLine.

BUG=524672

Review URL: https://codereview.chromium.org/1320493003

Cr-Commit-Position: refs/heads/master@{#345530}
chrome/android/java/res/layout/custom_tabs_toolbar.xml