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

63 lines
2.6 KiB
XML
Raw Normal View History

2018-07-27 18:37:33 +05:30
<?xml version="1.0" encoding="utf-8"?>
2020-01-24 22:57:43 +05:30
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-08-30 14:59:30 +05:30
xmlns:app="http://schemas.android.com/apk/res-auto"
2018-07-27 18:37:33 +05:30
xmlns:tools="http://schemas.android.com/tools"
2018-12-09 12:08:34 +05:30
android:id="@+id/mainContent"
android:layout_width="match_parent"
2018-09-10 01:14:46 +05:30
android:layout_height="match_parent">
2018-07-27 18:37:33 +05:30
<FrameLayout
android:id="@+id/mainContentFrame"
android:layout_width="match_parent"
2019-10-29 22:26:05 +05:30
android:layout_height="match_parent" />
<View
android:id="@+id/dimBackground"
android:layout_width="match_parent"
android:layout_height="match_parent"
2019-10-29 22:26:05 +05:30
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-12-01 16:58:57 +05:30
app:cardBackgroundColor="?attr/colorSurface"
2019-11-21 22:01:39 +05:30
app:cardCornerRadius="0dp"
2019-11-15 22:00:10 +05:30
app:cardUseCompatPadding="false"
2020-01-24 22:57:43 +05:30
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"
2019-11-15 22:00:10 +05:30
app:strokeWidth="0dp">
2020-02-17 20:38:20 +05:30
2018-11-20 20:57:59 +05:30
<FrameLayout
2020-01-24 22:57:43 +05:30
android:id="@+id/playerFragmentContainer"
2018-08-30 14:59:30 +05:30
android:layout_width="match_parent"
2020-01-24 22:57:43 +05:30
android:layout_height="match_parent" />
2020-01-24 22:24:08 +05:30
2020-01-24 22:57:43 +05:30
<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" />
2020-01-24 22:24:08 +05:30
</com.google.android.material.card.MaterialCardView>
2018-11-20 20:57:59 +05:30
<code.name.monkey.retromusic.views.BottomNavigationBarTinted
2018-12-09 12:08:34 +05:30
android:id="@+id/bottomNavigationView"
2019-03-25 18:13:43 +05:30
android:layout_width="match_parent"
2019-09-01 19:02:36 +05:30
android:layout_height="wrap_content"
2018-11-20 20:57:59 +05:30
android:layout_gravity="bottom"
android:elevation="0dp"
android:visibility="gone"
2019-11-21 22:01:39 +05:30
app:itemHorizontalTranslationEnabled="false"
2018-11-20 20:57:59 +05:30
app:itemIconTint="@drawable/bottom_navigation_item_colors"
app:itemTextAppearanceActive="@style/BottomSheetItemTextAppearanceActive"
app:itemTextAppearanceInactive="@style/BottomSheetItemTextAppearanceInactive"
2018-11-20 20:57:59 +05:30
app:itemTextColor="@drawable/bottom_navigation_item_colors"
app:labelVisibilityMode="labeled"
2019-09-28 23:22:49 +05:30
app:menu="@menu/bottom_navigation_main"
tools:layout_height="56dp" />
2020-01-24 22:57:43 +05:30
</androidx.coordinatorlayout.widget.CoordinatorLayout>