摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2053 思路:根据n=5的图,可以知道,就是判断n可以被1-n里的数整除多少次。。 阅读全文
posted @ 2014-11-05 12:20 Yvettey 阅读(160) 评论(0) 推荐(0)
摘要: 1.通用方法使用intent的PutExtra方法传入,用getExtra等方法获得数据主类Intent intent=new Intent(MainActivity.this,OtherActivity.class); intent.putExtra("name", ... 阅读全文
posted @ 2014-09-30 17:42 Yvettey 阅读(537) 评论(0) 推荐(0)
摘要: package com.example.progressdialog; import android.app.Activity; import android.app.ProgressDialog; import android.os.Bundle; import android.os.Handler; import android.os.Mess... 阅读全文
posted @ 2014-09-15 20:00 Yvettey 阅读(172) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android 阅读全文
posted @ 2014-09-15 19:54 Yvettey 阅读(235) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.co 阅读全文
posted @ 2014-09-15 19:49 Yvettey 阅读(150) 评论(0) 推荐(0)
摘要: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="wrap_con 阅读全文
posted @ 2014-09-15 19:46 Yvettey 阅读(152) 评论(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-14 18:39 Yvettey 阅读(245) 评论(0) 推荐(0)
摘要: 当点击notification时,实现otherActivity 阅读全文
posted @ 2014-09-13 18:37 Yvettey 阅读(243) 评论(0) 推荐(0)
摘要: 滚动视图 scrollView是垂直滚动条 HorizontalView是水平滚动条 阅读全文
posted @ 2014-09-13 17:04 Yvettey 阅读(130) 评论(0) 推荐(0)
摘要: 虽然这个组件已经不推荐使用了,但是我还是学习了一下。他的xml有点复杂。 我认为它整体用的是TabHost,然后在标签部分用的是TabWidget,页面部分用的是FrameLayout。里面每个标签内容用LinearLayout包裹 阅读全文
posted @ 2014-09-13 15:31 Yvettey 阅读(144) 评论(0) 推荐(0)