Tunous / SwipeActionView

Android swipe-able view, which allows users to perform actions with swipe gestures.
Apache License 2.0
196 stars 16 forks source link

The FrameLayout overlaps other views #12

Closed AlexHuicu closed 5 years ago

AlexHuicu commented 7 years ago

Steps to reproduce:

First way 1.Swipe the item: screenshot_20170911-164749 2.Open a simple alert dialog: screenshot_20170911-164809

Second way 1.Swipe the ListView: screenshot_20170911-164839 2.Open a simple alert dialog: screenshot_20170911-164844

The same behaviour occurs when you open a new activity and press back.

AlexHuicu commented 7 years ago

Edit: It happens when tapping on the button, and not beacuse of the Dialog

Tunous commented 7 years ago

Potential duplicate of #9

Setting app:sav_alwaysDrawBackground="true" could work as a workaround. (You might have to give your container views a background after that)

I wasn't yet able to reproduce the original issue. But I'll try to fix it again with this new information. Thank you for details :D

AlexHuicu commented 7 years ago

I can't find the 'app:sav_alwaysDrawBackground' property. My root view is currently RelativeLayout. I will try to use a CoordinatorLayout and see if the problem is solved

Tunous commented 7 years ago

It's applied to SwipeActionView. Like here: https://github.com/Tunous/SwipeActionView/blob/master/sample/src/main/res/layout/activity_main.xml#L93

AlexHuicu commented 7 years ago

That is a great hint :D