I am creating an Android application that programmatically creates an ImageView, to be dragged and placed anywhere on screen. I can drag the view along the screen, but when it is dragged to the bottom and right sides of the screen, the view shrinks instead of just leaving the screen. I want to avoid this behavior.
I came across this question from a few years ago: Android: Drag View Outside Screen It appears to be the same question as my own, but was left unanswered. I have tried a few other suggested methods, including setting 'clipChildren' and 'clipToPadding' to false: Android: Display Image Slightly Outside A Relative Layout
Again, this behavior only occurs when dragging the image to the bottom and right sides of the screen. When dragged to the top or left sides, the image goes off the screen.