- 博客(7)
- 收藏
- 关注
原创 解决嵌入百度导航4.1.x遇到的坑
截图文本:Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor ...
2018-05-24 15:21:09
1297
3
原创 EditText属性大全
常用属性 android:layout_gravity="center_vertical"//设置控件显示的位置:默认top,这里居中显示,还有bottom android:hint="请输入数字!"//当android:text没有值时显示 android:singleLine="true"//设置单行输入,一旦设置为true,则文字不会自动换行。 andr
2016-09-05 13:16:15
519
原创 腾讯面试--->绘制印章实现
问题:如何画出一个印章的图案?1.印章实现类public class CreateSeal {private int roundWidth = 10; // 边框宽度float padding = 50; // 文字所占角度private String content;private Canvas canvas;private Paint pai
2015-08-26 16:41:26
2340
原创 正则表达式校验车牌号
这几天在项目中有一个需求要校验车牌号「1」 下面是代码贴图 注:本人建议初学者仿上面代码敲一遍!「2」 代码讲解返回值 true 为正确车牌号返回值 false 为不正确的车牌号「3」 代码文件public static boolean isCar(String str) {Pattern p = null;
2015-07-25 14:52:46
8555
原创 TextView 控件使用
学Android很简单!1.要心细.2.多练.「1」 代码实现效果「2」 XML代码实现「3」 XML讲解android:layout_width="wrap_content" 宽度包含内容android:layout_height="40dp"
2015-07-20 16:40:18
608
原创 LinearLayout 使用
学Android很简单!1.要心细.2.多练.「1」 代码实现效果「2」 XML代码实现「3」 XML讲解android:layout_width="match_parent" 控件的宽度android:layout_height="match_parent" 控件的高度android:or
2015-07-20 14:05:27
559
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人