ShineButton icon indicating copy to clipboard operation
ShineButton copied to clipboard

Shine is not working when removing the status bar

Open jpjpjp28 opened this issue 8 years ago • 4 comments
trafficstars

I'm trying to remove the status bar. The shine effect doesn't work after implementing the following code:

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { val w: Window = window // in Activity's onCreate() for instance w.setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS, WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS) }

jpjpjp28 avatar Nov 09 '17 11:11 jpjpjp28

Resolved on version 0.2.0 Just replace with follow: compile 'com.sackcentury:shinebutton:0.2.0'

ChadCSong avatar Nov 13 '17 09:11 ChadCSong

This is still an issue. Please reopen this issue.

jpjpjp28 avatar Nov 16 '17 08:11 jpjpjp28

You can check my test code in MainActivity.java . or Any other code was add?

ChadCSong avatar Nov 16 '17 15:11 ChadCSong

The shine button is placed inside the NestedScrollView of a Scrolling Activity.

Here's the preview of my sample app, as you can see there's no shine effects:

shine_button_bug

PS: The activity I am using is not flagged as full screen.

jpjpjp28 avatar Nov 17 '17 04:11 jpjpjp28