Overlap Imageview in bottomsheetfragment












0















Im trying to achieve an effect like this on a bottomSheetFragment where the Imageview overlaps on-top of the BottomSheetFragment.
I tried to constrain the image view to the top of the card view set a margin then make the background of the layout transparent



[1]



But this is how it comes out when i run it



[2]



This is my XML attempt:



<?xml version="1.0" encoding="utf-8"?>
<android.support.design.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:layout_width="match_parent"
android:layout_height="wrap_content"

tools:context=".ui.generalviews.SuccessBottomSheetFragment">

<android.support.v7.widget.CardView
android:id="@+id/card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardCornerRadius="8dp"
>

<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">

<ImageView
android:id="@+id/imageView12"
android:layout_width="80dp"
android:layout_height="80dp"
android:src="@drawable/successicon"
android:visibility="gone"
app:layout_constraintBottom_toTopOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<TextView
android:id="@+id/textView8"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:fontFamily="@font/buenosairesweb_light"
android:inputType="number"
android:text="₦5,000.00"
android:textColor="#242C37"
android:textSize="22sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView12" />

<TextView
android:id="@+id/textView9"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:fontFamily="@font/buenosaires2web_bold"
android:text="john oladr"
android:textColor="@android:color/black"
android:textSize="14sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView8" />

<TextView
android:id="@+id/textView11"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginTop="16dp"
android:fontFamily="@font/buenosairesweb_light"
android:text="428948929 "
android:textColor="#242C37"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView9" />
</android.support.constraint.ConstraintLayout>
</android.support.v7.widget.CardView>

<android.support.design.widget.FloatingActionButton
android:id="@+id/imageView122"
android:layout_width="80dp"
android:layout_height="80dp"
android:background="@drawable/successicon"
app:layout_anchor="@+id/card"
app:layout_anchorGravity="top|center_horizontal"/>











share|improve this question





























    0















    Im trying to achieve an effect like this on a bottomSheetFragment where the Imageview overlaps on-top of the BottomSheetFragment.
    I tried to constrain the image view to the top of the card view set a margin then make the background of the layout transparent



    [1]



    But this is how it comes out when i run it



    [2]



    This is my XML attempt:



    <?xml version="1.0" encoding="utf-8"?>
    <android.support.design.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:layout_width="match_parent"
    android:layout_height="wrap_content"

    tools:context=".ui.generalviews.SuccessBottomSheetFragment">

    <android.support.v7.widget.CardView
    android:id="@+id/card"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:cardCornerRadius="8dp"
    >

    <android.support.constraint.ConstraintLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <ImageView
    android:id="@+id/imageView12"
    android:layout_width="80dp"
    android:layout_height="80dp"
    android:src="@drawable/successicon"
    android:visibility="gone"
    app:layout_constraintBottom_toTopOf="parent"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintHorizontal_bias="0.5"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toTopOf="parent" />

    <TextView
    android:id="@+id/textView8"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="24dp"
    android:fontFamily="@font/buenosairesweb_light"
    android:inputType="number"
    android:text="₦5,000.00"
    android:textColor="#242C37"
    android:textSize="22sp"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintHorizontal_bias="0.5"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/imageView12" />

    <TextView
    android:id="@+id/textView9"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="16dp"
    android:fontFamily="@font/buenosaires2web_bold"
    android:text="john oladr"
    android:textColor="@android:color/black"
    android:textSize="14sp"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintHorizontal_bias="0.5"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/textView8" />

    <TextView
    android:id="@+id/textView11"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginBottom="8dp"
    android:layout_marginTop="16dp"
    android:fontFamily="@font/buenosairesweb_light"
    android:text="428948929 "
    android:textColor="#242C37"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintHorizontal_bias="0.5"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/textView9" />
    </android.support.constraint.ConstraintLayout>
    </android.support.v7.widget.CardView>

    <android.support.design.widget.FloatingActionButton
    android:id="@+id/imageView122"
    android:layout_width="80dp"
    android:layout_height="80dp"
    android:background="@drawable/successicon"
    app:layout_anchor="@+id/card"
    app:layout_anchorGravity="top|center_horizontal"/>











    share|improve this question



























      0












      0








      0








      Im trying to achieve an effect like this on a bottomSheetFragment where the Imageview overlaps on-top of the BottomSheetFragment.
      I tried to constrain the image view to the top of the card view set a margin then make the background of the layout transparent



      [1]



      But this is how it comes out when i run it



      [2]



      This is my XML attempt:



      <?xml version="1.0" encoding="utf-8"?>
      <android.support.design.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:layout_width="match_parent"
      android:layout_height="wrap_content"

      tools:context=".ui.generalviews.SuccessBottomSheetFragment">

      <android.support.v7.widget.CardView
      android:id="@+id/card"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      app:cardCornerRadius="8dp"
      >

      <android.support.constraint.ConstraintLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content">

      <ImageView
      android:id="@+id/imageView12"
      android:layout_width="80dp"
      android:layout_height="80dp"
      android:src="@drawable/successicon"
      android:visibility="gone"
      app:layout_constraintBottom_toTopOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.5"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toTopOf="parent" />

      <TextView
      android:id="@+id/textView8"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_marginTop="24dp"
      android:fontFamily="@font/buenosairesweb_light"
      android:inputType="number"
      android:text="₦5,000.00"
      android:textColor="#242C37"
      android:textSize="22sp"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.5"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toBottomOf="@+id/imageView12" />

      <TextView
      android:id="@+id/textView9"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_marginTop="16dp"
      android:fontFamily="@font/buenosaires2web_bold"
      android:text="john oladr"
      android:textColor="@android:color/black"
      android:textSize="14sp"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.5"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toBottomOf="@+id/textView8" />

      <TextView
      android:id="@+id/textView11"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_marginBottom="8dp"
      android:layout_marginTop="16dp"
      android:fontFamily="@font/buenosairesweb_light"
      android:text="428948929 "
      android:textColor="#242C37"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.5"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toBottomOf="@+id/textView9" />
      </android.support.constraint.ConstraintLayout>
      </android.support.v7.widget.CardView>

      <android.support.design.widget.FloatingActionButton
      android:id="@+id/imageView122"
      android:layout_width="80dp"
      android:layout_height="80dp"
      android:background="@drawable/successicon"
      app:layout_anchor="@+id/card"
      app:layout_anchorGravity="top|center_horizontal"/>











      share|improve this question
















      Im trying to achieve an effect like this on a bottomSheetFragment where the Imageview overlaps on-top of the BottomSheetFragment.
      I tried to constrain the image view to the top of the card view set a margin then make the background of the layout transparent



      [1]



      But this is how it comes out when i run it



      [2]



      This is my XML attempt:



      <?xml version="1.0" encoding="utf-8"?>
      <android.support.design.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:layout_width="match_parent"
      android:layout_height="wrap_content"

      tools:context=".ui.generalviews.SuccessBottomSheetFragment">

      <android.support.v7.widget.CardView
      android:id="@+id/card"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      app:cardCornerRadius="8dp"
      >

      <android.support.constraint.ConstraintLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content">

      <ImageView
      android:id="@+id/imageView12"
      android:layout_width="80dp"
      android:layout_height="80dp"
      android:src="@drawable/successicon"
      android:visibility="gone"
      app:layout_constraintBottom_toTopOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.5"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toTopOf="parent" />

      <TextView
      android:id="@+id/textView8"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_marginTop="24dp"
      android:fontFamily="@font/buenosairesweb_light"
      android:inputType="number"
      android:text="₦5,000.00"
      android:textColor="#242C37"
      android:textSize="22sp"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.5"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toBottomOf="@+id/imageView12" />

      <TextView
      android:id="@+id/textView9"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_marginTop="16dp"
      android:fontFamily="@font/buenosaires2web_bold"
      android:text="john oladr"
      android:textColor="@android:color/black"
      android:textSize="14sp"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.5"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toBottomOf="@+id/textView8" />

      <TextView
      android:id="@+id/textView11"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_marginBottom="8dp"
      android:layout_marginTop="16dp"
      android:fontFamily="@font/buenosairesweb_light"
      android:text="428948929 "
      android:textColor="#242C37"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.5"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toBottomOf="@+id/textView9" />
      </android.support.constraint.ConstraintLayout>
      </android.support.v7.widget.CardView>

      <android.support.design.widget.FloatingActionButton
      android:id="@+id/imageView122"
      android:layout_width="80dp"
      android:layout_height="80dp"
      android:background="@drawable/successicon"
      app:layout_anchor="@+id/card"
      app:layout_anchorGravity="top|center_horizontal"/>








      android xml android-layout






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 15 '18 at 12:30







      Bolu Okunaiya

















      asked Nov 15 '18 at 11:07









      Bolu OkunaiyaBolu Okunaiya

      715




      715
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Without code and just by looking at your images it looks like you have not anchored your view to bottomsheet. Add below properties to your tick view.



              app:layout_anchor="@+id/bottom_sheet"
          app:layout_anchorGravity="top|center_horizontal"


          you would need to use CoordinatorLayout to use this.



          also you are using ImageView use FloatingActionButton. replace your Image with below code and try.



          <android.support.design.widget.FloatingActionButton
          android:id="@+id/imageView122"
          android:layout_width="80dp"
          android:layout_height="80dp"
          android:src="@drawable/successicon"
          app:layout_anchor="@+id/card"
          app:layout_anchorGravity="top|center_horizontal"/>


          if you want to continue with ImageView provide some elevation as cardview will be having some elevation by default.






          share|improve this answer


























          • Do i add this to the BottomSheet layout?

            – Bolu Okunaiya
            Nov 15 '18 at 11:19











          • to your tickmark icon (image or fab)

            – Karan Mer
            Nov 15 '18 at 11:24











          • Thanks for the help, i tried that but it doesn't seem to display again. i posted my code.

            – Bolu Okunaiya
            Nov 15 '18 at 11:33











          • Remove empty coordinator layout you have added and replace make your parent layout to CoordinatorLayout from ConstraintLayout currently you are using constratint layout, both are different.

            – Karan Mer
            Nov 15 '18 at 11:38













          • I did that but the tick still doesn't display edited my code accordingly

            – Bolu Okunaiya
            Nov 15 '18 at 11:51











          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%2f53318106%2foverlap-imageview-in-bottomsheetfragment%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Without code and just by looking at your images it looks like you have not anchored your view to bottomsheet. Add below properties to your tick view.



              app:layout_anchor="@+id/bottom_sheet"
          app:layout_anchorGravity="top|center_horizontal"


          you would need to use CoordinatorLayout to use this.



          also you are using ImageView use FloatingActionButton. replace your Image with below code and try.



          <android.support.design.widget.FloatingActionButton
          android:id="@+id/imageView122"
          android:layout_width="80dp"
          android:layout_height="80dp"
          android:src="@drawable/successicon"
          app:layout_anchor="@+id/card"
          app:layout_anchorGravity="top|center_horizontal"/>


          if you want to continue with ImageView provide some elevation as cardview will be having some elevation by default.






          share|improve this answer


























          • Do i add this to the BottomSheet layout?

            – Bolu Okunaiya
            Nov 15 '18 at 11:19











          • to your tickmark icon (image or fab)

            – Karan Mer
            Nov 15 '18 at 11:24











          • Thanks for the help, i tried that but it doesn't seem to display again. i posted my code.

            – Bolu Okunaiya
            Nov 15 '18 at 11:33











          • Remove empty coordinator layout you have added and replace make your parent layout to CoordinatorLayout from ConstraintLayout currently you are using constratint layout, both are different.

            – Karan Mer
            Nov 15 '18 at 11:38













          • I did that but the tick still doesn't display edited my code accordingly

            – Bolu Okunaiya
            Nov 15 '18 at 11:51
















          0














          Without code and just by looking at your images it looks like you have not anchored your view to bottomsheet. Add below properties to your tick view.



              app:layout_anchor="@+id/bottom_sheet"
          app:layout_anchorGravity="top|center_horizontal"


          you would need to use CoordinatorLayout to use this.



          also you are using ImageView use FloatingActionButton. replace your Image with below code and try.



          <android.support.design.widget.FloatingActionButton
          android:id="@+id/imageView122"
          android:layout_width="80dp"
          android:layout_height="80dp"
          android:src="@drawable/successicon"
          app:layout_anchor="@+id/card"
          app:layout_anchorGravity="top|center_horizontal"/>


          if you want to continue with ImageView provide some elevation as cardview will be having some elevation by default.






          share|improve this answer


























          • Do i add this to the BottomSheet layout?

            – Bolu Okunaiya
            Nov 15 '18 at 11:19











          • to your tickmark icon (image or fab)

            – Karan Mer
            Nov 15 '18 at 11:24











          • Thanks for the help, i tried that but it doesn't seem to display again. i posted my code.

            – Bolu Okunaiya
            Nov 15 '18 at 11:33











          • Remove empty coordinator layout you have added and replace make your parent layout to CoordinatorLayout from ConstraintLayout currently you are using constratint layout, both are different.

            – Karan Mer
            Nov 15 '18 at 11:38













          • I did that but the tick still doesn't display edited my code accordingly

            – Bolu Okunaiya
            Nov 15 '18 at 11:51














          0












          0








          0







          Without code and just by looking at your images it looks like you have not anchored your view to bottomsheet. Add below properties to your tick view.



              app:layout_anchor="@+id/bottom_sheet"
          app:layout_anchorGravity="top|center_horizontal"


          you would need to use CoordinatorLayout to use this.



          also you are using ImageView use FloatingActionButton. replace your Image with below code and try.



          <android.support.design.widget.FloatingActionButton
          android:id="@+id/imageView122"
          android:layout_width="80dp"
          android:layout_height="80dp"
          android:src="@drawable/successicon"
          app:layout_anchor="@+id/card"
          app:layout_anchorGravity="top|center_horizontal"/>


          if you want to continue with ImageView provide some elevation as cardview will be having some elevation by default.






          share|improve this answer















          Without code and just by looking at your images it looks like you have not anchored your view to bottomsheet. Add below properties to your tick view.



              app:layout_anchor="@+id/bottom_sheet"
          app:layout_anchorGravity="top|center_horizontal"


          you would need to use CoordinatorLayout to use this.



          also you are using ImageView use FloatingActionButton. replace your Image with below code and try.



          <android.support.design.widget.FloatingActionButton
          android:id="@+id/imageView122"
          android:layout_width="80dp"
          android:layout_height="80dp"
          android:src="@drawable/successicon"
          app:layout_anchor="@+id/card"
          app:layout_anchorGravity="top|center_horizontal"/>


          if you want to continue with ImageView provide some elevation as cardview will be having some elevation by default.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 15 '18 at 12:07

























          answered Nov 15 '18 at 11:14









          Karan MerKaran Mer

          5,35832865




          5,35832865













          • Do i add this to the BottomSheet layout?

            – Bolu Okunaiya
            Nov 15 '18 at 11:19











          • to your tickmark icon (image or fab)

            – Karan Mer
            Nov 15 '18 at 11:24











          • Thanks for the help, i tried that but it doesn't seem to display again. i posted my code.

            – Bolu Okunaiya
            Nov 15 '18 at 11:33











          • Remove empty coordinator layout you have added and replace make your parent layout to CoordinatorLayout from ConstraintLayout currently you are using constratint layout, both are different.

            – Karan Mer
            Nov 15 '18 at 11:38













          • I did that but the tick still doesn't display edited my code accordingly

            – Bolu Okunaiya
            Nov 15 '18 at 11:51



















          • Do i add this to the BottomSheet layout?

            – Bolu Okunaiya
            Nov 15 '18 at 11:19











          • to your tickmark icon (image or fab)

            – Karan Mer
            Nov 15 '18 at 11:24











          • Thanks for the help, i tried that but it doesn't seem to display again. i posted my code.

            – Bolu Okunaiya
            Nov 15 '18 at 11:33











          • Remove empty coordinator layout you have added and replace make your parent layout to CoordinatorLayout from ConstraintLayout currently you are using constratint layout, both are different.

            – Karan Mer
            Nov 15 '18 at 11:38













          • I did that but the tick still doesn't display edited my code accordingly

            – Bolu Okunaiya
            Nov 15 '18 at 11:51

















          Do i add this to the BottomSheet layout?

          – Bolu Okunaiya
          Nov 15 '18 at 11:19





          Do i add this to the BottomSheet layout?

          – Bolu Okunaiya
          Nov 15 '18 at 11:19













          to your tickmark icon (image or fab)

          – Karan Mer
          Nov 15 '18 at 11:24





          to your tickmark icon (image or fab)

          – Karan Mer
          Nov 15 '18 at 11:24













          Thanks for the help, i tried that but it doesn't seem to display again. i posted my code.

          – Bolu Okunaiya
          Nov 15 '18 at 11:33





          Thanks for the help, i tried that but it doesn't seem to display again. i posted my code.

          – Bolu Okunaiya
          Nov 15 '18 at 11:33













          Remove empty coordinator layout you have added and replace make your parent layout to CoordinatorLayout from ConstraintLayout currently you are using constratint layout, both are different.

          – Karan Mer
          Nov 15 '18 at 11:38







          Remove empty coordinator layout you have added and replace make your parent layout to CoordinatorLayout from ConstraintLayout currently you are using constratint layout, both are different.

          – Karan Mer
          Nov 15 '18 at 11:38















          I did that but the tick still doesn't display edited my code accordingly

          – Bolu Okunaiya
          Nov 15 '18 at 11:51





          I did that but the tick still doesn't display edited my code accordingly

          – Bolu Okunaiya
          Nov 15 '18 at 11:51




















          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%2f53318106%2foverlap-imageview-in-bottomsheetfragment%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

          Bressuire

          Vorschmack

          Quarantine