16-01-14 EditText 设置圆角 及 Premature end of file 解决方法
来源:互联网 发布:windows rt怎么换系统 编辑:程序博客网 时间:2024/06/07 02:25
在做文本框时EditText希望它的角度不太死板圆润些, 首先创建一个XML文件
一般都复制现成的就可以了
当复制过来会出现 Premature end of file 错误提醒, 这个直接保存就没了.
对于角度的大小可以改变 android:radius="6dp" 后面的值调整.
新建的文件一般都保存在res目录下drawable附属文件里:
然后在EditView里添加Android:bankground = "@drawable/shape"就OK
觉得还行请告诉需要的朋友!
补充一点:
其实还有个更简单的方法,就是找个 .9 的文件图作为背景图案就搞定了。
0 0
- 16-01-14 EditText 设置圆角 及 Premature end of file 解决方法
- Premature end of file
- Premature end of file
- SAXParseException : Premature end of file
- premature end of file错误
- DOM4J:Premature end of file
- Premature end of JPEG file
- dom4j解决Premature end of file
- 解决SAXParseException: Premature end of file
- Premature end of file 错误解决
- xml中的Premature end of file
- Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.
- Premature end of file 错误解决 (2011-01-21 10:02:22)
- premature end of file web service之类的问题解决
- 编译Android程序时,遇到premature end of file问题
- [Fatal Error] :-1:-1: Premature end of file.
- 解压cpio文件:cpio: premature end of file
- org.xml.sax.SAXParseException: Premature end of file
- mysql中的列属性(字段约束)
- 统计代码行数
- 2.3 谓词逻辑表示
- mybatis 动态SQL配置
- Java虚拟机-内存区域,堆,栈
- 16-01-14 EditText 设置圆角 及 Premature end of file 解决方法
- ios开发使用UIWebView显示多种文档
- SVD原理及其应用导论
- js XMLHttprequest
- 无需翻墙打开谷歌与谷歌学术的链接
- OpenWrt下ifconfig各接口说明
- 简单实现滑动和点击翻页 button与scrollView结合 iOS
- Android:验证手机和邮箱的正则表达式
- android调试debug快捷键