android 画虚线,显示实心解决方法
2016-06-22 15:19
302 查看
画虚线的代码<?xml version="1.0" encoding="utf-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android"android:shape="line" ><strokeandroid:dashGap="3dp"android:dashWidth="6dp"android:width="1dp"android:color="#FFC073" /><!-- 虚线的高度 --><size android:height="1dp" /></shape>
在画线的activity 清单文件里面设置一个
android:hardwareAccelerated="false"
相关文章推荐
- Android 实现沉浸式状态栏效果(systembartint库)
- Android SQLite分页查询的三种方法
- Android retrofit 日志拦截器
- Android应用的目录组织结构,每个文件夹及文件的用途?
- Android中应用程序如何获得系统签名权限
- android 6.0 动态权限处理
- Android 冷知识(1)开机广播及一些特殊广播
- Android 自定义实现switch开关按钮
- Android_个人中心_修改个人信息
- Android Fragment 你应该知道的一切
- android 软键盘设置
- Android Fragment 真正的完全解析(下)
- Android 平台下使用 i2c-tools
- android View机制深入剖析
- Android Fragment 真正的完全解析(上)
- Android Intent调用大全、系统自带Intent调用大全
- 【Android开源项目分析】android轻量级开源缓存框架——ASimpleCache(ACache)源码分析
- 实现PHP服务器+Android客户端(Retrofit+RxJava)第五天学一学ndk开发吧
- Android图片上传(头像裁切+原图原样)
- Android 多线程详细用法