replaceWithView

Replaces the current view with the given one keeping ViewGroup.LayoutParams and id.