- 博客(19)
- 收藏
- 关注
原创 ScrollView滑动监听显示标题栏
重写ScrollView:package com.example.ningac.mathom_a.myview;import android.content.Context;import android.util.AttributeSet;import android.view.View;import android.widget.ScrollView;/** * Created
2017-12-21 09:34:51
777
1
原创 安卓上传头像
主方法:package com.example.ningac.ningancheng20171220;import android.content.Intent;import android.graphics.Bitmap;import android.net.Uri;import android.os.Environment;import android.provider.Med
2017-12-21 09:02:54
325
原创 安卓文件下载
package com.bawei.xingweijin20171122;import android.app.DownloadManager;import android.content.BroadcastReceiver;import android.content.Context;import android.content.Intent;import andro
2017-12-21 09:00:40
449
原创 Shoppings
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:background="#fff" android:orientation="vertical" android:layout_h
2017-12-20 20:02:10
386
原创 My Shopping(2)
加减器:public class Myjiajian extends RelativeLayout{ private View view; private EditText edt; private TextView jian; private TextView jia; private MyjiajianListener lister; p
2017-12-20 10:46:42
265
原创 My Shopping
MVP:P:public class NewPresnter implements Basepresenter{ private IView iv; private DefaultSubscriber subscriberWel; private DefaultSubscriber subscriberAll; private DefaultSubscribe
2017-12-20 10:38:56
410
原创 扫描二维码
导入依赖 compile 'com.journeyapps:zxing-android-embedded:3.3.0'添加权限 uses-permission android:name="android.permission.CAMERA" /> uses-permission android:name="android.permission.INTERNET" />
2017-11-05 19:46:06
342
原创 angular之发货信息表
订单管理 * { font-size: 14px; margin: 0; padding: 0; } body { padding: 16px 32px; } .filter {
2017-10-25 18:27:42
233
原创 angular之用户表
用户管理 * { font-size: 14px; margin: 0; padding: 0; } body { padding: 16px 32px; } .search { pos
2017-10-25 13:34:43
240
原创 HTML之3D动画
3D * { margin: 0; padding: 0; } ul { position: relative; width: 200px; height: 200px; margin: 200p
2017-10-25 08:12:53
981
1
原创 angular之寻找数据
var app = angular.module("myApp", []); app.value("URL", "https://free-api.heweather.com/v5/weather?city=beijing&key=545d63e185fc48169a43cbabba6e74d2"); app.factory("weather", functio
2017-10-21 07:54:47
231
原创 angular之service
service-factory简单实例 var app = angular.module("myApp", []); app.constant("divide_0_tips", "除数不能等于零!"); // 依赖注入:5个重要的组件factory、service、provider、value、co
2017-10-21 07:46:55
371
原创 ionic_侧拉
侧边栏 var app = angular.module("myApp", ["ionic"]); app.controller("myCtrl", function ($scope, $ionicSideMenuDelegate) { $scope.toggleLeft = function () {
2017-10-20 19:00:43
246
原创 ionic_选项卡+侧拉
路由-标签切换 var app = angular.module("myApp", ["ionic"]); app.config(function ($stateProvider, $urlRouterProvider) { $stateProvider.state("home", { url: "
2017-10-20 19:00:02
296
原创 ionic_选项卡
路由-标签切换 var app = angular.module("myApp", ["ionic"]); app.config(function ($stateProvider, $urlRouterProvider) { $stateProvider.state("home", { url: "
2017-10-20 18:58:42
267
原创 ionic之购物书城
书店 var BShop = angular.module("BShop", ["ionic"]); BShop.config(function ($stateProvider, $urlRouterProvider) { $stateProvider.state("home", { url: "/h
2017-10-20 10:49:39
407
原创 GridView简单应用
main页面package com.example.ningac.ningancheng20170920;import android.graphics.Bitmap;import android.os.Handler;import android.support.v7.app.AppCompatActivity;import android.os.Bundle;imp
2017-09-20 11:01:52
325
原创 无限轮播
public class MainActivity extends AppCompatActivity implements OnItemClickListener{ private ConvenientBanner convenientBanner; private ListString> data=new ArrayList<>();// private List
2017-09-17 20:50:44
366
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人