自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 785

原创 购物车

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 728

原创 登陆+购物车

一些依赖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 3856

原创 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 222

原创 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 148

原创 购物车+订单

一些依赖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 1396

原创 购物车

一些依赖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 229

原创 切换数据

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 234

原创 自定义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 998

原创 自定义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 119

原创 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 225

原创 购物车加路由

主界面index                                                         body {                width: 800px;                margin: 0 auto;            }                      

2017-11-19 20:10:45 180

原创 路由切换

angular.module("myApp",["ngRoute"]).            config(function($routeProvider){                $routeProvider.when("/1",{                        template: "登录"                }).when("/2",{

2017-11-15 09:04:30 264

原创 添加和删除和判断

$(function() {                //给按钮添加点击事件                $("#btn").click(function() {                    //用户输入的信息                    var name = $("input:eq(0)").val();                    va

2017-11-11 10:29:36 228

原创 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 1080

原创 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 7575

原创 表单验证

智能表单                                                                        完善个人资料                                                                                                

2017-11-01 14:34:44 123

原创 跳转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 607

原创 跳转

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 175

原创 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 184

原创 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 1453

原创 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 310

原创 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 226

原创 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 285

原创 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 175

原创 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 183

原创 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 164

原创 二次采样+权限

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 149

原创 请求方式+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 276

原创 AsyncTask+请求数据

欢迎大家进行转载

2017-09-28 14:32:17 250

原创 Httpcilent请求数据

欢迎大家转载

2017-09-27 20:20:42 356

原创 httpclient

httpclient

2017-09-27 14:43:12 272

空空如也

空空如也

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

TA关注的人

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