Layout messed up when dialog opens
I'm facing a very strange bug with one of layout whose parent is ConstraintLayout. When ever a diaog is open the layout behind automatically start constracting and moving. Please refer attached gif for idea about the bug. Please check my code and see if i'm doing something wrong. Here is my layout. <android.support.constraint.ConstraintLayout 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="match_parent" android:background="