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

64 lines
2.5 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2019-03-25 12:43:43 +00:00
<androidx.coordinatorlayout.widget.CoordinatorLayout 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
<FrameLayout
android:id="@+id/mainContentFrame"
android:layout_width="match_parent"
2019-10-29 16:56:05 +00:00
android:layout_height="match_parent" />
<View
android:id="@+id/dimBackground"
android:layout_width="match_parent"
android:layout_height="match_parent"
2019-10-29 16:56:05 +00:00
android:clickable="true"
android:focusable="true"
android:visibility="gone" />
<com.google.android.material.card.MaterialCardView
android:id="@+id/slidingPanel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:behavior_hideable="false"
app:behavior_peekHeight="0dp"
2019-11-09 18:07:38 +00:00
app:cardCornerRadius="0dp"
app:cardElevation="0dp"
app:cardUseCompatPadding="false"
2019-11-09 18:07:38 +00:00
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
2018-07-27 13:07:33 +00:00
2018-11-20 15:27:59 +00:00
<FrameLayout
android:id="@+id/playerFragmentContainer"
2018-08-30 09:29:30 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent" />
2018-11-20 15:27:59 +00:00
<fragment
android:id="@+id/miniPlayerFragment"
android:name="code.name.monkey.retromusic.fragments.MiniPlayerFragment"
android:layout_width="match_parent"
android:layout_height="48dp"
tools:layout="@layout/fragment_mini_player" />
2018-09-09 19:44:46 +00:00
</com.google.android.material.card.MaterialCardView>
2018-11-20 15:27:59 +00:00
<code.name.monkey.retromusic.views.BottomNavigationBarTinted
2018-12-09 06:38:34 +00:00
android:id="@+id/bottomNavigationView"
2019-03-25 12:43:43 +00:00
android:layout_width="match_parent"
2019-09-01 13:32:36 +00:00
android:layout_height="wrap_content"
2018-11-20 15:27:59 +00:00
android:layout_gravity="bottom"
2019-10-01 18:02:48 +00:00
android:background="?colorSecondary"
2018-11-20 15:27:59 +00:00
android:elevation="0dp"
android:visibility="gone"
2018-11-20 15:27:59 +00:00
app:itemIconTint="@drawable/bottom_navigation_item_colors"
app:itemTextAppearanceActive="@style/BottomSheetItemTextAppearanceActive"
app:itemTextAppearanceInactive="@style/BottomSheetItemTextAppearanceInactive"
2018-11-20 15:27:59 +00:00
app:itemTextColor="@drawable/bottom_navigation_item_colors"
app:labelVisibilityMode="labeled"
2019-09-28 17:52:49 +00:00
app:menu="@menu/bottom_navigation_main"
tools:layout_height="56dp" />
2019-03-25 12:43:43 +00:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>