attrs fluent replace for custom view res boilerplate