refactoring for view overlay compat

follow project compat pattern
rename class