龙哥it
- 浏览: 231979 次
- 性别:
- 来自: 武汉
-
社区版块
- ( 0)
- ( 0)
- ( 0)
最新评论
-
龙哥it:
把这些东西,放在一起,自己用的时候方便而已,不用到处找了
android权限uri.parse的几种用法 -
yuranus_:
干货 哈哈哈
android权限uri.parse的几种用法 -
narutolzj:
楼主,apputils类是自定义的吗,找不到~~
获取安装的应用 -
black_smart:
...
android权限uri.parse的几种用法 -
liu_zheng:
博主 我想把文字换成图片 要怎么修改呢??
用linearlayout代替listview
文章列表
- 博客分类:
- android_dialog
点击按钮弹出对话框的动画效果
private void showpromptdlg() {
new promptdialog(this)
.setdialogtype(promptdialog.dialog_type_success)
.setanimationenable(true)
.settitletext(getstring(r.string.success))
.setcontenttext(getstring(r.string.text_data))
.setpositivelis ...
- 2017-12-29 13:38
- 浏览 727
- 分类:移动开发
- 博客分类:
- android—tag
多个标签自动换行功能
- 2017-12-27 15:39
- 浏览 743
- 分类:移动开发
- 博客分类:
- kotlin学习
summary
https://github.com/wangjiegulu/kotlin-for-android-developers-zh/blob/master/summary.md
《kotlin for android developers》中文版翻译
https://www.gitbook.com/book/wangjiegulu/kotlin-for-android-developers-zh/details
- 2017-12-27 10:54
- 浏览 291
- 分类:移动开发
- 博客分类:
- 视频教程
——android程序员该看的前端和后端
视频教程:
http://www.stay4it.com/my/course/37
csdn博客教材
http://blog.csdn.net/column/details/17220.html
- 2017-12-18 14:26
- 浏览 391
- 分类:移动开发
- 博客分类:
- android开发
当用com.scwang.smartrefresh.layout.smartrefreshlayout这个框架来加载数据的时候,列表如果有头部,头部总是被隐藏掉了,怎么办呢,在布局最外层加载下面两个属性就行了
android:descendantfocusability="blocksdescendants"
android:clickable="true"
ok,问题解决
- 2017-09-25 15:14
- 浏览 484
- 分类:移动开发
- 博客分类:
- androidandroid—button
来自于
https://github.com/ctsn/flodablebutton;
首先gradle 添加依赖
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
然后导入包
在项目中的build.gradle中添加
dependencies {
compile 'com.github.ctsn:flodablebutton:1.1'
}
xml实现布局:
- 2017-08-31 15:15
- 浏览 431
- 分类:移动开发
【链接】android智能下拉刷新框架-smartrefreshlayout
http://blog.csdn.net/yunyu5120/article/details/74451961
使用smartrefreshlayout控件,可实现最先进的几种牛逼的加载和刷新效果
最原始的效果:
- 2017-08-23 14:25
- 浏览 1022
- 分类:移动开发
- 博客分类:
- android—recyclerview
mrecyclerview.setadapter(madapter);
//设置布局管理器,去除scrollview嵌套recyclerview卡顿问题
linearlayoutmanager linearlayoutmanager = new linearlayoutmanager(zdqhuatidetailactivity.this, linearlayoutmanager.vertical, false) {
@override
public boolean canscrollvertically ...
- 2017-08-23 14:11
- 浏览 566
- 分类:移动开发
发布内容界面添加多张图片。可实现多张图片加载和删除功能
点击添加图片功能放在附件zip包里面,把包解压放入项目中,成library就可以
添加自定义布局:
- 2017-08-23 14:07
- 浏览 312
- 分类:移动开发
- 博客分类:
- android-viewpager
多个标题以及标题下的每个view视图
- 2017-08-17 11:11
- 浏览 503
- 分类:移动开发
- 博客分类:
- android—activity
android向右滑动,退出activity
实现方法:
//右滑删除
compile 'com.jude:swipebackhelper:3.1.2'
然后在baseactivity中添加代码:
swipebackhelper.oncreate(this);
swipebackhelper.getcurrentpage(this)
.setswipebackenable(true)
.setswipesensitivity(0.5f)
.setswip ...
- 2017-08-17 10:54
- 浏览 454
- 分类:移动开发
- 博客分类:
- android—轮播图效果
android图片轮播效果,rollviewpager的简单使用
- 2017-08-17 10:49
- 浏览 445
- 分类:移动开发
- 博客分类:
- android—recyclerview
ptrclassicframelayout和switchrefreshlayout是两种不同的刷新方式,根据项目实际要求去做
1.布局:
- 2017-08-17 10:38
- 浏览 782
- 分类:移动开发
- 博客分类:
- android—topbar
标题栏自定义布局:
private void inittopbar() {
topbar.settitile("帮你贷").setvisible(false).settitlebar ...
- 2017-08-17 10:27
- 浏览 287
- 分类:移动开发
- 博客分类:
- android textview
网上发现有大神写的一些好东西,我自己也收藏下,
【链接】liushuixiaoxia/textstyleplus
https://github.com/liushuixiaoxia/textstyleplus
这个图文加载textview 比我自己整的好很多,就是不适合大图以及不规则顺序的加载,适合图标 文字布局,合并一个控件显示
如果从网上获取数据,数据包含图文结合,那么这个方法用不了,就用自己写的
string html = t.getcomment();
if (html.contains(".jpg") || html.conta ...
- 2017-08-14 09:03
- 浏览 302
- 分类:移动开发