presentation/src/main/res-features/camera/layout/fragment_analyze_pic.xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2018 The Smash Ks Open Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<androidx.coordinatorlayout.widget.CoordinatorLayout
style="@style/Constraint.MatchParent"
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"
tools:context=".features.photograph.AnalyzeFragment">
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/abl_main"
android:layout_width="match_parent"
android:layout_height="256dp"
android:fitsSystemWindows="true"
android:theme="@style/ThemeOverlay.AppCompat.Dark">
<com.google.android.material.appbar.CollapsingToolbarLayout
android:id="@+id/ctl_collapsing"
style="@style/Constraint.MatchParent"
app:contentScrim="?attr/colorPrimary"
app:expandedTitleMarginEnd="@dimen/md_eight_unit"
app:expandedTitleMarginStart="@dimen/md_six_unit"
app:layout_scrollFlags="scroll|exitUntilCollapsed">
<ImageView
android:id="@+id/iv_backdrop"
style="@style/Constraint.MatchParent"
android:fitsSystemWindows="true"
app:layout_collapseMode="parallax"
tools:src="@drawable/logo_splash"/>
</com.google.android.material.appbar.CollapsingToolbarLayout>
</com.google.android.material.appbar.AppBarLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_analyzed"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:itemCount="6"
tools:listitem="@layout/item_label"/>
<include layout="@layout/merge_recycler_item_empty"/>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab_upload"
style="@style/FAB.Upload"
app:layout_anchor="@id/abl_main"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>