mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-04-10 17:12:01 +00:00
70 lines
3.2 KiB
XML
70 lines
3.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:id="@+id/homeCoordinator"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:animateLayoutChanges="true"
|
|
android:fitsSystemWindows="true"
|
|
tools:context=".activities.DirectMessagesActivity">
|
|
|
|
<fragment
|
|
android:id="@+id/direct_messages_nav_host_fragment"
|
|
android:name="androidx.navigation.fragment.NavHostFragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:defaultNavHost="true"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
app:navGraph="@navigation/direct_messages_nav_graph"
|
|
tools:ignore="FragmentTagUsage" />
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/appBarLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:liftOnScroll="true">
|
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout
|
|
android:id="@+id/collapsingToolbarLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:animateLayoutChanges="true"
|
|
app:contentScrim="?attr/colorPrimary"
|
|
app:layout_scrollFlags="scroll|enterAlways|exitUntilCollapsed|snap"
|
|
app:scrimAnimationDuration="10">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
app:layout_collapseMode="pin"
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
|
|
|
<TextView
|
|
android:id="@+id/toolbar_title"
|
|
style="@style/TextAppearance.AppCompat.Widget.ActionBar.Title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/app_name" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/dmInfo"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:background="?selectableItemBackgroundBorderless"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:paddingStart="4dp"
|
|
android:paddingLeft="4dp"
|
|
android:paddingTop="4dp"
|
|
android:paddingEnd="8dp"
|
|
android:paddingRight="8dp"
|
|
android:paddingBottom="4dp"
|
|
app:srcCompat="@drawable/ic_info" />
|
|
</androidx.appcompat.widget.Toolbar>
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |