![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
qq_11441
这个作者很懒,什么都没留下…
展开
-
Android 简单数据库(增删改查)
原 Android 简单数据库(增删改查) <Button android:id="@+id/insert_btn" android:layout_width="wrap_content" android:layout_height="wra...原创 2018-09-17 19:21:38 · 249 阅读 · 0 评论 -
Rxjava使用
依赖 /*RxAndroid所依赖的库*/ implementation 'io.reactivex:rxandroid:1.2.1' implementation 'io.reactivex:rxjava:1.1.6' package com.sn.rxandroid; import android.content.Intent; import android.os....原创 2018-12-06 20:51:41 · 248 阅读 · 0 评论 -
轮盘
package com.example.zhuanpantwo; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import an...转载 2018-11-04 19:52:43 · 152 阅读 · 0 评论 -
ToolBar的简单运用
一.要写ToolBar 首先要修改style下的主题 如下图 <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> 二,在res文件下创建menu . <?xml version="1.0" encoding="utf-8"?> <menu xmlns:原创 2018-11-04 19:38:56 · 185 阅读 · 0 评论 -
imageloader
相关的博客:https://www.cnblogs.com/ruiati/p/3930732.html public static ImageLoaderConfiguration getImageLoaderConfiguration(Context context){ File file = new File(Environment.getExternalStorageDire...原创 2018-10-24 18:57:32 · 100 阅读 · 0 评论 -
频道管理
//在工作空间里面加的 allprojects { repositories { google() jcenter() maven {url "https://jitpack.io"} } } //demo里面添加依赖 implementation 'com.github.andyoom:draggrid:v1.0.1' b...原创 2018-10-25 10:53:15 · 126 阅读 · 0 评论 -
拍照 和 相册 选取截图
group01.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() { @Override public void onCheckedChanged(RadioGroup group, int checkedId) { // TODO Auto-generated method stub ...原创 2018-10-16 14:53:29 · 122 阅读 · 0 评论 -
Android Notification 详解
版权声明:本文为博主原创文章,未经博主允许不得转载。 前几天项目中有用到 Android 通知相关的内容,索性把 Android Notification 相关的知识都看了一遍,稍作梳理,在此做个总结,以备不时之需。 温故而知新,可以为师矣~ 下图是我对 Notification 做的思维导图,也是本文的主要逻辑。  本文主要讲述 Notification 的基本操作部分,进阶部分的内容...转载 2018-09-22 10:26:47 · 2691 阅读 · 0 评论 -
Android Button 常用属性设置,圆角,边框,点击事件
<Button <!--设置代表此button的id--> android:i...转载 2018-09-13 16:30:26 · 2900 阅读 · 0 评论 -
Retrofit
Util public class HttpUtil { public final Api api; public HttpUtil() { Retrofit retrofit = new Retrofit.Builder() .baseUrl(Contest.UTL) .addConvert...原创 2018-12-09 20:02:13 · 154 阅读 · 0 评论