一、简介 1.在main.xml中用TabHost、TabWidget、FrameLayout标签作布局 2.在MainActivity中生成TabHost、TabSpec,调用setIndicator()、setContent()、addTab(),用Intent指明要跳转的tab对应的class
分类:
移动开发 时间:
2016-02-17 19:00:06
阅读次数:
212
一、代码1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:ori
分类:
移动开发 时间:
2016-02-16 18:42:11
阅读次数:
225
一、代码 1.xml(1)activity_main.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/
分类:
移动开发 时间:
2016-02-16 18:34:13
阅读次数:
190
一、代码1.xml(1)activity_main.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/t
分类:
移动开发 时间:
2016-02-16 18:27:54
阅读次数:
181
一、代码1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:ori
分类:
移动开发 时间:
2016-02-16 13:22:09
阅读次数:
187
一、代码1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:ori
分类:
移动开发 时间:
2016-02-16 00:03:34
阅读次数:
244
一、简介 二、代码1.xml(1)activity_main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
分类:
移动开发 时间:
2016-02-15 22:44:48
阅读次数:
265
一、简介 一、代码1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 androi
分类:
移动开发 时间:
2016-02-15 00:52:44
阅读次数:
435
一、代码1.xml(1)main.xml 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:ori
分类:
移动开发 时间:
2016-02-14 16:45:24
阅读次数:
244
Eclipse卸载插件 ### 本人Eclipse版本为:Eclipse Mars 1. 选择: Help -> Install New Software , 如下图:2. 点击 what is already installed? 如下图:3. 点击已经安装的插件,然后选择uninstall 就可
分类:
系统相关 时间:
2016-02-14 15:31:06
阅读次数:
181