getMarginAnotherHaveCornerOnly static method
case: the another view have corner only without elevation
Implementation
static double getMarginAnotherHaveCornerOnly(double spacelevel , double cornerLevel) {
final result = spacelevel - cornerLevel;
if( result < 0 ) {
return 0;
} else {
return result;
}
}