Android
文章平均质量分 77
SuperCoderJz
这个作者很懒,什么都没留下…
展开
-
Android ImageView 学习
布局文件:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <Linear原创 2014-08-05 15:03:18 · 515 阅读 · 0 评论 -
Android DatePicker 和TimePicker
DatePicker 和 TimePicker 时两个比较易用的控件,从FrameL原创 2014-08-06 10:56:53 · 552 阅读 · 0 评论 -
Android 设置横屏竖屏
1 因为横屏与竖屏需要请求系统设置,因此在AndroidManifest.xml中需要添加权限申请2 xml中添加一个按钮,点击按钮若界面为横屏切换为竖屏,若界面为竖屏,切换为横屏xml代码为<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools原创 2014-08-15 23:09:14 · 899 阅读 · 0 评论 -
Android 自动补全的文本框
1 xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width = "fill_parent" android:layout_height="fill_parent"> <A原创 2014-08-05 20:37:14 · 985 阅读 · 0 评论 -
Android 使用主题资源
1 与样式资源类似 Android的主题资源的xml文件通常放在原创 2014-11-07 19:20:47 · 761 阅读 · 0 评论 -
Android 关于BitmapFactory 的使用
1 BitMap 代表一张位图,BitmapDrawable 里封装的图片就是一个原创 2014-11-07 23:04:47 · 599 阅读 · 0 评论 -
android 随手指移动划线
自定义viewpackage com.example.myview;import android.content.Context;import android.graphics.Bitmap;import android.graphics.Bitmap.Config;import android.graphics.Canvas;import android.graphics.Col原创 2014-10-15 16:48:37 · 2602 阅读 · 0 评论 -
Android 关于双缓冲画图
双缓冲画图:原创 2014-11-17 22:25:51 · 562 阅读 · 0 评论 -
Android 解析xml文件
Android 中原始的xml文件一般保存在/res/xmlz原创 2014-11-06 12:35:01 · 617 阅读 · 0 评论