2018-07-27 13:07:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-04-05 05:49:40 +00:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-11-05 15:52:22 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-10-09 12:31:31 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2018-07-27 13:58:24 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-10-12 19:13:48 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:transitionName="@string/transition_lyrics">
|
2019-04-05 05:49:40 +00:00
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appBarLayout"
|
|
|
|
android:layout_width="match_parent"
|
2019-12-01 15:27:01 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
android:elevation="0dp"
|
|
|
|
app:elevation="0dp">
|
2018-12-25 14:58:47 +00:00
|
|
|
|
2019-09-28 17:52:49 +00:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
2019-04-05 05:49:40 +00:00
|
|
|
android:id="@+id/toolbar"
|
2018-12-25 14:58:47 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-04-05 05:49:40 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:contentInsetLeft="0dp"
|
|
|
|
app:contentInsetStart="0dp"
|
|
|
|
app:contentInsetStartWithNavigation="0dp"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways"
|
2019-12-01 15:27:01 +00:00
|
|
|
app:navigationIcon="@drawable/ic_keyboard_backspace_black_24dp"
|
2019-11-21 14:40:02 +00:00
|
|
|
app:subtitleTextAppearance="@style/TextAppearance.AppCompat.Caption"
|
2019-04-05 05:49:40 +00:00
|
|
|
app:titleMargin="0dp"
|
|
|
|
app:titleMarginStart="0dp"
|
2019-11-21 14:40:02 +00:00
|
|
|
app:titleTextAppearance="@style/TextAppearance.AppCompat.Subhead"
|
2019-10-09 12:31:31 +00:00
|
|
|
tools:subtitle="@tools:sample/full_names"
|
|
|
|
tools:title="@tools:sample/full_names" />
|
2019-04-05 05:49:40 +00:00
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
|
|
android:id="@+id/tabs"
|
|
|
|
style="@style/TabLayoutStyle"
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
app:tabTextAppearance="@style/TabTextAppearance">
|
|
|
|
|
|
|
|
<com.google.android.material.tabs.TabItem
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/synced_lyrics" />
|
2018-12-25 14:58:47 +00:00
|
|
|
|
2019-04-05 05:49:40 +00:00
|
|
|
<com.google.android.material.tabs.TabItem
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/normal_lyrics" />
|
|
|
|
</com.google.android.material.tabs.TabLayout>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2018-11-05 15:52:22 +00:00
|
|
|
|
2019-10-09 12:31:31 +00:00
|
|
|
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
|
|
android:id="@+id/viewPager"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior" />
|
|
|
|
|
2019-03-28 13:32:53 +00:00
|
|
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
2018-12-08 03:34:15 +00:00
|
|
|
android:id="@+id/fab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|end"
|
2018-12-25 14:58:47 +00:00
|
|
|
android:layout_margin="16dp"
|
2019-03-28 13:32:53 +00:00
|
|
|
android:text="@string/edit"
|
|
|
|
app:icon="@drawable/ic_edit_white_24dp" />
|
2019-04-05 05:49:40 +00:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|