- 博客(32)
- 收藏
- 关注
原创 月考模拟
一些依赖compile 'com.github.bumptech.glide:glide:3.7.0'compile 'com.facebook.fresco:fresco:0.12.0'compile 'io.reactivex:rxandroid:1.0.1'compile 'com.squareup.retrofit2:retrofit:2.0.2'compile 'com
2018-01-19 09:28:01 813
原创 购物车
compile 'com.squareup.okhttp3:okhttp:3.6.0'compile 'com.squareup.okio:okio:1.11.0'compile 'com.google.code.gson:gson:2.8.2'compile 'com.android.support:recyclerview-v7:25.0.1'compile 'com.github.b
2018-01-18 10:28:07 751
原创 登陆+购物车
一些依赖compile 'com.squareup.okhttp3:okhttp:3.9.0'compile 'com.google.code.gson:gson:2.8.2'compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'compile 'com.android.support:recy
2018-01-17 15:25:48 4036
原创 http请求
main下面创建assets new Derere;加安全证书布局不用动Mainactivity。javapackage com.example.myapplication;import android.os.Bundle;import android.support.v7.app.AppCompatActivity;import java.io.I
2017-12-28 19:55:18 236
原创 fresco加载图片
需要的依赖compile 'com.facebook.fresco:fresco:0.11.0'清单文件注册android:name=".MyApplication"添加网络权限 activity_main.xmlxml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://sch
2017-12-26 19:32:27 160
原创 购物车+订单
一些依赖compile 'com.squareup.okhttp3:okhttp:3.6.0'compile 'com.squareup.okio:okio:1.11.0'compile 'com.google.code.gson:gson:2.8.2'compile 'com.android.support:recyclerview-v7:25.0.1'compile 'com.
2017-12-21 08:53:39 1443
原创 购物车
一些依赖compile 'com.squareup.okhttp3:okhttp:3.6.0'compile 'com.squareup.okio:okio:1.11.0'compile 'com.google.code.gson:gson:2.8.2'compile 'com.android.support:recyclerview-v7:25.0.1'compile 'com.
2017-12-20 13:56:45 240
原创 切换数据
activity_main.xmlxml 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:
2017-12-10 21:09:07 252
原创 自定义banner
Main.xmlxml 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="ht
2017-12-03 20:30:19 1007
原创 自定义view
布局文件 五角星com.example.a04_custom_view.view.PointView android:layout_width="match_parent" android:layout_marginLeft="180px" android:layout_height="300dp" android:id="@+id/po
2017-11-30 19:16:58 129
原创 Okhttp网络请求
布局文件 xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:orientation="vertical" android:layout_width="match_parent"
2017-11-29 14:23:08 236
原创 路由切换
angular.module("myApp",["ngRoute"]). config(function($routeProvider){ $routeProvider.when("/1",{ template: "登录" }).when("/2",{
2017-11-15 09:04:30 273
原创 添加和删除和判断
$(function() { //给按钮添加点击事件 $("#btn").click(function() { //用户输入的信息 var name = $("input:eq(0)").val(); va
2017-11-11 10:29:36 236
原创 css创建表格
function cretable(){ var sumLine=document.getElementById("line").value; var sumcol=document.getElementById("col").value; var f=document.forms[0];
2017-11-06 08:26:59 1096
原创 baidu
body{background: url(img/t01802914c5e686e021.jpg);} h1:hover{color: red;} .text{width: 300px; height: 30px;} button{width: 100px; height: 36px; background: blue;
2017-11-05 17:51:30 10529
原创 跳转gridview
activity_mainxml version="1.0" encoding="utf-8"?>RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:background=
2017-10-26 08:59:35 616
原创 跳转
package com.example.jinritt;import android.content.Intent;import android.os.Handler;import android.os.Message;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;public cl
2017-10-25 08:44:48 184
原创 lianxi1
activity main xmlxml version="1.0" encoding="utf-8"?>android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/
2017-10-24 14:10:16 204
原创 toutiao
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="match_pare
2017-10-19 13:19:48 1470
原创 PullToRefreshListView 刷新
这是 xml文件 xml version="1.0" encoding="utf-8"?>RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:la
2017-10-19 13:05:07 319
原创 viewpager自动轮播
xml布局文件 android.support.v4.view.ViewPager android:id="@+id/view_pager" android:layout_width="match_parent" android:layout_height="200dp">android.support.v4.view.ViewPager>
2017-10-13 19:28:53 236
原创 tableout_vipager横向滑动
activity_xmlxml version="1.0" encoding="utf-8"?>RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://
2017-10-13 08:31:30 289
原创 drawlayout侧拉
activiet——xml xmlns:tools="http://schemas.android.com/tools" android:id="@+id/drawer_layout" android:layout_width="match_parent" android:layout_height="match_parent">
2017-10-13 08:24:28 187
原创 xlistview上拉刷新和下拉加载
package com.example.a09_xlistview_demo;import android.os.AsyncTask;import android.os.Bundle;import android.support.v7.app.AppCompatActivity;import com.example.a09_xlistview_demo.view.XListView;
2017-10-11 18:23:07 187
原创 ImageLoaderUtil多条目加载
这是xmlxml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:padding="10dp" android:layout
2017-10-10 20:08:51 171
原创 二次采样+权限
package news1510a.bawei.com.a07_erci_demo;import android.graphics.Bitmap;import android.graphics.BitmapFactory;import android.os.Environment;import android.support.v7.app.AppCompatActivity;
2017-10-10 09:10:15 156
原创 请求方式+imageloaderl
主界面xmlxml version="1.0" encoding="utf-8"?> LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activ
2017-10-08 09:33:54 285
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人