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

60 lines
2.6 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"
2018-07-27 19:28:24 +05:30
android:layout_width="match_parent"
2018-11-05 21:22:22 +05:30
android:layout_height="match_parent">
2018-07-27 19:28:24 +05:30
2019-04-05 11:19:40 +05:30
<androidx.viewpager.widget.ViewPager
android:id="@+id/viewPager"
2018-08-01 12:21:27 +05:30
android:layout_width="match_parent"
2018-12-25 20:28:47 +05:30
android:layout_height="match_parent"
2019-04-05 11:19:40 +05:30
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior" />
2018-11-05 21:22:22 +05:30
2018-12-25 20:28:47 +05:30
2019-04-05 11:19:40 +05:30
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appBarLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
2018-12-25 20:28:47 +05:30
2019-04-05 11:19:40 +05:30
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
2018-12-25 20:28:47 +05:30
android:layout_width="match_parent"
2019-04-05 11:19:40 +05:30
android:layout_height="wrap_content"
android:navigationIcon="@drawable/ic_keyboard_arrow_down_black_24dp"
app:contentInsetLeft="0dp"
app:contentInsetStart="0dp"
app:contentInsetStartWithNavigation="0dp"
app:layout_scrollFlags="scroll|enterAlways"
app:subtitleTextAppearance="@style/TextAppearance.MaterialComponents.Caption"
app:titleMargin="0dp"
app:titleMarginStart="0dp"
app:titleTextAppearance="@style/TextAppearance.MaterialComponents.Subtitle1" />
<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 20:28:47 +05:30
2019-04-05 11:19:40 +05:30
<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 21:22:22 +05:30
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
2018-12-08 09:04:15 +05:30
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
2018-12-25 20:28:47 +05:30
android:layout_margin="16dp"
android:text="@string/edit"
app:icon="@drawable/ic_edit_white_24dp" />
2019-04-05 11:19:40 +05:30
</androidx.coordinatorlayout.widget.CoordinatorLayout>