自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 自定义ListView的高度

import android.view.View; import android.view.ViewGroup; import android.widget.ListAdapter; import android.widget.ListView; public class ListviewDao {     public static void setListViewHeight

2016-10-16 18:24:58 367

原创 版本升级

private Handler handler = new Handler() {            @Override            public void handleMessage(Message msg) {                super.handleMessage(msg);                try {

2016-09-12 09:08:40 344

原创 rotate

//旋转布局          xmlns:android="http://schemas.android.com/apk/res/android"     android:fromDegrees="0"     android:toDegrees="360"     android:duration="1000"     android:pivotX="30%p"

2016-09-12 08:35:56 545

原创 xListview

XListView xListView = (XListView) view.findViewById(R.id.xListView);         // 激活加载更多         xListView.setPullLoadEnable(true);         // 激活下拉刷新         xListView.setPullRefreshEnable(true);  

2016-08-26 13:21:09 454

转载 ListView + CheckBox

Xml布局 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="ma

2016-08-21 21:16:01 279

原创 WebView

//隐藏标题         requestWindowFeature(Window.FEATURE_NO_TITLE);       //获取控件        WebView wv=(WebView) findViewById(R.id.webview);         //创建WebView对象         WebSettings settings = wv.getSet

2016-08-16 11:47:20 259

原创 XListViewHeader

package org.com.cctest.view; /**  * @file XListViewHeader.java  * @create Apr 18, 2012 5:22:27 PM  * @author Maxwin  * @description XListView's header  */ import com.example.day02.R; i

2016-08-14 20:28:34 398

原创 XListView

/**  * @file XListView.java  * @package me.maxwin.view  * @create Mar 18, 2012 6:28:41 PM  * @author Maxwin  * @description An ListView support (a) Pull down to refresh, (b) Pull up to load more.

2016-08-14 20:27:17 308

原创 XListViewFooter

/**  * @file XFooterView.java  * @create Mar 31, 2012 9:33:43 PM  * @author Maxwin  * @description XListView's footer  */ package org.com.cctest.view; import com.example.day02.R; impor

2016-08-14 20:23:50 237

空空如也

空空如也

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

TA关注的人

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