I want to create a customized popup over the android's incoming call screen where I wish to add information for the user. I want the popup to not disable any clickability from the background so that the user could still answer the call.
I know it is possible since many applications do it, e.g. MeZeZe app:
Some more information:
Would appreciate any help! Thanks
If you want to keep the Call activity still clickable, but not have any controls on your overlay, you can do this by calling
getWindow().addFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE);
getWindow().addFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL);
In the onCreate() method of the activity that is shown over the call.
The layout parameters useable together with this are:
android:windowBackground="@android:color/transparent"
android:windowIsTranslucent="true"
android:windowAnimationStyle="@android:style/Animation.Translucent"