2016年2月29日

摘要: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_ 阅读全文
posted @ 2016-02-29 21:16 android开发进阶者 阅读(284) 评论(0) 推荐(0) 编辑
 
摘要: package com.example.uiwidgettest2;import android.app.Activity;import android.app.AlertDialog;import android.app.ProgressDialog;import android.content. 阅读全文
posted @ 2016-02-29 19:42 android开发进阶者 阅读(712) 评论(0) 推荐(0) 编辑
 
摘要: package com.example.uiwidgettest2;import android.app.Activity;import android.app.AlertDialog;import android.content.DialogInterface;import android.os. 阅读全文
posted @ 2016-02-29 19:25 android开发进阶者 阅读(1448) 评论(0) 推荐(0) 编辑
 
摘要: ProgressBar用于在界面上显示一个进度条,表示我们的程序正在加载一些数据。 <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/androi 阅读全文
posted @ 2016-02-29 17:18 android开发进阶者 阅读(5330) 评论(0) 推荐(0) 编辑
 
摘要: <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android: 阅读全文
posted @ 2016-02-29 15:15 android开发进阶者 阅读(289) 评论(0) 推荐(0) 编辑
 
摘要: <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android: 阅读全文
posted @ 2016-02-29 14:36 android开发进阶者 阅读(293) 评论(0) 推荐(0) 编辑
 
摘要: <?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.c 阅读全文
posted @ 2016-02-29 14:15 android开发进阶者 阅读(1090) 评论(0) 推荐(0) 编辑
 
摘要: <?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.c 阅读全文
posted @ 2016-02-29 12:49 android开发进阶者 阅读(221) 评论(0) 推荐(0) 编辑
 
摘要: 帧布局,开发中很少使用,最简单的布局 添加多个控件,这些控件会按顺序在屏幕左上角重叠显示,且会透明显示之前控件的文本语法格式:<?xml version="1.0" encoding="utf-8"?><FrameLayout xmlns:android="http://schemas.androi 阅读全文
posted @ 2016-02-29 10:24 android开发进阶者 阅读(2119) 评论(0) 推荐(0) 编辑
 
摘要: 表格布局 以表格的形式来显示界面中的控件,表格的每一行为一个TableRow,每当一个控件添加到TableRow中,就生成一个单元格。 语法格式: <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" xmls 阅读全文
posted @ 2016-02-29 10:09 android开发进阶者 阅读(3324) 评论(0) 推荐(0) 编辑
 
摘要: 以水平或垂直的方式显示界面中的控件 线性布局 语法格式: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" a 阅读全文
posted @ 2016-02-29 09:25 android开发进阶者 阅读(528) 评论(0) 推荐(0) 编辑