- 博客(8)
- 资源 (2)
- 收藏
- 关注
原创 案例—IP拨号器
1.IP拨号器对应的布局文件(activity_main.xml): xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" android:layout_width="match_parent" android:layout_height="match_parent" andr
2017-06-03 17:23:24
460
原创 案例—新闻客户端
1.创建程序 新闻客户端对应的布局文件(activity_main.xml) xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" android:layout_width="match_parent" android:layout_height="match_parent
2017-05-25 10:22:55
353
原创 案例 商品展示
首先,创造一个应用程序,布局文件(activity_main.xml),如下图所示: xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" android:lay
2017-04-23 19:20:43
302
原创 登陆 记住密码
一.将以下三个图片 放入新建的项目的drawable中。 二.建一个login_top.xml 代码如下: android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/login_db"> > android:l
2017-04-11 16:27:35
430
原创 装备选择
1.创建程序 装备选择程序对应的布局文件(activity_main.xml),如下所示: xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" xmlns:app="http://schemas.a
2017-03-29 21:49:37
316
原创 Activity 的4种启动模式
1.standard模式 standard是Activity默认的启动模式,满足“先进后出”的原则。 系统不会判断该activity在栈中是否存在,每次都会创建一个新的实例。 2.singleTop模式 当启动的Activity已经位于栈顶时,则直接使用它,不创建新的实例。 如果没有位于栈顶的,则创建一个新的实例位于栈顶。 3.singleTask模式 在整个应用程序中只存在
2017-03-22 21:11:49
248
原创 Android UI界面
运行结果: 1.将准备好的图标复制到res/drawable文件夹下 2.创建一个垂直的线性布局,并在线性布局中创建4个相对布局 创建一个名为“手机信息页面”的程序,该程序用于展示手机设置页面的信息。程序界面对应布局文件activity_mian.xml如下所示: xmlns:tools="http://schemas.android.com/tools"
2017-03-14 17:09:28
310
转载 Android Studio 环境搭建与Hello World
1.下载安装包,位置http://java.sun.com 2.安装配置jdk,http://jingyan.baidu.com/article/ed15cb1b2ed02a1be369818a.html。 3.打开安装包。 . 4.点击右下角,Configure -> Project Defaults -> Project Structure。
2017-03-01 22:01:12
337
mysql-connector-java-5.1.29
2017-10-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人