github地址 https://github.com/bigrainbig/countdown
一个简单的计时器

demopic.png
提供了一些方法 设置margin public void setLinearLayoutMargin(int left, int top, int right, int bottom) public void setTextViewMargin(int left, int top, int right, int bottom) 设置Padding public void setLinearLayoutPadding(int left, int top, int right, int bottom) public void setTextViewPadding(int left, int top, int right, int bottom)  设置背景 public void setLinearLayoutDrawable(Drawable d) public void setTextViewDrawable(Drawable d)  设置背景色 public void setLinearLayoutBgColor(int color) public void setTextViewBgColor(int color)
xml中的一些方法countdown:color_bg //设置背景色  countdown:color_text //设置字体颜色  countdown:text_size //设置字体大小  countdown:setDrawable //设置父容器背景  countdown:setDrawable_sub //设置子控件背景 
怎么使用  xml中     Java中  setStopTime();//设置一个long类型的停止时间 

更多相关文章

  1. 浅谈Java中Collections.sort对List排序的两种方法
  2. Python list sort方法的具体使用
  3. python list.sort()根据多个关键字排序的方法实现
  4. android webview 使用js加载json文件失败
  5. TextView字体逐渐变淡点以及程序特定listView一个item以及 背景
  6. android中跳转系统自带的界面
  7. android 设置 button 不同状态的图片
  8. android下的android.os.StrictMode$AndroidBlockGuardPolicy.onN
  9. 让背景小图不是拉伸而是多个重复

随机推荐

  1. 在Django模板标记库中导入外部库时出错
  2. 4th,Python三级菜单
  3. Python 黏包及黏包解决方案
  4. 求救~~最近刚学python,但却无法用pip导入
  5. python中range()函数的用法--转载
  6. 兄弟连学Python__GitHub入门
  7. Python演讲笔记1
  8. 更简单的方法来启用详细日志记录
  9. python 的多线程 调用input后 别的线程也
  10. windows下安装python的三方模块pyExceler