inputType属性说明
在开发的过程中,通常会用到EditText,如何让虚拟键盘来适应输入框中内容的类型,通常我们都会在xml文件中加入android:inputType=""。
android:inputType="none"android:inputType="text"android:inputType="textCapCharacters"//前3个输入普通字符android:inputType="textCapWords"//单词首字母大小
android:inputType="textCapSentences"//仅第一个字母大小
android:inputType="textAutoCorrect"android:inputType="textAutoComplete"//前两个自动完成
android:inputType="textMultiLine"//多行输入
android:inputType="textImeMultiLine"//输入法多行(不一定支持)
android:inputType="textNoSuggestions"//不提示
android:inputType="textUri"//URI格式
android:inputType="textEmailAddress"//电子邮件地址格式
android:inputType="textEmailSubject"//邮件主题格式
android:inputType="textShortMessage"//短消息格式
android:inputType="textLongMessage"android:inputType="textPersonName"//人名格式
android:inputType="textPostalAddress"//邮政格式
android:inputType="textPassword"//密码格式
android:inputType="textVisiblePassword"//密码可见格式
android:inputType="textWebEditText"//作为网页表单的文本格式
android:inputType="textFilter"//文本筛选格式
android:inputType="textPhonetic"//拼音输入格式
android:inputType="number"//数字格式
android:inputType="numberSigned"//有符号数字格式
android:inputType="numberDecimal"//可以带小数点的浮点格式
android:inputType="phone"//拨号键盘
android:inputType="datetime"android:inputType="date"//日期键盘
android:inputType="time"//时间键盘
intent使用
Intent intent = new Intent(Intent.ACTION_CALL,Uri.parse("tel:15847541256"));
startActivity(intent);
相关推荐
google Map for Android总结
个人开发总结,在整个android中的使用框架,以及对Retrofit的个人感悟
android移动开发总结动画效果,实现火焰动画
本人在安卓学习中的一种小总结,比较建议新手看 ,可以下载下来在不懂得时候打开看看虽然没有很全面,但是很够用
android画图总结.pdf
Android面试资料 搭配网上大厂的面试题列表 对热修复和插件化的理解 我们知道Java虚拟机—— JVM 是加载类的class文件的,而Android虚拟机——Dalvik/ART VM 是加载类的dex文件,而他们加载类的时候都需要...
本人有4年的Android开发经验 这个本人对此总结的 希望能帮助大家
android移动开发总结关于TabWidget切换卡的实现应用
NULL 博文链接:https://chenjinbo1983.iteye.com/blog/1326644
里面有android基本上所有的组件和知识点的讲解,也包括性能优化,即时聊天app的开发 以及所有知识点的讲解
在前期我通过的大量的Android SDK开发范例大全中的例子以及Android提供的APIDEMOS进行学习
描述了android 开发遇到的各种问题,对各种问题有深入的描述和解决方法。
Android技术总结Android技术总结Android技术总结Android技术总结
NULL 博文链接:https://uule.iteye.com/blog/2270406