- 博客(7)
- 收藏
- 关注
原创 有序广播拦截
通过sendOrderedBroadcast()方法发送一条有序广播 1.编写用户交互界面: xml version="1.0" encoding="utf-8"?> RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.androi
2017-06-14 23:18:06
819
原创 新闻客户端
1.activity_main.xml文件如下: xmlversion="1.0" encoding="utf-8"?> RelativeLayout xmlns:Android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id
2017-06-14 23:02:35
219
原创 android中商品展示案例
开发一个简单的购物车: (1)需要将购物车中的商品以列表的形式展示 (2)并且还需要对购物车中的 商品进行增删改查操作。 (3)要实现这些功能就需要使用 ListView 和 SQLite 数据库。 1.创建一个名为ProdectDisplay的程序 2.(1)在activity_main.xml文件中设计布局: xml version="1
2017-06-14 22:55:45
482
原创 用户登录界面的设置
创建的方法 1)在layout下新建一个名为login_top.xml的文件,具体代码如下: xml version="1.0" encoding="utf-8"?> RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_
2017-06-14 20:17:21
565
原创 Andriod开发购买装备
1.创建一个工程,包名为cn.itcast.select 2. activity_main.xml 布局文件中的代码为: LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.c
2017-06-14 19:53:03
430
原创 Andriod的四种启动方式
1 AndroidMainfest.xml文件 xml version="1.0" encoding="utf-8"?> manifest xmlns:android="http://schemas.android.com/apk/res/android" package="cn.edu.bzu.intentflags"> application
2017-03-29 22:26:29
224
原创 手机信息页面
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/darker_gray" android:orienta
2017-03-15 22:48:43
193
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅