MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

MarkerView Dropshadow

Open omk1702 opened this issue 3 years ago • 1 comments

Hi Is there any way to insert drop shadow to custom marker view for android

omk1702 avatar May 05 '22 14:05 omk1702

If you add android:elevation="30dp" you may find it‘s useless,because the shadow was cut when it draw markerview。

Besides,the Android's shdow is shit.So I recomment you use this library to draw shadow:https://github.com/lihangleo2/ShadowLayout

It almost can draw any shadow you want。You can use it in your custom marker,then you can get shadow like below image:

WX20220607-153830

gs666 avatar Jun 07 '22 07:06 gs666