2018-07-27 18:37:33 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-04-05 11:19:40 +05:30
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-11-05 21:22:22 +05:30
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-10-09 18:01:31 +05:30
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-10-09 23:14:02 +05:30
|
|
|
android:id="@+id/container"
|
2021-09-09 00:00:20 +05:30
|
|
|
android:layout_width="match_parent"
|
2019-10-13 00:43:48 +05:30
|
|
|
android:layout_height="match_parent"
|
2021-09-12 01:28:33 +05:30
|
|
|
android:fitsSystemWindows="true">
|
2019-04-05 11:19:40 +05:30
|
|
|
|
2020-08-12 03:50:22 +05:30
|
|
|
<com.google.android.material.bottomappbar.BottomAppBar
|
2019-04-05 11:19:40 +05:30
|
|
|
android:id="@+id/appBarLayout"
|
2020-08-12 03:50:22 +05:30
|
|
|
android:layout_width="match_parent"
|
2019-12-01 20:57:01 +05:30
|
|
|
android:layout_height="wrap_content"
|
2020-08-12 03:50:22 +05:30
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:padding="0dp"
|
|
|
|
app:contentInsetLeft="0dp"
|
|
|
|
app:contentInsetStart="0dp"
|
|
|
|
app:contentInsetStartWithNavigation="0dp"
|
2021-09-09 00:00:20 +05:30
|
|
|
app:fabAlignmentMode="end"
|
2020-08-12 03:50:22 +05:30
|
|
|
app:hideOnScroll="true"
|
|
|
|
app:titleMargin="0dp"
|
|
|
|
app:titleMarginStart="0dp"
|
|
|
|
tools:backgroundTint="@color/md_red_400">
|
2018-12-25 20:28:47 +05:30
|
|
|
|
2019-09-28 23:22:49 +05:30
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
2019-04-05 11:19:40 +05:30
|
|
|
android:id="@+id/toolbar"
|
2018-12-25 20:28:47 +05:30
|
|
|
android:layout_width="match_parent"
|
2021-09-12 01:28:33 +05:30
|
|
|
android:layout_height="match_parent"
|
2021-09-09 00:00:20 +05:30
|
|
|
android:gravity="start"
|
2020-07-20 02:30:30 +05:30
|
|
|
android:navigationIcon="@drawable/ic_keyboard_arrow_down_black"
|
2019-04-05 11:19:40 +05:30
|
|
|
app:contentInsetLeft="0dp"
|
|
|
|
app:contentInsetStart="0dp"
|
|
|
|
app:contentInsetStartWithNavigation="0dp"
|
2020-07-20 02:30:30 +05:30
|
|
|
app:navigationIcon="@drawable/ic_keyboard_backspace_black"
|
2020-05-12 22:13:00 +05:30
|
|
|
app:subtitleTextAppearance="@style/TextViewCaption"
|
2019-04-05 11:19:40 +05:30
|
|
|
app:titleMargin="0dp"
|
|
|
|
app:titleMarginStart="0dp"
|
2020-05-12 22:13:00 +05:30
|
|
|
app:titleTextAppearance="@style/TextViewSubtitle1"
|
2019-10-09 18:01:31 +05:30
|
|
|
tools:subtitle="@tools:sample/full_names"
|
|
|
|
tools:title="@tools:sample/full_names" />
|
2019-04-05 11:19:40 +05:30
|
|
|
|
2020-08-12 03:50:22 +05:30
|
|
|
</com.google.android.material.bottomappbar.BottomAppBar>
|
2021-09-09 00:00:20 +05:30
|
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginBottom="?attr/actionBarSize">
|
|
|
|
|
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
|
|
android:id="@+id/lyricsPager"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tabLyrics">
|
|
|
|
|
|
|
|
</androidx.viewpager2.widget.ViewPager2>
|
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
|
|
android:id="@+id/tabLyrics"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-09-16 18:29:31 +05:30
|
|
|
android:elevation="@dimen/toolbar_elevation"
|
2021-09-09 00:00:20 +05:30
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:tabIndicator="@drawable/tab_lyrics_indicator"
|
|
|
|
app:tabIndicatorAnimationMode="elastic"
|
|
|
|
app:tabIndicatorFullWidth="false"
|
|
|
|
app:tabIndicatorHeight="5dp" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2019-04-05 11:19:40 +05:30
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|