replace TextViews with dynamically generated CardViews for details