Skip to content

Commit

Permalink
fix left frame anchor in landscape during active guidance (#6914)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zayankovsky authored Jan 31, 2023
1 parent 25d04c7 commit d13ab96
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog/unreleased/bugfixes/6914.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fixed an issue with `NavigationView` that caused left frame to overlap with maneuver view in landscape mode during active navigation.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:background="@color/mapbox_main_maneuver_background_color"
tools:layout_height="120dp" />
tools:layout_height="120dp"
tools:layout_width="375dp" />

<FrameLayout
android:id="@+id/scalebarLayout"
Expand All @@ -71,6 +72,13 @@
tools:layout_height="60dp"
tools:layout_width="50dp" />

<androidx.constraintlayout.widget.Barrier
android:id="@+id/barrierLeftContainer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:barrierDirection="bottom"
app:constraint_referenced_ids="guidanceLayout,speedLimitLayout" />

<FrameLayout
android:id="@+id/emptyLeftContainer"
android:layout_width="0dp"
Expand All @@ -82,7 +90,7 @@
app:layout_constraintBottom_toTopOf="@id/guidelineBottom"
app:layout_constraintEnd_toStartOf="@id/guidelineBegin"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/speedLimitLayout"
app:layout_constraintTop_toBottomOf="@id/barrierLeftContainer"
tools:background="#F6A1A1" />

<FrameLayout
Expand Down

0 comments on commit d13ab96

Please sign in to comment.