
Android
chengqiuming
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Android简介以及基本开发环境搭建
一点睛1四大组件活动(Active):应用程序的展示层,我们看到的东西都要由活动展示。服务(Service):一直默默的工作在后台,即使应用程序退出,服务仍然可以运行。广播接受器:可以接收来自各处的广播消息,比如电话、短信等,当然我们的引用同样也可以向外发出广播消息。内容提供器:为应用程序之间共享数据提供了可能。比如,如果需要读取系统电话本中的联系人,就需要通过内容提供器来...原创 2019-08-04 09:29:42 · 392 阅读 · 0 评论 -
创建第1个Android项目图解
一创建HelloWorld项目二运行HelloWorld1选择Runapp2点击【CreateNewVirtualDevice】三创建项目遇到的问题请参考下面网站解决https://blog.youkuaiyun.com/lizhu1986/article/details/78537039https://jingyan....原创 2019-08-04 12:23:55 · 194 阅读 · 0 评论 -
HelloWorld项目结构说明
一项目目录说明二相关文件说明1 AndroidManifest.xml<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.helloworld"&...原创 2019-08-04 13:54:36 · 324 阅读 · 0 评论 -
Android线性布局介绍
一点睛LinearLayout又称线性布局,这个布局将它所有的控件在线性方向依次排列。二实战1android:layout_weight属性<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/androi...原创 2019-08-04 14:53:04 · 299 阅读 · 0 评论 -
Android的帧布局
一点睛所有的控件都摆放在布局的左上方。二 代码<?xml version="1.0" encoding="utf-8"?><FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/activity_main" android:l...原创 2019-08-04 16:22:21 · 851 阅读 · 0 评论 -
Android的TableLayout布局
一代码<?xml version="1.0" encoding="utf-8"?><TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:stretchColumns="1" ...原创 2019-08-04 16:26:10 · 585 阅读 · 0 评论 -
Android登录界面
一界面设计1代码<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/activity_main" android:layout_width="...原创 2019-08-04 17:14:50 · 795 阅读 · 0 评论