Posts

Showing posts with the label android-coordinatorlayout

Avoid FAB appear above CoordinatorLayout

Image
Avoid FAB appear above CoordinatorLayout I'm trying to put an image on the top of CoordinatorLayout, so it will be half top of the view. it's work fine (attached pic), but when the coordinatorLayout is open to top - the image is get into the coordinatorLayout. any idea how can i avoid this and keep the image on the top. i want the image will get into the background zone. <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout android:layout_width="match_parent" android:layout_height="match_parent"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <LinearLayout android:id="@+id/backgroundLayout" android:layout_width="match_parent" android:layout_height="50dp" android:back...