How this is a debugging Nightmare ??
sree kumar
1

When handling UI it’s important to use the right context, for example if you have a theme to your Activity- you should use it for inflating and not the Application context.

More about this here: https://possiblemobile.com/2013/06/context/