PlayerAndroid/app/src/main/res/layout/sliding_music_panel_layout.xml

66 lines
2.8 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2019-03-03 09:20:15 +00:00
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-08-30 09:29:30 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2018-07-27 13:07:33 +00:00
xmlns:tools="http://schemas.android.com/tools"
2018-12-09 06:38:34 +00:00
android:id="@+id/mainContent"
android:layout_width="match_parent"
2018-09-09 19:44:46 +00:00
android:layout_height="match_parent">
2018-07-27 13:07:33 +00:00
2018-11-20 15:27:59 +00:00
<com.sothree.slidinguppanel.SlidingUpPanelLayout xmlns:sothree="http://schemas.android.com/apk/res-auto"
2018-12-09 06:38:34 +00:00
android:id="@+id/slidingLayout"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-09-09 19:44:46 +00:00
android:layout_height="match_parent"
2018-11-20 15:27:59 +00:00
android:gravity="bottom"
2019-03-03 09:20:15 +00:00
sothree:layout_constraintBottom_toBottomOf="parent"
sothree:layout_constraintEnd_toEndOf="parent"
sothree:layout_constraintStart_toStartOf="parent"
sothree:layout_constraintTop_toTopOf="parent"
2018-11-20 15:27:59 +00:00
sothree:umanoOverlay="false"
sothree:umanoPanelHeight="0dp"
sothree:umanoScrollableView="@+id/recycler_view"
sothree:umanoShadowHeight="0dp">
2018-07-27 13:07:33 +00:00
<FrameLayout
2018-12-09 06:38:34 +00:00
android:id="@+id/mainContentFrame"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-11-05 13:53:07 +00:00
android:layout_height="match_parent"
android:layout_weight="1" />
2018-07-27 13:07:33 +00:00
2018-11-20 15:27:59 +00:00
<FrameLayout
2018-12-09 06:38:34 +00:00
android:id="@+id/slidingPanel"
2018-08-30 09:29:30 +00:00
android:layout_width="match_parent"
2018-11-20 15:27:59 +00:00
android:layout_height="match_parent">
2018-09-09 19:44:46 +00:00
<FrameLayout
2018-12-09 06:38:34 +00:00
android:id="@+id/playerFragmentContainer"
2018-09-09 19:44:46 +00:00
android:layout_width="match_parent"
2018-11-20 15:27:59 +00:00
android:layout_height="match_parent" />
<fragment
2018-12-09 06:38:34 +00:00
android:id="@+id/miniPlayerFragment"
2018-11-20 15:27:59 +00:00
android:name="code.name.monkey.retromusic.ui.fragments.MiniPlayerFragment"
2018-09-09 19:44:46 +00:00
android:layout_width="match_parent"
2018-11-20 15:27:59 +00:00
android:layout_height="48dp"
tools:layout="@layout/fragment_mini_player" />
</FrameLayout>
</com.sothree.slidinguppanel.SlidingUpPanelLayout>
<code.name.monkey.retromusic.views.BottomNavigationBarTinted
2018-12-09 06:38:34 +00:00
android:id="@+id/bottomNavigationView"
2019-03-03 09:20:15 +00:00
android:layout_width="0dp"
2018-11-20 15:27:59 +00:00
android:layout_height="56dp"
android:layout_gravity="bottom"
android:elevation="0dp"
app:elevation="0dp"
app:itemIconTint="@drawable/bottom_navigation_item_colors"
app:itemTextAppearanceActive="@style/BottomSheetTextAppearance"
app:itemTextAppearanceInactive="@style/BottomSheetTextAppearance"
app:itemTextColor="@drawable/bottom_navigation_item_colors"
app:labelVisibilityMode="labeled"
2019-03-03 09:20:15 +00:00
app:layout_constraintBottom_toBottomOf="@+id/slidingLayout"
app:layout_constraintEnd_toEndOf="@+id/slidingLayout"
app:layout_constraintStart_toStartOf="parent"
2018-11-20 15:27:59 +00:00
app:menu="@menu/bottom_navigation_main" />
2019-03-03 09:20:15 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>