taltstidl / AndroidSlidingUpPanel

This library provides a simple way to add a draggable sliding up panel (popularized by Google Music and Google Maps) to your Android application. Brought to you by Umano.
http://umano.me
Apache License 2.0
13 stars 6 forks source link

Floating Action Button Click Issue #12

Open Arash-gm opened 9 years ago

Arash-gm commented 9 years ago

Hi Again! ;) i have two other problems , first problem is FAB is Clickable even its hidden and its visibility is Gone. its not occured when the sliding panel is hidden but after sliding panle up FAB is suddenly showing up if you click on its original spot.

another problem is when FAB is visible and on collapsing panel , FAB attached to it , how can i detach it runtime?

taltstidl commented 9 years ago

@Arash-gm First problem: What fab mode are you using? This may be an issue with the visibility changes the library does. I think it sets it to invisible so that might be the cause. I'll change it to gone or disable the click. Second problem: there currently isn't any way to detach the fab. Might implement this soon though.

Arash-gm commented 9 years ago

@TR4Android : Im using circular_reveal , can you fix it? or i have to change something in library to fix it?

Arash-gm commented 9 years ago

@TR4Android : i've changed all invisible state to Gone in your library but it doesn't change anything maybe the source umano library change visibility too.

taltstidl commented 9 years ago

@Arash-gm The source code from umano shouldn't change the visibility of the fab. It might be an issue with my code. It reevaluates the visibilty every time the panel position is changed, so if you change the visibility externally with a call to setVisibility() the visibility set there will be ignored. I'll see whether I can fix this.