摘要:
本博前面的文章介绍了Android开发环境的搭建和模拟器的常用操作。本次,将以Android Sample中经典的SoftKeyboard项目为例,详细解析Android上一个小型项目的开发过程和注意事项。 从SDK 1.5版本以后,Android就开放它的IMF(Input Method Fram 阅读全文
posted @ 2013-09-04 14:30
无恨星晨
阅读(5285)
评论(0)
推荐(0)
摘要:
正文 一、结构 public final class InputMethodManager extends Object Java.lang.Object android.view.inputmethod.InputMethodManager 二、类概述 整个输入法框架(IMF)结构的核心API,应 阅读全文
posted @ 2013-09-04 14:12
无恨星晨
阅读(68504)
评论(3)
推荐(3)
摘要:
实例 <ImageView android:id="@+id/image" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="center" android:src="@ 阅读全文
posted @ 2013-09-04 13:33
无恨星晨
阅读(1548)
评论(0)
推荐(0)
摘要:
1.用代码设置控件的颜色: int b = getResources().getColor(R.drawable.blue);//得到配置文件里的颜色 mButton.setTextColor(b); 2.设置空间的字体: 方式一:mText.setTypeface(Typeface.createF 阅读全文
posted @ 2013-09-04 13:15
无恨星晨
阅读(8400)
评论(1)
推荐(0)