English, asked by mzinganjirarachel, 8 months ago

How to change the fragment "After the party starts

Answers

Answered by vgrajkumar28
4

Answer:

party starts after

thanks

mark me as brainliest

Answered by viny10
26

Answer:

Hope it helps you

Explanation:

Create a layout file and use a FrameLayout in it. Now in your Activity class add this code whatever fragment you want to show.

...

Add a on click listener to the button.

When the button is clicked, you can add a fragment in some place in your activity layout.

Or you can start a new activity which contains the fragment.

Similar questions