2020-04-24 18:15:37 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-09-14 15:58:34 -04:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-04-24 18:15:37 -04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2020-09-14 15:58:34 -04:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2020-04-24 18:15:37 -04:00
|
|
|
android:layout_width="match_parent"
|
2021-02-01 22:23:29 -05:00
|
|
|
android:layout_height="wrap_content">
|
2020-09-14 15:58:34 -04:00
|
|
|
|
2021-02-01 22:23:29 -05:00
|
|
|
<!-- Remove background color so rounded sheet corners work -->
|
2020-09-14 15:58:34 -04:00
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
|
|
android:id="@+id/tabs"
|
|
|
|
style="@style/Theme.Widget.Tabs"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2021-02-01 22:23:29 -05:00
|
|
|
android:background="@android:color/transparent"
|
2020-09-14 15:58:34 -04:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/menu"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:tabGravity="fill"
|
2021-05-22 12:02:49 -04:00
|
|
|
app:tabIndicatorColor="?attr/colorAccent"
|
|
|
|
app:tabMode="fixed"
|
|
|
|
app:tabTextColor="@color/tabs_selector_background" />
|
2020-09-14 15:58:34 -04:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/menu"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2021-05-22 11:55:05 -04:00
|
|
|
android:background="@drawable/ripple_regular"
|
2020-09-14 15:58:34 -04:00
|
|
|
android:contentDescription="@string/action_menu"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
2020-09-14 16:13:28 -04:00
|
|
|
android:visibility="gone"
|
2020-09-14 15:58:34 -04:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:srcCompat="@drawable/ic_more_vert_24dp"
|
2021-02-09 19:12:44 -05:00
|
|
|
app:tint="?attr/colorOnBackground"
|
2020-09-14 16:13:28 -04:00
|
|
|
tools:visibility="visible" />
|
2020-09-14 15:58:34 -04:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2020-04-24 18:15:37 -04:00
|
|
|
|
2021-02-07 10:49:08 -05:00
|
|
|
<androidx.viewpager.widget.ViewPager
|
2020-04-28 19:57:49 -04:00
|
|
|
android:id="@+id/pager"
|
2020-04-24 18:15:37 -04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
</LinearLayout>
|