摘要: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_pa 阅读全文
posted @ 2014-09-13 14:42 Yvettey 阅读(234) 评论(0) 推荐(0)
摘要: 这里面用到了TableLayout 记住需要设置最大值、最小值和当前值,还要有对应的事件监听。 阅读全文
posted @ 2014-09-13 14:19 Yvettey 阅读(242) 评论(0) 推荐(0)
摘要: package com.example.choosedata; import java.util.Calendar; import android.app.Activity; import android.os.Bundle; import android.widget.DatePicker; import android.widget.... 阅读全文
posted @ 2014-09-13 14:15 Yvettey 阅读(141) 评论(0) 推荐(0)
摘要: package com.example.canlendarview; import android.app.Activity; import android.os.Bundle; import android.widget.CalendarView; import android.widget.CalendarView.OnDateChangeListener... 阅读全文
posted @ 2014-09-13 14:13 Yvettey 阅读(241) 评论(0) 推荐(0)
摘要: 代码中使用了两种方法,一个是直接用toast.makeText创建,还一个是用new Toast创建带图片的toast. 阅读全文
posted @ 2014-09-12 11:17 Yvettey 阅读(143) 评论(0) 推荐(0)
摘要: 点击文字,实现文字转换,只用到了数组,还有动画效果,事件监听。 阅读全文
posted @ 2014-09-11 19:18 Yvettey 阅读(153) 评论(0) 推荐(0)
摘要: 使用ImageSwitcher,实现渐变效果更换图片 阅读全文
posted @ 2014-09-11 18:54 Yvettey 阅读(254) 评论(0) 推荐(0)
摘要: LayoutInflater作用及使用 LayoutInflater作用及使用 作用: 1、对于一个没有被载入或者想要动态载入的界面, 都需要使用inflate来载入. 2、对于一个已经载入的Activity, 就可以使用实现了这个Activiyt的的findViewById方法来获得其中的界面元素 阅读全文
posted @ 2014-09-11 17:25 Yvettey 阅读(194) 评论(0) 推荐(0)
摘要: progressBar这部分相对而言比较简单 阅读全文
posted @ 2014-08-25 18:08 Yvettey 阅读(198) 评论(0) 推荐(0)
摘要: package com.example.seekbar; import android.app.Activity; import android.os.Bundle; import android.widget.ImageView; import android.widget.SeekBar; import android.widget.SeekBar... 阅读全文
posted @ 2014-08-25 17:54 Yvettey 阅读(214) 评论(0) 推荐(0)