摘要:
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
一个码农的日常
阅读(1546)
评论(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
一个码农的日常
阅读(6088)
评论(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
一个码农的日常
阅读(935)
评论(0)
推荐(0)

浙公网安备 33010602011771号