自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

cxcbupt

我的学习记录

  • 博客(3)
  • 资源 (4)
  • 收藏
  • 关注

转载 Android Layout Tricks #4: Optimize, Part 2

Sharing and reusing layouts is very easy with Android thanks to the <include /> tag, sometimes even too easy and you might end up with user interfaces that contain a large number of views, some of w

2016-06-12 15:30:43 478

转载 Android 水波纹点击效果(Ripple Effect)

本文介绍的是Android5.0中其中一个炫酷的效果,点击水波纹扩散效果(Ripple Effect).以下介绍的实现方式都是调用Android5.0的新API,并非自定义实现,所以只支持在Android5.0及以上的设备.而大家想兼容低系统版本的话,就需要新建v21(即Android5.0)的Resource Directory.效果如下图所示:

2016-06-07 18:24:23 6631

转载 TextPaint绘制文字

TextPaint是paint的子类,用它可以很方便的进行文字的绘制,一般情况下遇到绘制文字的需求时,我们一般用TextPaint所提供的方法。开始学习如何绘制文字之前,我们必须要先了解下android中文字是怎么绘制到屏幕上的,文字的格式又是怎么样的。一、FontMetrics1.1 理论知识它是一个Paint的内部类,作用是“字体测量”。它里面呢就定义了top,

2016-06-03 20:22:15 2042

Android图表--achartengine

AChartEngine is a charting library for Android applications It currently supports the following chart types: line chart area chart scatter chart time chart bar chart pie chart bubble chart doughnut chart range high low bar chart dial chart gauge combined any combination of line cubic line scatter bar range bar bubble chart cubic line chart All the above supported chart types can contain multiple series can be displayed with the X axis horizontally default or vertically and support many other custom features The charts can be built as a view that can be added to a view group or as an intent such as it can be used to start an activity ">AChartEngine is a charting library for Android applications It currently supports the following chart types: line chart area chart scatter chart time chart bar chart pie chart bubble chart doughnut chart range high low bar chart dial chart gauge combined any combination of line cubic line s [更多]

2014-10-26

SmartUpload上传及下载

jspSmartUpload是由www.jspsmart.com网站开发的一个可免费使用的全功能的文件上传下载组件,适于嵌入执行上传下载操作的JSP文件中。

2014-09-12

JFreeChart使用相关

JFreeChart是JAVA平台上的一个开放的图表绘制类库。它完全使用JAVA语言编写,是为applications, applets, servlets 以及JSP等使用所设计。 JFreeChart可生成饼图(pie charts)、柱状图(bar charts)、散点图(scatter plots)、时序图(time series)、甘特图(Gantt charts)等等多种图表,并且可以产生PNG和JPEG格式的输出,还可以与PDF和EXCEL关联。

2014-09-11

DAO设计模式Demo

DAO(Data Access Object)是一个数据访问接口,数据访问:顾名思义就是与数据库打交道。夹在业务逻辑与数据库资源中间。 本文按照DAO设计模式的思想,设计并实现了该模式架构。

2014-09-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除