Reputation: 149
![Adding buttons on top of the default call screen of android][1] https://i.sstatic.net/SJ8Pc.jpg
As shown in the below image, there are two buttons one is Live video button and the other is Picture share button, how to add those button on top of the default android call screen while making call.
Thanks, Android F
Upvotes: 2
Views: 416
Reputation: 5796
I believe the way to do this is to draw views on top of the dialer activity. This is similar, in implementation, to the Facebook home chatHead feature. Have a look at this article, which shows how to draw any view: http://www.piwai.info/chatheads-basics/
In your case, your view would be a LinearLayout containing two buttons.
Upvotes: 1