自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 登录注册

登录布局<?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="

2018-11-22 19:50:30 141

原创 上传头像 + 日期选择器

布局文件<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fresco="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:lay...

2018-11-22 19:44:32 105

原创 现阶段常用的几个常用的依赖

  //retrofit implementation 'com.squareup.retrofit2:retrofit:2.4.0' implementation 'com.squareup.retrofit2:converter-gson:2.0.2' implementation 'com.squareup.retrofit2:adapter-rxjava2:2...

2018-11-18 21:29:36 150

转载 购物车

首先布局文件<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_hei...

2018-11-18 21:13:06 98

转载 加入购物车

首先是布局文件<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fresco="http://schemas.android.com/apk/res-auto" andr...

2018-11-18 21:08:16 219

原创 封装的base类

封装的base类BaseActivitypublic abstract class BaseActivity<P extends BasePresenter> extends AppCompatActivity { protected P presenter; @Override protected void onCreate(@Nullable ...

2018-11-18 20:57:10 296

转载 关于仿京东商城购物车模块

工具类Retrofit private static final long CONNECTTIMEOUT = 10; private static final long WRITETIMEOUT = 10; private static final long READTIMEOUT = 10; private static final Interceptor...

2018-11-18 20:46:38 675

转载 Android 自定义流式布局(快速实现)

首先先写一个自定义的类继承viewgroup,代码如下package com.demo.com.jd_zhang.ui.customview;import android.content.Context;import android.util.AttributeSet;import android.util.Log;import android.view.View;import ...

2018-10-24 09:47:24 1220 2

原创 底部按钮

fragment布局<?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="m

2018-05-04 08:23:13 360

原创 引导页面

activity_main<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmln...

2018-05-04 08:17:19 145

空空如也

空空如也

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

TA关注的人

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