自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 MY_照相机相册代码

必须的权限                                   android:id="@+id/btn_01"        android:layout_width="150dip"        android:layout_height="50dip"        android:text="相册" />  

2016-06-25 11:35:12 393

原创 倒计时60秒

/*调用一个倒计时的内部类*/new CountdownTimer(60000, 1000) { public void onTick(long millisUntilFinished) { phone_tv_getphonecode.setText(millisUntilFinished / 1000 + "秒后可重发"); phone_tv_getph

2016-06-24 11:01:03 561

原创 支付宝

复制类SignUtils.javaBase64.javaPayResult.java导包alipaySdk-20160516.jar清单配置:uses-permission android:name="android.permission.INTERNET" />uses-permission android:name="android.pe

2016-06-22 11:17:10 2431

原创 打开相册相机上传照片代码

//MAINpackage com.zmy.friendsmyapp.main2.HeadRightactivity;import android.app.Activity;import android.app.AlertDialog;import android.app.Dialog;import android.content.DialogInterface;import an

2016-06-16 17:22:52 498

原创 在线程中使用HttpClicent获取网络数据(get和post两种方式)

xml    xmlns:tools="http://schemas.android.com/tools"    android:layout_width="match_parent"    android:layout_height="match_parent"     android:orientation="vertical">            an

2016-06-16 08:20:06 2492

原创 加载时的动画效果

新建布局myprogresslayout.xml        android:layout_width="wrap_content"        android:layout_height="wrap_content"        android:layout_gravity="center"        android:layout_marginTop="10di

2016-06-11 20:19:18 357

原创 GridView加载刷新连带单独的图片用(ScrollView和GridView)解决冲突

//XMLxml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"

2016-06-07 19:42:17 516

原创 gridView上拉刷新下拉加载

studio到入桌面框架gridView上拉刷新下拉加载目录下PullRefreshLibrary框架//xmlcom.handmark.pulltorefresh.library.PullToRefreshGridView android:id="@+id/f0_pullgridview" xmlns:ptr="http://schemas.android

2016-06-07 17:21:40 375

原创 Ion图片

Ion.with(context) .load(userList.get(position).head_img) .withBitmap() .placeholder(R.drawable.load_img) .error(R.drawable.load_img) .intoImageView(viewHolder.i

2016-06-07 12:26:07 365

原创 年龄垂直滑动

垂直滑动的pikerview类导入//年龄regist_ages = (PickerView) findViewById(R.id.regist_ages);List list=new ArrayList();for (int i=18;i30;i++){ list.add(i+"");}regist_ages.setData(list);regi

2016-06-06 16:47:20 443

原创 圆形shape

圆形drawable目录下    android:shape="oval"    android:useLevel="false"    >                android:radius="49dp"        >            android:color="@color/green">    a

2016-06-02 08:14:16 504 1

原创 Fragment1中自定义控件适配

package com.gao.xuejun.makingfriends.find.Newactivitys.fragemt_.fragment_1.f1;import android.app.AlertDialog;import android.content.Context;import android.view.LayoutInflater;import android.

2016-06-02 08:12:56 898 1

原创 自定义listView

package com.gao.xuejun.makingfriends.find.Newactivitys.fragemt_.fragment_1.listViews;import android.content.Context;import android.util.AttributeSet;import android.widget.ListView;/** *

2016-06-02 08:11:34 491 1

空空如也

空空如也

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

TA关注的人

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