I have a CardView in the Android Application which can be shared as a bitmap. How can I remove a Button View from that CardView before generating the bitmap? Is that possible?
How are you generating the bitmap. The easiest way is to hide the button by
setVisibility(GONE);
before generating the bitmap.
2.1m questions
2.1m answers
60 comments
56.8k users