enter image description here <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"[![enter image description here][2]][2]
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:id="@+id/rootLayout_survey_ques"
tools:context=".survey.SurveyQuesActivity">
<include layout="@layout/toolbar"
android:id="@+id/survey_ques_toolbar"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/survey_ques_recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/survey_ques_toolbar"
android:layout_marginTop="2dp" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="16dp"
android:elevation="10dp"
android:id="@+id/fab_submit"
android:src="@drawable/ic_submit" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
when fab is clicked, snack bar appears, for that I have to use coordinator layout to move the fab horizontally above snack bar. But now the first few items of recycler view is not visible. It only starts with item3. Can someone pls help in solving this and what changes to be made. Thanks in advance!!
RecyclerView
. show its code and some screen how it looks and, if possible, how should be – snachmsm