- 博客(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关注的人