Set margins without a shadow in onMeasure() instead on onLayout()