自强不息

Home Archives
2015-06-23
android

Theme.AppCompat.Light无法找到问题

使用adt开发新建一个Android app,选择支持的SDK版本如果小于11(Android3.0)就会报如下错误。

error: Error retrieving parent for item: No resource found that matches the given name ‘Theme.AppCompat.Light’.

Read More

分享
2015-06-23
android

单选按钮(RadioButton)和复选框(CheckBox)

在我们的android中,单选按钮与复选框都是Button的子类,所以继承了Button的各种属性,而且还多了一个可选中的功能。

Read More

分享
  • AndroidUI
2015-06-22
android

对话框的父类--AlertDialog

一.普通的AlertDialog:

1.AlertDialog的结构:

Read More

分享
  • AndroidUI
2015-06-21
android

PopupWindow和AlertDialog区别

Android的对话框有两种:PopupWindow和AlertDialog。它们的不同点在于:

  • AlertDialog的位置固定,而PopupWindow的位置可以随意
  • AlertDialog是非阻塞线程的,而PopupWindow是阻塞线程的

    Read More

分享
  • AndroidUI
2015-06-17
javascript

JS自动刷新页面一次

1
2
3
4
5
6
7
8
<script type="text/javascript">  
//刷新页面
if(location.href.indexOf("refresh=1") === -1) {
setTimeout(function() {
location = location.href + "?refresh=1"
},1)
}
</script>

Read More

分享
« 上一页1…138139140141142…248下一页 »

分类

  • android255
  • apache27
  • flutter12
  • git10
  • github博客19
  • go26
  • html+css27
  • iis15
  • java84
  • javascript124
  • kotlin2
  • linux68
  • mac7
  • memcached14
  • mongodb19
  • mysql74
  • nginx41
  • nodejs13
  • php185
  • python44
  • redis14
  • 其它8
  • 开发工具51
  • 开源项目73
  • 生活随笔11
  • 网络10
  • 量化交易3

标签云

AndroidStudio AndroidUI Android事件拦截 Android开源 CI CURL DEDE Docker Flask JavaSE Laravel Maven MybatisPlus Puppeteer SVN Selenium SpringBoot Thinkphp UEditor VMware Vue WebSocket ecshop scrapy smarty socket sphinx vagrant 微服务 数据传输 正则 消息队列 爬虫 集群

最新文章

  • 彻底搞懂Vue中的Mixin混入
  • 如何发布jar包到maven中央仓库
  • 怎么使用Redis实现一个延时队列?
  • 多层嵌套的div且高度都不固定,让子div内容滚动
  • 子div如何占满父div剩余高度
© 2025 moqiang
Powered by Hexo
Home Archives