摘要: 当点击notification时,实现otherActivity 阅读全文
posted @ 2014-09-13 18:37 Yvettey 阅读(252) 评论(0) 推荐(0)
摘要: 滚动视图 scrollView是垂直滚动条 HorizontalView是水平滚动条 阅读全文
posted @ 2014-09-13 17:04 Yvettey 阅读(135) 评论(0) 推荐(0)
摘要: 虽然这个组件已经不推荐使用了,但是我还是学习了一下。他的xml有点复杂。 我认为它整体用的是TabHost,然后在标签部分用的是TabWidget,页面部分用的是FrameLayout。里面每个标签内容用LinearLayout包裹 阅读全文
posted @ 2014-09-13 15:31 Yvettey 阅读(146) 评论(0) 推荐(0)
摘要: <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)