One of the things I love about Android OS is the ability to customize it. It helps me make the device truly my device. The same idea goes for apps. Let’s say you want to give the user the ability to customize the activity’s view layout. In this tutorial, you will learn how to make your code more efficient and towards a DRY concept. You will learn how to hide include layouts in android programmatically through the user of java. It’s simple, and it only involves 1 method.