Fixed battery percentage textView not resizing to fit estimate
Adding honorRequest flag to QQS->QS MotionLayout transition to allow layout to be remeasured when longer text is set during the transition. Bug: 282044659 Test: visually confirmed QQS->QS transition works correctly when on battery Change-Id: Id719413ff3dab8f7c37d9e9cc18000ac7eff406c
This commit is contained in:
@@ -16,12 +16,14 @@
|
||||
-->
|
||||
<MotionScene
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:motion="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<Transition
|
||||
android:id="@+id/header_transition"
|
||||
app:constraintSetEnd="@id/qs_header_constraint"
|
||||
app:constraintSetStart="@id/qqs_header_constraint">
|
||||
app:constraintSetStart="@id/qqs_header_constraint"
|
||||
motion:layoutDuringTransition="honorRequest">
|
||||
<KeyFrameSet>
|
||||
<!-- These positions are to prevent visual movement of @id/date -->
|
||||
<KeyPosition
|
||||
|
||||
Reference in New Issue
Block a user