FloatingText icon indicating copy to clipboard operation
FloatingText copied to clipboard

How to make a Floating Image similarly

Open lovearthhome opened this issue 9 years ago • 1 comments

Is there anyway to easily make a floating image view like this textview

lovearthhome avatar Jul 14 '16 13:07 lovearthhome

@lovearthhome I have finished the FloatingView develop,so you can have a try.

If you use FloatingView ,floating Image is very easy.


                Floating   floating = new Floating(this);

                ImageView imageView = new ImageView(MainActivity.this);
                ...
                FloatingElement floatingElement = new FloatingBuilder()
                        .anchorView(v)
                        .targetView(imageView)
                        .floatingTransition(new PlaneFloating())
                        .build();
                floating.startFloating(floatingElement);

UFreedom avatar Nov 02 '16 10:11 UFreedom