自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (3)
  • 收藏
  • 关注

原创 Fresco的使用及圆角

1.依赖 compile 'com.facebook.fresco:fresco:0.13.0'2.布局 <com.facebook.drawee.view.SimpleDraweeView android:id="@+id/sim_fre" android:layout_width="100dp" android:layout_height

2017-12-26 00:45:52 685

原创 简单的二级购物车

1.权限 依赖<uses-permission android:name="android.permission.INTERNET"></uses-permission> compile 'com.squareup.okhttp3:okhttp:3.9.1' implementation files('libs/gson-2.2.4.jar') compile 'com.jakewh

2017-12-20 11:46:35 317

翻译 Recyerview的使用

适配器public class MySearchAdapter extends RecyclerView.Adapter<MySearchAdapter.ViewHolder> { private Context context; private List<Fen_Book> list; private int q; public MySearchAdapter(Cont

2017-12-18 00:33:31 1292

原创 圆角边框shape实现

<?xml version="1.0" encoding="utf-8"?><shape android:shape="rectangle" xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="#ffffff"></solid> <corners android:radi

2017-12-16 09:35:13 235

转载 第三方框架依赖

//ok网络请求compile 'com.squareup.okhttp3:okhttp:3.9.1'//recyclerview 与 xrecyclerviewcompile 'com.android.support:recyclerview-v7:26.0.0-alpha1'compile 'com.jcodecraeer:xrecyclerview:1.5.2'//图片加载comp

2017-12-15 09:38:16 423

转载 OKHttp上传下载

public void btnUpload(View view){ OkHttpClient okHttpClient = new OkHttpClient.Builder() .connectTimeout(5, TimeUnit.SECONDS) .build(); //上传的文件路劲

2017-12-08 08:20:56 319

转载 自定义控件+二维码

1.title.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_paren

2017-12-04 00:28:28 491

转载 自定义轮播图+网络请求

1.创建viewpa.xml<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="ma

2017-12-04 00:05:38 350

转载 流式布局(自定义控件)

1.创建MyViewGroup extends ViewGrouppackage com.example.lsllayout;import android.content.Context;import android.graphics.Canvas;import android.util.AttributeSet;import android.view.View;import androi

2017-12-03 23:56:07 282

转载 实现自定义顶部标题栏(自定义控件)

1.创建 layout_title.xml(自定义标题视图)<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/layout_titlebar" android:layout_

2017-12-03 23:42:42 517

转载 手指在屏幕上滑动,红色的小球始终跟随手指移动(自定义控件)

1.自定义控件 BallView类public class BallView extends View { private Paint mpaint; private int x=100; private int y=100; private int r=100; public BallView(Context context) {

2017-12-03 23:31:18 803

adb文件(adb.exe,AdbWinApi.dll,AdbWinUsbApi.dll)压缩包

adb的重要文件(adb.exe,AdbWinApi.dll,AdbWinUsbApi.dll)

2019-08-19

logo_vonvert

制作logo,将logo转化问.bin 格式...

2018-12-27

MyTask.java

Android开发工具类

2017-10-17

空空如也

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

TA关注的人

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