
Android
文章平均质量分 70
tenglongroy
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Android中使用WebView, WebChromeClient和WebViewClient加载网页
在android应用中,有时要加载一个网页,如果能配上一个进度条就更好了,而android 中提供了其很好的支持,下面是一个例子程序,先帖: <WebView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/webView" android:layout_width="fill_pa转载 2014-10-15 09:23:12 · 808 阅读 · 0 评论 -
android:inputType参数类型说明
android:inputType="none"--输入普通字符 android:inputType="text"--输入普通字符 android:inputType="textCapCharacters"--输入普通字符 android:inputType="textCapWords"--单词首字母大小 android:inputType="textCapSent转载 2014-10-10 16:06:06 · 555 阅读 · 0 评论 -
继承Application实现Android数据共享
Application类 在Android中,启动一个应用,首先会初始化Application,然后再通过它检查AndroidManifest.xml清单文件,选择需要首先启动的Activity。 在Activity中可以使用getApplication()方法获得该Application的实例,使用它就可以获得当前应用的主题、资源文件中的内容等,并且我转载 2014-12-05 11:03:58 · 495 阅读 · 0 评论 -
Android中RelativeLayout各个属性的含义
android:layout_above="@id/xxx" --将控件置于给定ID控件之上 android:layout_below="@id/xxx" --将控件置于给定ID控件之下 android:layout_toLeftOf="@id/xxx" --将控件的右边缘和给定ID控件的左边缘对齐 android:layout_toRightOf="@id/xxx" --将控件的左边缘和给转载 2015-01-05 10:52:49 · 353 阅读 · 0 评论