Android的 - 更换内置的拨号屏幕与控制自定义屏幕 [英] Android - Replace build in dialler screen with a Custom screen with controls
问题描述
按要求,我有一个自定义屏幕随着控制,以取代Android的构建拨号屏幕。如何做到这一点.. ???
As per the requirement,I have to replace the android's build in dialler screen by a custom screen along with the controls. How to achieve this..???
感谢你的努力。
推荐答案
您可以下载这个例如和编辑如何请你。
You can download this example, and edit it how you please.
This one and especially this one are even better, but may be more than what you want.
意见回馈
所以,你要编辑的股票拨号器屏幕上添加一个按钮?这是不可能的......虽然你可以创建为每次拨号显示其中有一个可点击的按钮,就可以截取一个覆盖运行的服务。看到这个<一href="http://stackoverflow.com/questions/4481226/creating-a-system-overlay-always-on-top-button-in-android">post对于如何做到这一点。
So you want to edit the stock dialer screen to add a button? This is not possible...though you can create a service which runs as an overlay whenever the dialer is shown which has a clickable button you can intercept. See this post for how to do it.
这篇关于Android的 - 更换内置的拨号屏幕与控制自定义屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!