欢迎来到天天文库
浏览记录
ID:15655074
大小:590.50 KB
页数:17页
时间:2018-08-04
《android新手入门内部培训教程》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、一、目录一、目录开发搭建环境1开发搭建环境11、javasdk12、Eclipse23、androidSDK插件;SVN版本控制插件2二、文件结构31.新建工程32.输入新建工程内容33.工程目录结构4三、XML布局和国际化51.常用的布局51.绝对布局AbsoluteLayout52.线性布局63.表格布局TableLayout62.最常用的LinearLayout介绍83.国际化9四、按钮事件和Intent传值101、概要101、用例图102、时序图112、效果111.程序进入后的界面:112
2、.点击按钮后123.输入文字,并点击图片按钮后124.设置中文后123、代码131.Main.java132.GetIntent.java143.配置文件15五、Activity生命周期15六、其他内容16开发搭建环境1、javasdkjdk1.62、EclipseEclipse下载地址3、androidSDK插件;SVN版本控制插件1、启动Eclipse点击标题栏上的Help,选择InstallNewSoftware选项,如图:2、点击ADD按钮,并输入要安装的插件地址SDK:SVN:二、文件结
3、构1.新建工程点击File,New选项,点击AndroidProject;或者点击File,New选项,点击Other,如下图:2.输入新建工程内容:3.工程目录结构三、XML布局和国际化1.常用的布局1.绝对布局AbsoluteLayout4、t="fill_parent"xmlns:android="http://schemas.android.com/apk/res/android">5、utton> 效果:2.线性布局下面会详细介绍到3.表格布局TableLayout6、//schemas.android.com/apk/res/android">7、d:layout_height="wrap_content"android:text="Button">8、ayout_width="fill_parent"android:layout_height="wrap_content"android:orientation="horizontal">
4、t="fill_parent"xmlns:android="http://schemas.android.com/apk/res/android">5、utton> 效果:2.线性布局下面会详细介绍到3.表格布局TableLayout6、//schemas.android.com/apk/res/android">7、d:layout_height="wrap_content"android:text="Button">8、ayout_width="fill_parent"android:layout_height="wrap_content"android:orientation="horizontal">
5、utton> 效果:2.线性布局下面会详细介绍到3.表格布局TableLayout6、//schemas.android.com/apk/res/android">7、d:layout_height="wrap_content"android:text="Button">8、ayout_width="fill_parent"android:layout_height="wrap_content"android:orientation="horizontal">
6、//schemas.android.com/apk/res/android">7、d:layout_height="wrap_content"android:text="Button">8、ayout_width="fill_parent"android:layout_height="wrap_content"android:orientation="horizontal">
7、d:layout_height="wrap_content"android:text="Button">8、ayout_width="fill_parent"android:layout_height="wrap_content"android:orientation="horizontal">
8、ayout_width="fill_parent"android:layout_height="wrap_content"android:orientation="horizontal">
此文档下载收益归作者所有