一、找不到网页 AndroidManifest.xml中的android:name="android.permission.INTERNET" />?权限写成大写的了 二、显示空白页 ?android:layout_width="match_parent" android:layout_height ...
分类:
Web程序 时间:
2016-03-27 15:33:07
阅读次数:
351
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_ ...
分类:
其他好文 时间:
2016-03-26 14:09:26
阅读次数:
269
<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" a ...
分类:
其他好文 时间:
2016-03-26 14:07:05
阅读次数:
332
LinearLayout 在androidUI布局中使用非常多,它其中有个很方便又很有意思的属性 weight ,这个属性理解起来不是那么简单的,而真正理解了又觉得非常简单! 下面就通过一个例子来说明. weight代表的含义 android:layout_width 布局代码是: <?xml ve ...
分类:
移动开发 时间:
2016-03-26 12:31:04
阅读次数:
163
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_pare ...
分类:
其他好文 时间:
2016-03-26 12:21:02
阅读次数:
98
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" andr ...
分类:
其他好文 时间:
2016-03-26 12:06:59
阅读次数:
193
TextView设置文字大小及颜色: 1.1)通过xml配置 <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="#FF0000" android: ...
分类:
其他好文 时间:
2016-03-24 16:14:15
阅读次数:
149
布局文件里面的Button写上 onClick = “onClick”,然后在你当前Activity的onClick方法中根据Button的id来做相应的操作 android:id="@+id/single_file_download" android:layout_width="0dp" andr
分类:
其他好文 时间:
2016-03-21 23:09:52
阅读次数:
404
用户界面以及活动总结: 1用户界面: ~android:id=""专门用于找到指定界面的索引 如果要在后面的程序中调用该控件,则一定要定义此属性 ~引用控件的方式:xml中@id/** 代码中R.id.** <TextView android:layout_width="wrap_content"
分类:
移动开发 时间:
2016-03-20 00:29:19
阅读次数:
183
首先来实现异步下载网络图片,布局文件如下:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientatio...
分类:
移动开发 时间:
2016-03-19 13:07:18
阅读次数:
271