I'm trying to add row items into a RecyclerView that looks like this:
The view layout has 2 versions; one with an image on the top half and one that only contains text. A few things make this a tricky layout to create;
- The image is only rounded on the top
- The textview bottom half is only rounded on the bottom
- If the ImageView is gone, then the textview DOES have rounded top corners.
I'd prefer to have only one row layout and designed in XML. Is that possible, or do I need to create this layout in code?

