This is Android tutorial 2017 and you’ll learn how to use multiple Fragments in One Activity. It is very common for your app to have many fragments inside an activity, especially apps for tablets. In this video, I will create one activity and put 2 layouts, RelativeLayout and LinearLayout inside a big ConstrainLayout. The 2 layouts are very important for Fragments. You will learn how to create a fragment and place into each layout. You will use some code like FragmentManager and getSupportFragmentManager() for it.

Comments

comments