Fix landscape issues with MainFragment

Make MainFragment & CompactPlaybackFragment look better in landscape mode.
This commit is contained in:
OxygenCobalt
2020-12-13 17:07:29 -07:00
parent 7458588913
commit 9b22fcb8e6
77 changed files with 549 additions and 339 deletions
+3 -2
View File
@@ -4,8 +4,6 @@
xmlns:tools="http://schemas.android.com/tools"
tools:context=".MainFragment">
<!-- TODO: Fix elevation -->
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/main_layout"
android:layout_width="match_parent"
@@ -29,6 +27,8 @@
android:name="org.oxycblt.auxio.playback.CompactPlaybackFragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/windowBackground"
android:elevation="@dimen/elevation_high"
android:outlineProvider="bounds"
app:layout_constraintBottom_toTopOf="@+id/nav_bar"
app:layout_constraintEnd_toEndOf="parent"
@@ -40,6 +40,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/background"
android:elevation="@dimen/elevation_normal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"