mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-18 01:19:16 +01:00
aed6e12119
* Animated icon for the Library tab Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com> * Animated icon for the More tab Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com> * Rename more_vert to overflow Should maybe help any confusion together with the other more_horiz changes. * Animated icon for the History tab Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com> * Clarify names and clean files * Animated icon for the Updates tab * Animated icon for the Browse tab * Recreate the animated icon for the History tab History icons look better when the internal clock is not moving. Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
53 lines
2.2 KiB
XML
53 lines
2.2 KiB
XML
<?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"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<!-- Remove background color so rounded sheet corners work -->
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/tabs"
|
|
style="@style/Theme.Widget.Tabs"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:background="@android:color/transparent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toStartOf="@+id/menu"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:tabGravity="fill"
|
|
app:tabIndicatorColor="?attr/colorAccent"
|
|
app:tabMode="fixed"
|
|
app:tabTextColor="@color/tabs_selector_background" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/menu"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/ripple_regular"
|
|
android:contentDescription="@string/action_menu"
|
|
android:paddingStart="10dp"
|
|
android:paddingEnd="10dp"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:srcCompat="@drawable/ic_overflow_24dp"
|
|
app:tint="?attr/colorOnBackground"
|
|
tools:visibility="visible" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<eu.kanade.tachiyomi.widget.sheet.BottomSheetViewPager
|
|
android:id="@+id/pager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|