sockeqwe/SwipeBack

How to make swipe back transparent?

code4lifevn opened this issue · 4 comments

I like your library but, I want to make transparent swipeback layout from left or other side. How to make transparent background when swipe back to previous activity like Pinterest? Tks

never tried yet, but It should work if you set the acitivies window background to transparent and set the setSwipeBackContainerBackgroundColor(transparentColor) ...

Let me know if that works ...

I tried but SwipeBackContainer will becomes gray color

This is my problem:
http://i.imgur.com/bI9qQHu.png

How does the theme of your activity (the top most) looks like?

You may need to set the activity window background to transparent

<style name="Your.Theme" parent="Theme.AppCompat.Light">
    <item name="android:windowBackground">@null</item> 

     <!-- You may also need to set this if you don't wanna see a dark overlay -->
    <item name="android:windowContentOverlay">@null</item>
</style>

If @null doesn't work you have to use android:color/transparent instead.

I tried but it did't work
@code4lifevn Do you Solved this problem ?