Merge "Update chipbar text view in new events" into tm-qpr-dev

This commit is contained in:
Michael Mikhail
2022-10-24 18:02:04 +00:00
committed by Android (Google) Code Review

View File

@@ -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