简体   繁体   中英

how to integrate android dialer keypad in my application

我想将android集成到内置的键盘中,该键盘底部具有通话和短信按钮,我该如何在我的应用程序中执行此操作,请向我建议解决方案

Try this: <EditText android:inputType="phone" />

More information can be found here: http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html

If you just want to have a numeric only input field you can try this
<EditText android:numeric="decimal" />

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM