Learn how to use a Fragment with an Activity

In the last Tutorial you learnt about Fragments and why to use them.

Using a Fragment with an Activity is pretty simple to start with. You need to add the fragment attribute to the activity layout file. Follow the short video to know how to do this.

Refer to the code here

Author: androidsmartly

I am a Tech Enthusiast who likes to work on new Ideas. Sharing knowledge on Android, Marketing, Startups and More.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s