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

66 lines
2.7 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-12 14:19:33 +00:00
app:cardBackgroundColor="?colorSecondary"
2019-11-15 16:30:10 +00:00
app:cardUseCompatPadding="false"
2019-11-09 17:33:28 +00:00
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"
2019-11-15 16:30:10 +00:00
app:strokeWidth="0dp">
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"
2019-11-21 05:59:33 +00:00
app:itemBackground="@drawable/bottom_navigation_item_background"
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-11-21 06:03:37 +00:00
app:itemHorizontalTranslationEnabled="false"
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>