Clean up FocusParkingViews
Update comment to indicate that the FocusParkingView must be first.
Use start rather than left to position FocusParkingView first.
Bug: 131421840
Bug: 154540419
Test: manual
Change-Id: I4f10cec17960ea3e1e9478057a30e96f47df744e
diff --git a/res/layout/headsup_container.xml b/res/layout/headsup_container.xml
index 73c038a..db649b7 100644
--- a/res/layout/headsup_container.xml
+++ b/res/layout/headsup_container.xml
@@ -29,13 +29,12 @@
android:orientation="horizontal"
app:layout_constraintGuide_begin="@dimen/headsup_scrim_height"/>
- <!-- Include a FocusParkingView at the beginning or end. The rotary controller "parks" the
- focus here when the user navigates to another window. This is also used to prevent
- wrap-around which is why it must be first or last in Tab order. -->
+ <!-- Include a FocusParkingView at the beginning. The rotary controller "parks" the focus here
+ when the user navigates to another window. This is also used to prevent wrap-around. -->
<com.android.car.ui.FocusParkingView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- app:layout_constraintLeft_toLeftOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
<View