How to place textView on top of the recycler view?










2















I have a recyclerView (Shimmer RecyclerView) and a fab. I need to display a description for my fab but when I place a textView in the xml file, the textView is displayed behind the recyclerView while I need it on top of the recyclerView. Any idea how to achieve the disired result?



My code:



<android.support.design.widget.CoordinatorLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<android.support.design.widget.FloatingActionButton
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_gravity="bottom|left"
android:layout_marginLeft="10dp"
android:layout_marginBottom="10dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|left"
android:layout_marginLeft="80dp"
android:layout_marginBottom="21dp"
android:background="@drawable/dark_gray_rounded"
android:gravity="center"
android:padding="10dp"
android:text="someText"
android:textColor="@color/white" />

<com.cooltechworks.views.shimmer.ShimmerRecyclerView xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:paddingTop="15dp"
app:shimmer_demo_angle="35"
app:shimmer_demo_child_count="10"
app:shimmer_demo_layout_manager_type="linear_vertical"
app:shimmer_demo_reverse_animation="true" />
</android.support.design.widget.CoordinatorLayout>









share|improve this question




























    2















    I have a recyclerView (Shimmer RecyclerView) and a fab. I need to display a description for my fab but when I place a textView in the xml file, the textView is displayed behind the recyclerView while I need it on top of the recyclerView. Any idea how to achieve the disired result?



    My code:



    <android.support.design.widget.CoordinatorLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <android.support.design.widget.FloatingActionButton
    android:layout_width="60dp"
    android:layout_height="60dp"
    android:layout_gravity="bottom|left"
    android:layout_marginLeft="10dp"
    android:layout_marginBottom="10dp" />

    <TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="bottom|left"
    android:layout_marginLeft="80dp"
    android:layout_marginBottom="21dp"
    android:background="@drawable/dark_gray_rounded"
    android:gravity="center"
    android:padding="10dp"
    android:text="someText"
    android:textColor="@color/white" />

    <com.cooltechworks.views.shimmer.ShimmerRecyclerView xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:clipToPadding="false"
    android:paddingTop="15dp"
    app:shimmer_demo_angle="35"
    app:shimmer_demo_child_count="10"
    app:shimmer_demo_layout_manager_type="linear_vertical"
    app:shimmer_demo_reverse_animation="true" />
    </android.support.design.widget.CoordinatorLayout>









    share|improve this question


























      2












      2








      2








      I have a recyclerView (Shimmer RecyclerView) and a fab. I need to display a description for my fab but when I place a textView in the xml file, the textView is displayed behind the recyclerView while I need it on top of the recyclerView. Any idea how to achieve the disired result?



      My code:



      <android.support.design.widget.CoordinatorLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent">

      <android.support.design.widget.FloatingActionButton
      android:layout_width="60dp"
      android:layout_height="60dp"
      android:layout_gravity="bottom|left"
      android:layout_marginLeft="10dp"
      android:layout_marginBottom="10dp" />

      <TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="bottom|left"
      android:layout_marginLeft="80dp"
      android:layout_marginBottom="21dp"
      android:background="@drawable/dark_gray_rounded"
      android:gravity="center"
      android:padding="10dp"
      android:text="someText"
      android:textColor="@color/white" />

      <com.cooltechworks.views.shimmer.ShimmerRecyclerView xmlns:app="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:clipToPadding="false"
      android:paddingTop="15dp"
      app:shimmer_demo_angle="35"
      app:shimmer_demo_child_count="10"
      app:shimmer_demo_layout_manager_type="linear_vertical"
      app:shimmer_demo_reverse_animation="true" />
      </android.support.design.widget.CoordinatorLayout>









      share|improve this question
















      I have a recyclerView (Shimmer RecyclerView) and a fab. I need to display a description for my fab but when I place a textView in the xml file, the textView is displayed behind the recyclerView while I need it on top of the recyclerView. Any idea how to achieve the disired result?



      My code:



      <android.support.design.widget.CoordinatorLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent">

      <android.support.design.widget.FloatingActionButton
      android:layout_width="60dp"
      android:layout_height="60dp"
      android:layout_gravity="bottom|left"
      android:layout_marginLeft="10dp"
      android:layout_marginBottom="10dp" />

      <TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="bottom|left"
      android:layout_marginLeft="80dp"
      android:layout_marginBottom="21dp"
      android:background="@drawable/dark_gray_rounded"
      android:gravity="center"
      android:padding="10dp"
      android:text="someText"
      android:textColor="@color/white" />

      <com.cooltechworks.views.shimmer.ShimmerRecyclerView xmlns:app="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:clipToPadding="false"
      android:paddingTop="15dp"
      app:shimmer_demo_angle="35"
      app:shimmer_demo_child_count="10"
      app:shimmer_demo_layout_manager_type="linear_vertical"
      app:shimmer_demo_reverse_animation="true" />
      </android.support.design.widget.CoordinatorLayout>






      android






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 15 '18 at 19:36









      Code-Apprentice

      48.1k1490178




      48.1k1490178










      asked Nov 15 '18 at 19:34









      AK 12AK 12

      609




      609






















          3 Answers
          3






          active

          oldest

          votes


















          1














          CoordinatorLayout extends from FrameLayout, so the child Views are stacked each on top of the previous one (with the FloatingActionButton as an exception because this View specifically is managed by the CoordinatorLayout).



          So you need to swap the TextView and the RecyclerView to achieve the desired effect (at least it works with a "normal" RecyclerView)



          <android.support.design.widget.CoordinatorLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent">

          <android.support.design.widget.FloatingActionButton
          android:layout_width="60dp"
          android:layout_height="60dp"
          android:layout_gravity="bottom|left"
          android:layout_marginLeft="10dp"
          android:layout_marginBottom="10dp" />

          <com.cooltechworks.views.shimmer.ShimmerRecyclerView xmlns:app="http://schemas.android.com/apk/res-auto"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:clipToPadding="false"
          android:paddingTop="15dp"
          app:shimmer_demo_angle="35"
          app:shimmer_demo_child_count="10"
          app:shimmer_demo_layout_manager_type="linear_vertical"
          app:shimmer_demo_reverse_animation="true" />

          <TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="bottom|left"
          android:layout_marginLeft="80dp"
          android:layout_marginBottom="21dp"
          android:background="@drawable/dark_gray_rounded"
          android:gravity="center"
          android:padding="10dp"
          android:text="someText"
          android:textColor="@color/white" />
          </android.support.design.widget.CoordinatorLayout>





          share|improve this answer























          • Thanks for your good description.

            – AK 12
            Nov 15 '18 at 20:14


















          3














          Try this:



          <android.support.design.widget.CoordinatorLayout
          xmlns:android="http://schemas.android.com/apk/res/android"
          android:layout_width="match_parent"
          android:layout_height="match_parent">

          <android.support.design.widget.FloatingActionButton
          android:layout_width="60dp"
          android:layout_height="60dp"
          android:layout_gravity="bottom|left"
          android:layout_marginLeft="10dp"
          android:layout_marginBottom="10dp" />

          <com.cooltechworks.views.shimmer.ShimmerRecyclerView xmlns:app="http://schemas.android.com/apk/res-auto"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:clipToPadding="false"
          android:paddingTop="15dp"
          app:shimmer_demo_angle="35"
          app:shimmer_demo_child_count="10"
          app:shimmer_demo_layout_manager_type="linear_vertical"
          app:shimmer_demo_reverse_animation="true"/>

          <TextView
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_gravity="bottom|left"
          android:layout_marginLeft="80dp"
          android:layout_marginBottom="21dp"
          android:background="@drawable/dark_gray_rounded"
          android:gravity="center"
          android:padding="10dp"
          android:text="someText"
          android:textColor="@color/white" />




          I have tried this. It works same as you wish in question. I Hope this work for you.






          share|improve this answer






























            0














            organise your fab and textView in a separate layout, and include that in your coordinatorLayout






            share|improve this answer























            • Tried that but no result, see the accepted answer.

              – AK 12
              Nov 15 '18 at 21:59











            • glad you got it fixed!

              – Nikos Hidalgo
              Nov 16 '18 at 9:06










            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53326754%2fhow-to-place-textview-on-top-of-the-recycler-view%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            CoordinatorLayout extends from FrameLayout, so the child Views are stacked each on top of the previous one (with the FloatingActionButton as an exception because this View specifically is managed by the CoordinatorLayout).



            So you need to swap the TextView and the RecyclerView to achieve the desired effect (at least it works with a "normal" RecyclerView)



            <android.support.design.widget.CoordinatorLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <android.support.design.widget.FloatingActionButton
            android:layout_width="60dp"
            android:layout_height="60dp"
            android:layout_gravity="bottom|left"
            android:layout_marginLeft="10dp"
            android:layout_marginBottom="10dp" />

            <com.cooltechworks.views.shimmer.ShimmerRecyclerView xmlns:app="http://schemas.android.com/apk/res-auto"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:clipToPadding="false"
            android:paddingTop="15dp"
            app:shimmer_demo_angle="35"
            app:shimmer_demo_child_count="10"
            app:shimmer_demo_layout_manager_type="linear_vertical"
            app:shimmer_demo_reverse_animation="true" />

            <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom|left"
            android:layout_marginLeft="80dp"
            android:layout_marginBottom="21dp"
            android:background="@drawable/dark_gray_rounded"
            android:gravity="center"
            android:padding="10dp"
            android:text="someText"
            android:textColor="@color/white" />
            </android.support.design.widget.CoordinatorLayout>





            share|improve this answer























            • Thanks for your good description.

              – AK 12
              Nov 15 '18 at 20:14















            1














            CoordinatorLayout extends from FrameLayout, so the child Views are stacked each on top of the previous one (with the FloatingActionButton as an exception because this View specifically is managed by the CoordinatorLayout).



            So you need to swap the TextView and the RecyclerView to achieve the desired effect (at least it works with a "normal" RecyclerView)



            <android.support.design.widget.CoordinatorLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <android.support.design.widget.FloatingActionButton
            android:layout_width="60dp"
            android:layout_height="60dp"
            android:layout_gravity="bottom|left"
            android:layout_marginLeft="10dp"
            android:layout_marginBottom="10dp" />

            <com.cooltechworks.views.shimmer.ShimmerRecyclerView xmlns:app="http://schemas.android.com/apk/res-auto"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:clipToPadding="false"
            android:paddingTop="15dp"
            app:shimmer_demo_angle="35"
            app:shimmer_demo_child_count="10"
            app:shimmer_demo_layout_manager_type="linear_vertical"
            app:shimmer_demo_reverse_animation="true" />

            <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom|left"
            android:layout_marginLeft="80dp"
            android:layout_marginBottom="21dp"
            android:background="@drawable/dark_gray_rounded"
            android:gravity="center"
            android:padding="10dp"
            android:text="someText"
            android:textColor="@color/white" />
            </android.support.design.widget.CoordinatorLayout>





            share|improve this answer























            • Thanks for your good description.

              – AK 12
              Nov 15 '18 at 20:14













            1












            1








            1







            CoordinatorLayout extends from FrameLayout, so the child Views are stacked each on top of the previous one (with the FloatingActionButton as an exception because this View specifically is managed by the CoordinatorLayout).



            So you need to swap the TextView and the RecyclerView to achieve the desired effect (at least it works with a "normal" RecyclerView)



            <android.support.design.widget.CoordinatorLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <android.support.design.widget.FloatingActionButton
            android:layout_width="60dp"
            android:layout_height="60dp"
            android:layout_gravity="bottom|left"
            android:layout_marginLeft="10dp"
            android:layout_marginBottom="10dp" />

            <com.cooltechworks.views.shimmer.ShimmerRecyclerView xmlns:app="http://schemas.android.com/apk/res-auto"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:clipToPadding="false"
            android:paddingTop="15dp"
            app:shimmer_demo_angle="35"
            app:shimmer_demo_child_count="10"
            app:shimmer_demo_layout_manager_type="linear_vertical"
            app:shimmer_demo_reverse_animation="true" />

            <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom|left"
            android:layout_marginLeft="80dp"
            android:layout_marginBottom="21dp"
            android:background="@drawable/dark_gray_rounded"
            android:gravity="center"
            android:padding="10dp"
            android:text="someText"
            android:textColor="@color/white" />
            </android.support.design.widget.CoordinatorLayout>





            share|improve this answer













            CoordinatorLayout extends from FrameLayout, so the child Views are stacked each on top of the previous one (with the FloatingActionButton as an exception because this View specifically is managed by the CoordinatorLayout).



            So you need to swap the TextView and the RecyclerView to achieve the desired effect (at least it works with a "normal" RecyclerView)



            <android.support.design.widget.CoordinatorLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <android.support.design.widget.FloatingActionButton
            android:layout_width="60dp"
            android:layout_height="60dp"
            android:layout_gravity="bottom|left"
            android:layout_marginLeft="10dp"
            android:layout_marginBottom="10dp" />

            <com.cooltechworks.views.shimmer.ShimmerRecyclerView xmlns:app="http://schemas.android.com/apk/res-auto"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:clipToPadding="false"
            android:paddingTop="15dp"
            app:shimmer_demo_angle="35"
            app:shimmer_demo_child_count="10"
            app:shimmer_demo_layout_manager_type="linear_vertical"
            app:shimmer_demo_reverse_animation="true" />

            <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom|left"
            android:layout_marginLeft="80dp"
            android:layout_marginBottom="21dp"
            android:background="@drawable/dark_gray_rounded"
            android:gravity="center"
            android:padding="10dp"
            android:text="someText"
            android:textColor="@color/white" />
            </android.support.design.widget.CoordinatorLayout>






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 15 '18 at 19:57









            0X0nosugar0X0nosugar

            7,64831844




            7,64831844












            • Thanks for your good description.

              – AK 12
              Nov 15 '18 at 20:14

















            • Thanks for your good description.

              – AK 12
              Nov 15 '18 at 20:14
















            Thanks for your good description.

            – AK 12
            Nov 15 '18 at 20:14





            Thanks for your good description.

            – AK 12
            Nov 15 '18 at 20:14













            3














            Try this:



            <android.support.design.widget.CoordinatorLayout
            xmlns:android="http://schemas.android.com/apk/res/android"
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <android.support.design.widget.FloatingActionButton
            android:layout_width="60dp"
            android:layout_height="60dp"
            android:layout_gravity="bottom|left"
            android:layout_marginLeft="10dp"
            android:layout_marginBottom="10dp" />

            <com.cooltechworks.views.shimmer.ShimmerRecyclerView xmlns:app="http://schemas.android.com/apk/res-auto"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:clipToPadding="false"
            android:paddingTop="15dp"
            app:shimmer_demo_angle="35"
            app:shimmer_demo_child_count="10"
            app:shimmer_demo_layout_manager_type="linear_vertical"
            app:shimmer_demo_reverse_animation="true"/>

            <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom|left"
            android:layout_marginLeft="80dp"
            android:layout_marginBottom="21dp"
            android:background="@drawable/dark_gray_rounded"
            android:gravity="center"
            android:padding="10dp"
            android:text="someText"
            android:textColor="@color/white" />




            I have tried this. It works same as you wish in question. I Hope this work for you.






            share|improve this answer



























              3














              Try this:



              <android.support.design.widget.CoordinatorLayout
              xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="match_parent"
              android:layout_height="match_parent">

              <android.support.design.widget.FloatingActionButton
              android:layout_width="60dp"
              android:layout_height="60dp"
              android:layout_gravity="bottom|left"
              android:layout_marginLeft="10dp"
              android:layout_marginBottom="10dp" />

              <com.cooltechworks.views.shimmer.ShimmerRecyclerView xmlns:app="http://schemas.android.com/apk/res-auto"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:clipToPadding="false"
              android:paddingTop="15dp"
              app:shimmer_demo_angle="35"
              app:shimmer_demo_child_count="10"
              app:shimmer_demo_layout_manager_type="linear_vertical"
              app:shimmer_demo_reverse_animation="true"/>

              <TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_gravity="bottom|left"
              android:layout_marginLeft="80dp"
              android:layout_marginBottom="21dp"
              android:background="@drawable/dark_gray_rounded"
              android:gravity="center"
              android:padding="10dp"
              android:text="someText"
              android:textColor="@color/white" />




              I have tried this. It works same as you wish in question. I Hope this work for you.






              share|improve this answer

























                3












                3








                3







                Try this:



                <android.support.design.widget.CoordinatorLayout
                xmlns:android="http://schemas.android.com/apk/res/android"
                android:layout_width="match_parent"
                android:layout_height="match_parent">

                <android.support.design.widget.FloatingActionButton
                android:layout_width="60dp"
                android:layout_height="60dp"
                android:layout_gravity="bottom|left"
                android:layout_marginLeft="10dp"
                android:layout_marginBottom="10dp" />

                <com.cooltechworks.views.shimmer.ShimmerRecyclerView xmlns:app="http://schemas.android.com/apk/res-auto"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:clipToPadding="false"
                android:paddingTop="15dp"
                app:shimmer_demo_angle="35"
                app:shimmer_demo_child_count="10"
                app:shimmer_demo_layout_manager_type="linear_vertical"
                app:shimmer_demo_reverse_animation="true"/>

                <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="bottom|left"
                android:layout_marginLeft="80dp"
                android:layout_marginBottom="21dp"
                android:background="@drawable/dark_gray_rounded"
                android:gravity="center"
                android:padding="10dp"
                android:text="someText"
                android:textColor="@color/white" />




                I have tried this. It works same as you wish in question. I Hope this work for you.






                share|improve this answer













                Try this:



                <android.support.design.widget.CoordinatorLayout
                xmlns:android="http://schemas.android.com/apk/res/android"
                android:layout_width="match_parent"
                android:layout_height="match_parent">

                <android.support.design.widget.FloatingActionButton
                android:layout_width="60dp"
                android:layout_height="60dp"
                android:layout_gravity="bottom|left"
                android:layout_marginLeft="10dp"
                android:layout_marginBottom="10dp" />

                <com.cooltechworks.views.shimmer.ShimmerRecyclerView xmlns:app="http://schemas.android.com/apk/res-auto"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:clipToPadding="false"
                android:paddingTop="15dp"
                app:shimmer_demo_angle="35"
                app:shimmer_demo_child_count="10"
                app:shimmer_demo_layout_manager_type="linear_vertical"
                app:shimmer_demo_reverse_animation="true"/>

                <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="bottom|left"
                android:layout_marginLeft="80dp"
                android:layout_marginBottom="21dp"
                android:background="@drawable/dark_gray_rounded"
                android:gravity="center"
                android:padding="10dp"
                android:text="someText"
                android:textColor="@color/white" />




                I have tried this. It works same as you wish in question. I Hope this work for you.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 15 '18 at 19:59









                Ibrar RazaIbrar Raza

                2095




                2095





















                    0














                    organise your fab and textView in a separate layout, and include that in your coordinatorLayout






                    share|improve this answer























                    • Tried that but no result, see the accepted answer.

                      – AK 12
                      Nov 15 '18 at 21:59











                    • glad you got it fixed!

                      – Nikos Hidalgo
                      Nov 16 '18 at 9:06















                    0














                    organise your fab and textView in a separate layout, and include that in your coordinatorLayout






                    share|improve this answer























                    • Tried that but no result, see the accepted answer.

                      – AK 12
                      Nov 15 '18 at 21:59











                    • glad you got it fixed!

                      – Nikos Hidalgo
                      Nov 16 '18 at 9:06













                    0












                    0








                    0







                    organise your fab and textView in a separate layout, and include that in your coordinatorLayout






                    share|improve this answer













                    organise your fab and textView in a separate layout, and include that in your coordinatorLayout







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 15 '18 at 19:57









                    Nikos HidalgoNikos Hidalgo

                    1,1781318




                    1,1781318












                    • Tried that but no result, see the accepted answer.

                      – AK 12
                      Nov 15 '18 at 21:59











                    • glad you got it fixed!

                      – Nikos Hidalgo
                      Nov 16 '18 at 9:06

















                    • Tried that but no result, see the accepted answer.

                      – AK 12
                      Nov 15 '18 at 21:59











                    • glad you got it fixed!

                      – Nikos Hidalgo
                      Nov 16 '18 at 9:06
















                    Tried that but no result, see the accepted answer.

                    – AK 12
                    Nov 15 '18 at 21:59





                    Tried that but no result, see the accepted answer.

                    – AK 12
                    Nov 15 '18 at 21:59













                    glad you got it fixed!

                    – Nikos Hidalgo
                    Nov 16 '18 at 9:06





                    glad you got it fixed!

                    – Nikos Hidalgo
                    Nov 16 '18 at 9:06

















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53326754%2fhow-to-place-textview-on-top-of-the-recycler-view%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Top Tejano songwriter Luis Silva dead of heart attack at 64

                    ReactJS Fetched API data displays live - need Data displayed static

                    Evgeni Malkin