- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 seekbar二段颜色+
<?xml version="1.0" encoding="utf-8"?> <item android:id="@android:id/progress">
2019-02-20 15:47:03
236
原创 带确定和取消的
AlertDialog alertDialog = new AlertDialog.Builder(activity).setMessage(R.string.confirm_investment).setPositiveButton(R.string.button_confirm, new DialogInterface.OnClickListener() {@Overridepubli...
2018-10-29 21:34:32
509
原创 Android 控件动画
private void moveLine(ImageView imageView, float fromX, float toX, float fromY, float toY) {AnimationSet animationSet = new AnimationSet(true);final TranslateAnimation animation = new TranslateAnima...
2018-10-26 11:12:11
481
原创 百度BOS下载文件
package com.example.mybostest;import android.Manifest; import android.content.pm.PackageManager; import android.os.Build; import android.os.Environment; import android.support.annotation.NonNull...
2018-09-04 17:04:16
2111
原创 在有广告的Recyclerview中多选删除
//选择 selection = findViewById(R.id.selection); selection_no = findViewById(R.id.selection_no); ly_btn_yes = findViewById(R.id.ly_btn_yes); ly_btn_no = findViewById(...
2018-08-15 14:36:22
409
原创 为Recyclerview最后一行添加边距
if (getItemCount() > 3 && position == getItemCount() - 1) { LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) holder.ly_rl.getLayoutParams(); ...
2018-08-15 14:33:23
3308
1
原创 在自定义Dialog中添加横向Recyclerview
Dialog dialog = new Dialog(this, R.style.Dialog); dialog.setContentView(R.layout.dialog_pitch); // 设置 recyclerview 布局方式为横 picth_rl = dialog.findViewById(R.id.pitch_rl); LinearLay...
2018-08-09 15:38:13
1748
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅