自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

转载 Android开发微信小程序

一名Android开发者的微信小程序填坑之路(1) 网址:https://blog.csdn.net/luoyanglizi/article/details/52681245

2019-10-11 18:29:25 530

原创 android 侧滑删除

侧滑删除 布局: <com.zhcy.healthmanager.view.ui.MemorandumLabelView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="43dp" android:l...

2019-09-16 13:27:59 346

原创 Android 原生分享文字、图片代码

Intent share_intent = new Intent(); share_intent.setAction(Intent.ACTION_SEND);//设置分享行为 share_intent.setType("image/plain");//设置分享内容的类型 share_intent.putExtra(Intent.EXTRA_SUBJECT, "123"); share_inten...

2019-09-16 11:50:50 692

原创 Android 通过日期转换为星期

Android 通过日期转换为星期的方法 public static String changeWeekday(String date) {//必须yyyy-MM-dd SimpleDateFormat sd = new SimpleDateFormat("yyyy-MM-dd"); SimpleDateFormat sdw = new SimpleDateFormat("E"); Date...

2019-09-16 11:46:32 788

原创 Android 控件去掉背景阴影效果

去掉背景阴影效果 在控件上加入属性: style="?android:attr/borderlessButtonStyle"

2019-09-16 11:43:55 726

原创 Android webview加载html字符串

Android webview加载html字符串 布局: <WebView android:id="@+id/wv_content" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="8dp" android:layout_marg...

2019-09-16 11:42:10 1209

转载 Android recycleview 二级列表(3)

Android recycleview 二级列表(3) 调用 List<HealthArticleRecyclerViewAdapter.DataTree<HealthArticle,HealthArticle>> healthArticleList = healthyArticleAPresenter.getHealthArticleList(); recyclerVi...

2019-09-16 11:36:38 219

转载 Android recycleview 二级列表(2)

Android recycleview 二级列表(2) recycleview适配器: public class HealthArticleRecyclerViewAdapter extends SecondaryListAdapter<HealthArticleRecyclerViewAdapter.GroupItemViewHolder,HealthArticleRecyclerView...

2019-09-16 11:34:01 194

转载 Android recycleview 二级列表(1)

Android recycleview实现 二级列表(1) 点击下拉列表的适配器 public abstract class SecondaryListAdapter<GVH, SVH extends RecyclerView.ViewHolder> extends RecyclerView .Adapter<RecyclerView.ViewHolder> { priv...

2019-09-16 11:28:58 491

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除