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

73 lines
3.1 KiB
XML
Raw Normal View History

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"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">
2019-04-05 11:19:40 +05:30
2021-09-27 20:26:22 +05:30
<com.google.android.material.appbar.AppBarLayout
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:padding="0dp"
app:contentInsetLeft="0dp"
app:contentInsetStart="0dp"
app:contentInsetStartWithNavigation="0dp"
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"
android:layout_height="match_parent"
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"
app:subtitleTextAppearance="@style/TextViewCaption"
2019-04-05 11:19:40 +05:30
app:titleMargin="0dp"
app:titleMarginStart="0dp"
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
2021-09-27 20:26:22 +05:30
</com.google.android.material.appbar.AppBarLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
2021-09-27 20:26:22 +05:30
android:layout_marginTop="?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"
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>