I have a custom view with id R.id.dragableview inside a RelativeLayout that moves up and down by drag and drop. My problem is that there is another view in the layout that depends on what you can drag and drop:
<View android:id="@+id/dependent_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/dragableview"
/>
My problem is when the roaming view moves, the other remains where it was originally. I want him to be below another view always! how can i achieve this Which method should I call from my own custom view, so that another view can update its position? thanks
source
share