Gaurav Ghongde
Gaurav Ghongde

Reputation: 369

How to change UI of a cardview/dialog on button click?

Dialog UI 1

Dialog UI 2

I want to change UI contents of a cardview on selection of a radio button, the example shown above is of Add Reminder from Google Keep, it changes the card contents when we select different radio option. It should animate while expanding or collapsing according to the contents. How can I achieve this in Android Studio?

Upvotes: 1

Views: 510

Answers (1)

Use two layouts in just play with visibility on radio button state change.

Upvotes: 1

Related Questions