mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-09-11 03:56:23 +00:00
Merge branch 'fix-bottom-bar-overlap' into 'master'
Bottom Bar Margin Fix See merge request videostreaming/grayjay!133
This commit is contained in:
commit
0636813f6f
2 changed files with 2 additions and 2 deletions
|
@ -3196,7 +3196,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);
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue