Merge "Update chipbar text view in new events" into tm-qpr-dev am: fd544fa64a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20257692 Change-Id: Ib88fd25b900154cf11e8e03a82d468df3b038db4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -124,6 +124,9 @@ open class ChipbarCoordinator @Inject constructor(
|
||||
// ---- Text ----
|
||||
val textView = currentView.requireViewById<TextView>(R.id.text)
|
||||
TextViewBinder.bind(textView, newInfo.text)
|
||||
// Updates text view bounds to make sure it perfectly fits the new text
|
||||
// (If the new text is smaller than the previous text) see b/253228632.
|
||||
textView.requestLayout()
|
||||
|
||||
// ---- End item ----
|
||||
// Loading
|
||||
|
||||
Reference in New Issue
Block a user