自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 引导页

<android.support.v4.view.ViewPagerandroid:id="@+id/pager"android:layout_width=“match_parent”android:layout_height=“match_parent”/></RadioGroup><Button android:id=

2019-03-14 10:06:24 173

原创 MVP的再次封装(banner轮播图)

首先导入依赖implementation ‘com.squareup.retrofit2:retrofit:2.5.0’implementation ‘com.squareup.okhttp3:okhttp:3.12.1’implementation ‘com.jakewharton:butterknife:8.8.1’annotationProcessor ‘com.jakewharto...

2019-01-20 11:22:48 206

原创 简单高得地图 获取位置

权限 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"></uses-permission> <!--用于访问GPS定位--><uses-permission android:name="android.permission.ACCESS_FINE_LO...

2019-01-18 14:50:49 283

原创 简单高得地图 获取位置

权限 <!--用于进行网络定位-->    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"></uses-permission> <!--用于访问GPS定位-->    <uses-permission android:name="and...

2019-01-18 14:48:50 300

原创 MVP+retrofit+butterKnife(实现登录、注册、轮播图)

添加依赖implementation ‘com.squareup.retrofit2:retrofit:2.5.0’implementation ‘com.squareup.okhttp3:okhttp:3.12.1’implementation ‘com.jakewharton:butterknife:8.8.1’annotationProcessor ‘com.jakewharton:...

2019-01-09 09:48:12 240

原创 仿饿了吗点餐(简单)

首先导入依赖implementation ‘com.android.support:recyclerview-v7:28.0.0’ implementation ‘com.github.bumptech.glide:glide:4.8.0’implementation ‘com.google.code.gson:gson:2.8.5’implementation ‘com.squareup....

2018-12-20 10:34:23 339

原创 二级列表 购物车(简单)

首先加入依赖implementation ‘com.google.code.gson:gson:2.8.5’implementation ‘org.greenrobot:eventbus:3.1.1’implementation ‘com.android.support:recyclerview-v7:28.0.0’implementation(‘com.jcodecraeer:xrecy...

2018-12-19 10:37:00 243

原创 属性动画(基础)

布局activity_main<com.lll.animator.MusicButtonandroid:id="@+id/musicButton"android:layout_width=“80dp”android:layout_height=“80dp”app:srcCompat="@drawable/music" /><Button

2018-12-11 19:58:39 100

原创 Zxing 生成二维码

首先添加依赖implementation ‘cn.bingoogolapple:bga-qrcode-zxing:1.2.5’添加权限布局MainActivitypackage com.lll.zxingsc;import android.Manifest;import android.annotation.SuppressLint;import android.content...

2018-12-07 11:49:05 172

原创 二维码扫描(ZXing)

首先加依赖implementation ‘cn.bingoogolapple:bga-qrcode-zxing:1.2.1’布局<cn.bingoogolapple.qrcode.zxing.ZXingViewandroid:id="@+id/zxingview"android:layout_width=“wrap_content”android:layout_height=“w...

2018-12-07 10:07:12 768

原创 流式布局 并添加到数据库

布局<?xml version="1.0" encoding="utf-8"?><LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" and

2018-12-03 10:16:51 166

原创 流式布局

布局 <EditText android:id="@+id/edit_keys" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1"/> <Button...

2018-11-30 19:40:59 129

原创 画板

布局<com.lll.shop_car.PaintViewandroid:id="@+id/paintView"android:layout_width=“match_parent”android:layout_height=“match_parent” />PaintView页面package com.lll.shop_car;import android.conten...

2018-11-30 14:15:46 113

原创 Android canvas画圆

布局<com.lll.day03.BallViewandroid:id="@+id/ballView2"android:layout_width=“match_parent”android:layout_height=“wrap_content” />BallView页面package com.lll.day03;import android.content.Contex...

2018-11-30 09:53:27 4996

原创 频道管理

//在总的app中加入maven {url “https://jitpack.io”}sp:allprojects {repositories {google()jcenter()maven {url “https://jitpack.io”}}}//在项目中加入依赖//频道管理compile ‘com.github.andyoom:draggrid:v1.0.1’//ta...

2018-11-21 14:37:56 127

原创 Banner轮播图

<com.youth.banner.Banner android:id="@+id/banner" android:layout_width="match_parent" android:layout_height="300dp"></com.youth.banner.Banner&am

2018-11-19 08:12:13 238 1

原创 Sqlite_PullToReFresh(网络请求)

<com.handmark.pulltorefresh.library.PullToRefreshListView android:id="@+id/plv" android:layout_width="match_parent" android:layout_height="match_parent"></com.handmark.pulltoref...

2018-11-16 15:16:36 132

原创 上下拉(XListView)

public class Frag_01 extends Fragment {String baseUrl = "http://api.expoon.com/AppNews/getNewsList/type/1/p/";int page;ArrayList<Product.DataBean> list = new ArrayList<Product.DataBean>...

2018-11-14 10:29:30 98

原创 PulltoRefresh

<com.handmark.pulltorefresh.library.PullToRefreshListViewandroid:id="@+id/plv"android:layout_width="match_parent"android:layout_height="match_parent" ></com.ha

2018-11-14 10:04:40 97

原创 httpclient和handler请求网络

public class Frag_02 extends Fragment {String urlString = "http://api.expoon.com/AppNews/getNewsList/type/1/p/1";String urlBitmap = "http://img.my.csdn.net/uploads/201407/26/1406383265_8550.jpg";St...

2018-11-11 19:54:18 592

原创 asyncTask和httpurlconnection请求网络展示

1.asyncTask和httpurlconnection请求网络展示package lll.com.as_httplx;MainActivity页面public class MainActivity extends AppCompatActivity {String urlString = "http://api.expoon.com/AppNews/getNewsList/type/1...

2018-11-11 19:53:39 187

空空如也

空空如也

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

TA关注的人

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