
9、Android
文章平均质量分 53
天使鍀翅膀
...
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
android知识点积累
添加监听: final ImageView image = new ImageView(this); image.setOnClickListener(new OnClickListener() { public void onClick(View v) { if(currentImg>=5) { currentImg = -1;原创 2012-09-05 17:14:59 · 393 阅读 · 0 评论 -
Android布局管理器
1.线性布局:LinearLayout http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:grav原创 2012-09-05 17:13:19 · 324 阅读 · 0 评论 -
Android基本的界面组件
一、文本框TextView与编辑框EditText 1.TextView文本框。有点类似于Swing的JLabel,只能显示文本,不能编辑 设置显示的文本超过了TextView的长度时,文本框内默认显示的提示文本 --> 将符合指定格式的文本转换为可单击的超链接形式 --> android:shadowDx="原创 2012-09-06 16:17:06 · 669 阅读 · 0 评论 -
android环境的搭建
ADT的安装 将解压后的ADT里的features,plugins文件夹里的文件全部复制到eclipse的features,plugins里 SDK的安装 Window-Preferences找到android点击android右边填上sdk的路径如: D:\android\android-sdk-windows Android环境变量设置 1、ANDROID_SDK_HOME原创 2012-08-27 10:06:18 · 249 阅读 · 0 评论 -
用adb命令安装APK文件到android系统
查看当前运行的模拟器 adb -devices 把电脑里的文件复制到模拟器的sdcard目录里 adb push E:/SogouInput.apk /sdcard/ 把模拟器sdcard里的文件复制到电脑上 adb pull /sdcard/SogouInput.apk d:/ 在模拟器里安装apk文件(我的可以直接安装电脑里的文件,在模拟器里的文件却安装不了,不知道原因) abd原创 2012-08-24 10:53:31 · 978 阅读 · 0 评论 -
Android高级界面组件(1)
一、自动完成文本框AutoCompleteTextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:completionHint="请选择您喜欢的图书" android:dropDownHorizonta原创 2012-09-10 15:55:04 · 1182 阅读 · 0 评论 -
Android高级界面组件(2)
十、可展开的列表组件ExpandableListView android:layout_width="fill_parent" android:layout_height="wrap_content" android:childIndicator="@drawable/icon"/> //创建一个BaseExpanda原创 2012-09-20 14:31:33 · 669 阅读 · 0 评论