My app shows a line chart and a custom MarkerView. One problem with the MarkerView is that the shadow doesn\'t work. The same code works in activity\'s layout. But, if I copy it