How to Create Custom Layout in Android by Extending ViewGroup Class 1. Introduction to ViewGroup 2. Creating Custom ViewGroup 3. Add Custom ViewGroup on Activity Layout 4. Define Child View Layout…