自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 ionic 侧拉框

var myapp = angular.module("dxtapp", ['ionic']);   myapp.controller("myCtrl", function($scope) {    $scope.user = ["yyy1", "yyy2", "yyy3"];    $scope.settings = ["yyyy", "yyy", "yy", "y"];   }

2017-12-14 20:58:29 408

原创 保存数据--显示日期

function save() {    var euname = document.getElementById("uname");    var eage = document.getElementById("age");    if(isNaN(eage.value) == false) {     var p = document.getElementById("conte

2017-12-04 18:51:16 241

原创 保存数据--删除

tr:nth-child(2n) {    background-color: aquamarine;   }      table {    width: 480px;    border: 1px solid;   }       function add() {    //创建行文本    var tr = document.createEle

2017-12-04 18:49:56 280

原创 判断网络是否连接

一,先创建个   JudgeNetWorkInfo   这个类public class JudgeNetWorkInfo { // 判断手机的网络状态(是否联网) public static int getNetWorkInfo(Context context) { //网络状态初始值 int type = -1; //-1(

2017-10-24 14:00:49 389

原创 DrawerLayout+Tablayout+PullTofresh+Fragment(Viewpage)

一,先在  manifrsts  写权限uses-permission android:name="android.permission.INTERNET" />uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>uses-permission android:name="android.p

2017-10-24 09:57:03 268

原创 Banner+DrawerLayout+Tablayout+PullTofresh+Fragment(Viewpage)

一,先在  manifrsts  写权限uses-permission android:name="android.permission.INTERNET" />uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>uses-permission android:name="android.p

2017-10-24 08:33:33 316

原创 Banner 图片无限轮播

一,需要在  manifests  添加两个权限 uses-permission android:name="android.permission.INTERNET" />uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />在 application 下面写android:name="

2017-10-18 16:13:44 238

原创 常用权限和依赖

常用依赖butterknife compile ‘com.jakewharton:butterknife:8.8.1’ annotationProcessor ‘com.jakewharton:butterknife-compiler:8.8.1’imageloader compile ‘com.nostra13.universalimageloader:universal-image-lo

2017-10-18 15:36:44 271

原创 pulltorefresh 下拉刷新,上拉加载

main  布局com.handmark.pulltorefresh.library.PullToRefreshListView android:id="@+id/pull_refresh_list" android:layout_width="fill_parent" android:layout_height="fill_parent" android:

2017-10-18 15:20:31 187

原创 点击Button按钮,解析在ListView上

一,public 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"; //网址//线程 Handler private

2017-10-13 08:46:38 708

原创 网上获取图片,展现在ListView上,

一,private ListView lv; //listView的全局String urlTotal = "http://api.expoon.com/AppNews/getNewsList/type/1/p/1"; //网址private MAdapter mAdapter; //MyAdapter的全局private List dataList; dataList的集合

2017-10-12 18:59:29 317

空空如也

空空如也

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

TA关注的人

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