- 博客(17)
- 收藏
- 关注
原创 Android学习16——个人日记本
主要页面布局:activity_diary.xml:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orient
2012-12-21 13:22:15 905
原创 Android学习15——RSS阅读器
页面布局main.xml:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <Lis
2012-12-21 10:58:54 528
原创 Android学习14——数据存储之文件存储
页面主要布局activity_main.xml:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" androi
2012-12-21 09:57:00 263
原创 Android学习13——数据存储之SharedPreference
activity_main.xml:http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent"
2012-12-21 09:46:19 279
原创 Android学习12——Tab组件和ListView组件结合
Tab组件和ListView组件结合的关键代码,用一个Activity调用另一个Activity,使另一个Activity开始执行:Intent intent = new Intent();intent.setClass(this, Tab01Activity.class);TabHost.TabSpec tab01 = tabHost.newTabSpec("tab01").
2012-10-14 19:01:42 428
原创 Android学习11——Tab
页面布局:activity_main.xlm: xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" > android:id="@+id/a
2012-10-12 14:42:39 193
原创 Android学习10——ListView
页面布置:activity_main.xml: xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" > android:id="@+id
2012-10-10 20:25:46 342
原创 Android学习9——ImageButton
页面布置:alertdialoglayout.xml: xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> android:id="@
2012-10-07 17:19:45 276
原创 Android学习8——ImageSwitcher
Main.xml: android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > android:id="@+id/imageSwitcher1" androi
2012-10-07 16:42:28 237
原创 Android学习7——RatingBar
页面activity_main.xml: android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > android:layout_width="fill_parent"
2012-09-30 16:14:45 242
转载 Android学习6——GridView
Android 中GridView上面图片下面文字的例子 网上的两个小例子: gridview.xml Xml代码 1. version="1.0" encoding="utf-8"?> 2. xmlns:android="http://schemas.android.com/apk/res/android" 3.
2012-09-26 19:25:42 650
原创 Android学习5——GridView
页面activity_main.xml xmlns:tools="http://schemas.android.com/tools" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" >
2012-09-26 19:14:11 257
原创 Android学习2——计算器
1、页面布置activity_main.xml: xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"
2012-09-23 13:07:15 260
原创 Android学习4——猜拳小游戏
1、猜拳小游戏页面布置:activity_main.xml: xmlns:tools="http://schemas.android.com/tools" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_pare
2012-09-23 10:17:23 699
原创 Android学习3——注册
1、学习android组件,布置页面布局:activity_main.xml代码: xmlns:tools="http://schemas.android.com/tools" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orie
2012-09-20 08:52:58 209
原创 Android学习1——计算器
Android学习,第一次写博客。老师布置作业写一个简单的计算器。说实话我没有好好学,别人都说挺简单的,可是我还是没写出来,也许真的是因为我没好好学,也许是因为基础有点差,但是不管是什么原因都要从现在开始好好学了,如果是因为没好好学那么从现在开始,如果是因为基础差那么从现在开始好好补。本来只是想随便写两句的怎么突然想起了那么多啊,突然想起了以前好多的想法和毕业,算了不写完了,还是写写对这个没写出的
2012-09-16 22:22:36 505
转载 Android学习笔记1---简单计算器
摘自 张建波专栏 网址:http://www.2cto.com/kf/201204/129035.htmlAndroid学习笔记1---简单计算器 实验题目: 在Android模拟器里,完成一个简单的计算机功能。实验目的: 了解Android的常见控件“文本框、按钮”等的使用。 第一步、新建工程
2012-09-16 17:49:13 591
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人