TIM'S BLOG

A little-known program


  • Home

  • About

  • Tags

  • Categories

  • Archives

  • Photos

  • Schedule

  • Search

Identifiers must have user defined types from the XML file. View is missing

Posted on 2018-05-17 | Post modified: 2021-07-20 | In Technology , Android
Words count in article: 116 | Reading time ≈ 1

做项目的时候,用 databinding, 遇到这么个错误

1
2
3
4
5
6
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mpos-cashier:compileIntegrateJavaWithJavac'.
> java.lang.RuntimeException: Found data binding errors.
****/ data binding error ****msg:Identifiers must have user defined types from the XML file. View is missing it file:/Users/dingyang/tim/cfs/git/develop_smartpos/mpos-cashier/src/main/res/layout/activity_home.xml loc:54:65 - 54:68 ****\ data binding error ****

Read more »

appveyor 自动化构建 hexo 博客失败

Posted on 2018-05-07 | Post modified: 2021-07-20 | In Technology
Words count in article: 704 | Reading time ≈ 4

因为之前是 appveyor 来自动构建我的博客的.至于怎么用 appveyor 构建 hexo 博客,可以移步Hexo的版本控制与持续集成

Read more »

Geektool 使用 python + beautiful 实现抓取天气图标

Posted on 2018-04-20 | Post modified: 2021-07-20 | In Technology , Python
Words count in article: 470 | Reading time ≈ 2
Boutique


上篇文章 Geektool 使用 python+beautifulsoup 抓取天气显示 讲解了怎样爬取天气网站的天气.但是界面上显示宗师感觉不好看,想显示天气的图标,翻看了几个天气网站,并没有我满意的天气图标.于是就打算自己去做一个了.

Read more »

Geektool 使用 python+beautifulsoup 抓取天气显示

Posted on 2018-04-19 | Post modified: 2021-07-20 | In Technology , Python
Words count in article: 497 | Reading time ≈ 2
Boutique


闲来无事,就想着捣鼓捣鼓电脑,想在电脑桌面实时显示天气状况.就用 geektool + python + beautifulsoup 写了一个抓取天气网站的脚本来显示.

Read more »

自定义view 之激活码验证码输入框

Posted on 2017-12-29 | Post modified: 2021-07-20 | In Technology , Journal , Android
Words count in article: 1,583 | Reading time ≈ 8
Boutique

前两天接了个项目,项目中需要自定义一个激活码输入框,类似于滴滴打车那种正方形输入框.然后思考了一下怎么去做这个输入框.终于在今天搞定了.输入框接收 自定义输入框的数量,输入框的宽度,输入框之间的分割线,输入框文字颜色,输入框文字大小,输入框获取焦点的边框,每个输入框的文字个数以及输入框的透明度

Read more »

Android 开发 自定义跑马灯 TextView

Posted on 2017-11-14 | Post modified: 2021-07-20 | In Technology , Journal , Android
Words count in article: 506 | Reading time ≈ 3

在项目开发中,有次需要用到跑马灯,使用了系统自带的跑马灯,发现会有点问题.然后就考虑重写了一个跑马灯 textview.

Read more »

git怎样删除未监视的文件untracked files

Posted on 2017-10-31 | Post modified: 2021-07-20 | In Technology , Git
Words count in article: 183 | Reading time ≈ 1

使用 git 中 经常需要还原文件.

Read more »

七阶魔方中心块合并公式(含五阶魔方)

Posted on 2017-10-26 | Post modified: 2021-07-20 | In Entertainment , Cube
Words count in article: 642 | Reading time ≈ 2
Boutique

分享一下 七阶魔方5乘5中心块拼法.

Read more »

python-冒泡排序

Posted on 2017-10-16 | Post modified: 2021-07-20 | In Technology , Python
Words count in article: 600 | Reading time ≈ 3
Boutique

之前文章中介绍了怎样用 hexo + next 生成相册.由于相册图片命名方式为 yyyy-MM-dd_des.jpg 形式,导致在取9月和10月的时候,会发生顺序上的错误.这是由于10的排序比9的排序靠前.所以就想到了用冒泡排序来解决这个问题

Read more »

jQuery选择器和选取方法(二)

Posted on 2017-09-27 | Post modified: 2021-07-20 | In Technology , HTML5 , JS
Words count in article: 2,466 | Reading time ≈ 9
Boutique

上一篇文章jQuery选择器和选取方法(一)讲解了 JQuery 选择器.今天将说下选择的选取方法.

Read more »
1234
TIMDING

TIMDING

37 posts
15 categories
65 tags
GitHub E-Mail Weibo
友情链接
  • 骚气的射鸡师
  • 木子李
  • pdf转换
© 2015 — 2021 TIMDING | Site words total count: 28.2k | 苏ICP备15028062号-2