fix bottom bar from overlapping main content fragment

Changelog: changed
This commit is contained in:
Kai 2025-07-11 12:22:32 -05:00
commit 2cd905fbed
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -3018,7 +3018,7 @@ class VideoDetailView : ConstraintLayout {
}
else if(isOverlayed) {
_playerProgress.layoutParams = _playerProgress.layoutParams.apply {
(this as MarginLayoutParams).bottomMargin = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, -2f, resources.displayMetrics).toInt();
(this as MarginLayoutParams).bottomMargin = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, -6f, resources.displayMetrics).toInt();
};
_playerProgress.elevation = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 5f, resources.displayMetrics);
}

View file

@ -38,7 +38,7 @@
<LinearLayout
android:id="@+id/bottom_bar_buttons"
android:layout_width="match_parent"
android:layout_height="52dp"
android:layout_height="48dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toBottomOf="parent"