摘要: 1.布局 1 6 7 13 14 20 21 22 28 29 35 36 37 43 44 50 51 52 2.逻辑控制 1 package com.example.androidtabhost; 2 3 import android.os.Bundle; 4 import android.app.Activity; 5 import android.app.TabActivity; 6 import android.view.LayoutInflater; 7 import androi... 阅读全文
posted @ 2013-02-28 17:13 欢醉 阅读(807) 评论(0) 推荐(0) 编辑
摘要: 1.布局 1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/tools" 3 android:layout_width="match_parent" 4 android:layout_height="match_parent" 5 android:orientation="vertical" 6 tools: 阅读全文
posted @ 2013-02-28 16:35 欢醉 阅读(1512) 评论(0) 推荐(0) 编辑
摘要: 拖动滑块改变图片透明度1.布局 1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/tools" 3 android:layout_width="match_parent" 4 android:layout_height="match_parent" 5 android:orientation="vertical&quo 阅读全文
posted @ 2013-02-28 16:29 欢醉 阅读(6056) 评论(0) 推荐(0) 编辑
摘要: 1. 获得当前年月日时分1 Calendar cal = Calendar.getInstance();2 year = cal.get(Calendar.YEAR);3 month = cal.get(Calendar.MONTH);4 day = cal.get(Calendar.DAY_OF_MONTH);5 hour = cal.get(Calendar.HOUR);6 minute = cal.get(Calendar.MINUTE);2.初始化DatePicker组件,指定监听 1 ... 阅读全文
posted @ 2013-02-28 14:48 欢醉 阅读(905) 评论(0) 推荐(0) 编辑