Add landscape support to detail fragments

Add a landscape layout for AlbumDetailFragment, ArtistDetailFragment, and GenreDetailFragment.
This commit is contained in:
OxygenCobalt
2020-12-14 15:55:12 -07:00
parent 8085c25103
commit 28b6edb5d6
16 changed files with 452 additions and 40 deletions
@@ -26,24 +26,24 @@
android:id="@+id/compact_playback"
android:name="org.oxycblt.auxio.playback.CompactPlaybackFragment"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_height="wrap_content"
android:background="?android:attr/windowBackground"
android:elevation="@dimen/elevation_high"
android:outlineProvider="bounds"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/nav_bar"
app:layout_constraintTop_toTopOf="@+id/nav_bar"
tools:layout="@layout/fragment_compact_playback" />
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/nav_bar"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:background="@color/background"
app:labelVisibilityMode="selected"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/compact_playback"
app:menu="@menu/menu_nav" />
</androidx.constraintlayout.widget.ConstraintLayout>