You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.4 KiB
XML
41 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".details.ui.DetailsActivity">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/appbar"
|
|
style="@style/Widget.Kotatsu.AppBar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:elevation="0dp">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@id/toolbar"
|
|
style="@style/Widget.Kotatsu.Toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_scrollFlags="scroll|enterAlways" />
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/tabs"
|
|
style="@style/Widget.Kotatsu.Tabs"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:tabGravity="fill"
|
|
app:tabMaxWidth="0dp"
|
|
app:tabMode="fixed" />
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
android:id="@+id/pager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |