mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-25 01:51:03 +00:00
* feat: add a profile exit button * fix: prevent leaving landscape behind This prevents landscape being left out of changes and potentially causing a crash by adding a shared item for the identical portion of the views.
58 lines
2.2 KiB
XML
58 lines
2.2 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"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/profileProgressBar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
tools:visibility="gone">
|
|
|
|
<ProgressBar
|
|
style="?android:attr/progressBarStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<include layout="@layout/item_profile_app_bar" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
android:id="@+id/profileViewPager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:nestedScrollingEnabled="true"
|
|
tools:ignore="SpeakableTextPresentCheck" />
|
|
</LinearLayout>
|
|
|
|
|
|
<nl.joery.animatedbottombar.AnimatedBottomBar
|
|
android:id="@+id/profileNavBar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal|bottom"
|
|
android:background="?attr/colorSurface"
|
|
android:padding="0dp"
|
|
app:abb_animationInterpolator="@anim/over_shoot"
|
|
app:abb_indicatorAppearance="round"
|
|
app:abb_indicatorLocation="top"
|
|
app:abb_selectedTabType="text"
|
|
app:abb_textAppearance="@style/NavBarText"
|
|
app:itemActiveIndicatorStyle="@style/BottomNavBar"
|
|
app:itemIconTint="@color/tab_layout_icon"
|
|
app:itemRippleColor="#00000000"
|
|
app:itemTextAppearanceActive="@style/NavBarText"
|
|
app:itemTextAppearanceInactive="@style/NavBarText"
|
|
app:itemTextColor="@color/tab_layout_icon" />
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|