2020-07-01 17:08:28 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-05-13 15:53:23 +00:00
|
|
|
<awais.instagrabber.customviews.InsetsNotifyingCoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-07-01 17:08:28 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:id="@+id/main_container"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:animateLayoutChanges="true"
|
2020-08-22 07:22:02 +00:00
|
|
|
tools:context=".activities.MainActivity">
|
2020-07-01 17:08:28 +00:00
|
|
|
|
2020-08-29 08:01:42 +00:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appBarLayout"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2020-07-01 17:08:28 +00:00
|
|
|
|
2020-08-29 08:01:42 +00:00
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout
|
2020-09-04 17:38:36 +00:00
|
|
|
android:id="@+id/collapsingToolbarLayout"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-11-14 18:58:27 +00:00
|
|
|
android:animateLayoutChanges="true"
|
|
|
|
android:minHeight="?attr/actionBarSize"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlwaysCollapsed|exitUntilCollapsed"
|
2020-08-29 08:01:42 +00:00
|
|
|
app:titleEnabled="false">
|
2020-07-01 17:08:28 +00:00
|
|
|
|
2020-08-29 08:01:42 +00:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/toolbar"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:layout_height="?attr/actionBarSize"
|
2021-04-15 14:33:00 +00:00
|
|
|
android:background="?attr/toolbarColor"
|
2020-11-14 18:58:27 +00:00
|
|
|
app:layout_collapseMode="pin"
|
2020-09-05 17:02:54 +00:00
|
|
|
app:title="@string/app_name"
|
2021-04-13 15:17:23 +00:00
|
|
|
tools:menu="@menu/main_menu">
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/search_input_layout"
|
2021-04-15 14:33:00 +00:00
|
|
|
style="?searchInputStyle"
|
2021-04-13 15:17:23 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:boxStrokeColor="@null"
|
|
|
|
app:boxStrokeWidth="0dp"
|
|
|
|
app:boxStrokeWidthFocused="0dp"
|
|
|
|
app:endIconContentDescription="@string/clear"
|
|
|
|
app:endIconDrawable="@drawable/ic_close_24"
|
|
|
|
app:endIconMode="custom"
|
|
|
|
app:hintEnabled="false"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/search" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</com.google.android.material.appbar.MaterialToolbar>
|
2020-08-29 08:01:42 +00:00
|
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
|
|
android:id="@+id/main_nav_host"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-05-13 15:53:23 +00:00
|
|
|
android:clipToPadding="false"
|
2020-08-29 08:01:42 +00:00
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
2020-07-01 17:08:28 +00:00
|
|
|
|
2021-05-11 11:07:10 +00:00
|
|
|
<!--app:layout_behavior="@string/hide_bottom_view_on_scroll_behavior"-->
|
2020-08-29 08:01:42 +00:00
|
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
|
|
|
android:id="@+id/bottomNavView"
|
2020-07-01 17:08:28 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-29 08:01:42 +00:00
|
|
|
android:layout_gravity="bottom"
|
2021-05-11 11:07:10 +00:00
|
|
|
app:labelVisibilityMode="auto" />
|
2021-05-13 15:53:23 +00:00
|
|
|
</awais.instagrabber.customviews.InsetsNotifyingCoordinatorLayout>
|