- 博客(34)
- 收藏
- 关注
原创 KAOSHI
MainActivitypackage com.example.wqa;import android.graphics.Color; import android.os.Bundle; import android.support.v7.app.AppCompatActivity;import com.example.wqa.fragment.FaxianFragment; import co
2018-01-18 21:08:01
1371
原创 Bean
AddShopCarBeanpackage com.bwie.skn.moni.bean;/** * author:Created by Conan on 2017/12/20. */public class AddShopCarBean { private String code; private String msg; public String ge
2017-12-21 13:05:45
455
原创 下订单
//NETApi package com.example.myapplication.net;/** * 张梦乔创建于 2017/12/18. * 9:06 */public interface Api { boolean ISONLINE = true; String DEV = "http://169.27.23.105";
2017-12-21 09:27:34
713
原创 二级购物车
//清单文件xml version="1.0" encoding="utf-8"?>manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.kk"> uses-permission android:name="android.permission.READ_E
2017-12-20 14:27:40
234
原创 流式布局
主activity布局xml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:orient
2017-12-19 20:59:52
713
原创 登录注册mvp
Utils类Okhttp package com.example.lxs.Utils;import android.os.Handler;import java.io.IOException;import java.util.Map;import okhttp3.Call;import okhttp3.Callback;import okhttp3.FormBody;i
2017-12-13 10:58:55
428
原创 登录注册
Okhttp public class Okhttp {private Handler handler =new Handler();private String str;private static Okhttp okhttp=null; public Okhttp(){ } public static Okhttp getInster(){
2017-12-12 21:12:45
943
原创 okHttp(get请求)
package com.example.lx;import android.os.Bundle;import android.support.v7.app.AppCompatActivity;import android.util.Log;import android.widget.TextView;import java.io.IOException;import okhttp
2017-12-06 14:35:16
288
原创 二维码
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:
2017-12-05 07:53:52
202
原创 自定义控件旋转圆加载进度
主xmlxml version="1.0" encoding="utf-8"?>android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/re
2017-12-01 20:39:18
438
原创 购物车
主xmlxml version="1.0" encoding="utf-8"?>RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:xxx="http://schemas.android.com/apk/res-auto" xmlns:tools="http
2017-12-01 20:11:11
190
原创 圆移动
xml布局xml version="1.0" encoding="utf-8"?>RelativeLayout android:id="@+id/ra" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-a
2017-12-01 20:05:34
324
原创 画圆
布局xml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://s
2017-12-01 19:58:59
292
原创 Angular Js
var app=angular.module("myApp",[]);app.controller("myCtrl",function($scope){$scope.arr=[{id:80,name:"iphone",price:5400,state:false},{id:290,name:"ipad",price:1420,state:false}
2017-11-23 12:51:13
37130
原创 颜色
table tr:nth-child(even){background-color: bisque;}table tr:nth-child(odd){background-color: azure;}
2017-11-23 11:28:57
216
原创 javascript表单注册批量删除单选复选全选
charset="UTF-8"> td { text-align: center; } src="../js/jquery-1.11.0.js"> $(function() { var arr = [ ["东城","
2017-11-13 08:07:13
505
原创 侧滑+fragmentlayout+viewpage+少许今日头条
第一布局RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android
2017-10-26 09:12:27
658
原创 动态fragment+viewpage+tablelayout
1.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" xmlns:tools="http:/
2017-10-18 08:19:59
398
原创 网络判断
public static int getNetype(Context context) { int netType = -1; ConnectivityManager connMgr = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo net
2017-10-16 19:07:23
227
原创 fragment滑动
package com.example.wzq;import java.util.ArrayList;import android.os.Bundle;import android.support.v4.app.Fragment;import android.support.v4.app.FragmentActivity;import android.suppo
2017-10-16 09:30:39
262
原创 Draylayout2
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" xmlns:tools="http://schem
2017-10-15 19:36:05
189
原创 动态标题+网络异步获取图片与文字
布局一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" xmlns:tools="http:
2017-10-11 08:57:19
285
原创 httpclict和httpurl获取文字和图片
1.布局(1) xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_verti
2017-10-09 07:58:24
614
原创 drawlayble
1xml version="1.0" encoding="utf-8"?>android.support.v4.widget.DrawerLayout android:id="@+id/draw" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.a
2017-09-21 10:22:13
27594
原创 横向滑动+++++
1.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" xmlns:tools="http://s
2017-09-20 14:58:52
53489
原创 轮播图+xlistview异步请求的数据+imglode获取图片数据
package com.example.zkt;import android.os.AsyncTask;import android.os.Bundle;import android.os.Handler;import android.os.Message;import android.support.v4.view.PagerAdapter;import android.suppo
2017-09-15 10:33:39
53868
原创 无限轮播
1.布局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" xmlns:tools="http
2017-09-15 10:28:16
53031
原创 横向滑动+viewpage的完美结合
1.布局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" xmlns:tools="http
2017-09-15 10:24:36
27661
原创 xlistview获取图片与文字
1.布局(1)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" xmlns:tools=
2017-09-15 10:18:18
54588
原创 混合xlistview Drawlayout 异步请求
package com.bwie.skn.xianxi20.fragment;import android.graphics.Bitmap;import android.graphics.BitmapFactory;import android.os.AsyncTask;import android.os.Bundle;import android.os.Handler
2017-09-11 08:12:50
53293
原创 xlistview
package com.wzq.xlistviewdemo;import android.os.Bundle;import android.os.Handler;import android.support.v7.app.AppCompatActivity;import android.view.View;import android.widget.AdapterView;impor
2017-09-10 20:42:52
53963
原创 listview + imageloder多条目加载
写三个xml文件第一个放入listview控件第二个写入所需控件,第三个也同样写入所需控件1主Activty中package com.example.wzqtemp;import android.os.Bundle;import android.support.v7.app.AppCompatActivity;import android.widget.ListView;i
2017-09-06 20:16:57
54262
原创 图片框架异步请求网络图片
1.加入jar包universal-image-loader-1.9.5.jar2.在xml文件中xml version="1.0" encoding="utf-8"?>manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.imgview">!!!!uses-
2017-09-06 08:36:59
54236
原创 异步请求网络json
package com.example.lxss;import android.os.AsyncTask;import android.os.Bundle;import android.support.v7.app.AppCompatActivity;import android.view.View;import android.view.ViewGroup;import andro
2017-09-05 16:51:36
27501
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人