安卓加载界面节点显示(安卓笔记4)
来源:互联网 发布:香港永久免费php空间 编辑:程序博客网 时间:2024/05/21 10:07
最近突击学习NFC中现在那个暂时可以缓缓了,再来继续学习安卓的一些小特效
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:gravity="center"> <!--默认的进度条效果--> <ProgressBar android:layout_width="wrap_content" android:layout_height="wrap_content" style="@android:style/Widget.ProgressBar"/><!--小圆的进度条效果--> <!--水平进度条效果--> <ProgressBar style="@android:style/Widget.ProgressBar.Small" android:layout_width="wrap_content" android:layout_height="wrap_content" android:max="60" android:visibility="visible" /> <ProgressBar android:layout_width="wrap_content" android:layout_height="wrap_content" style="@android:style/Widget.ProgressBar.Horizontal"/><!--普通进度条--> <ProgressBar style="@android:style/Widget.ProgressBar.Inverse" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <!--小进度条--> <ProgressBar android:layout_width="wrap_content" android:layout_height="wrap_content" style="@android:style/Widget.ProgressBar.Small.Inverse"/> <!--大进度条翻转--> <ProgressBar android:layout_width="wrap_content" android:layout_height="wrap_content" style="@android:style/Widget.ProgressBar.Large.Inverse"/></LinearLayout>
最终的效果图就是这样。main部分之间引用layout就可以了那个就不贴了。
阅读全文
0 0
- 安卓加载界面节点显示(安卓笔记4)
- 安卓常见错误界面不显示
- 安卓开发——安卓界面布局笔记
- 安卓界面——最开始界面的加载
- !!!!!安卓界面总是显示加载进度条的问题,没事别乱用ListFragment
- 安卓界面编程
- 安卓词典界面
- 安卓界面布局
- 关于安卓界面
- 安卓界面优化
- 【安卓笔记】异步加载大量图片
- 【安卓笔记】异步加载大量图片
- 安卓 webview加载h5界面无响应
- 安卓加载顺序
- 安卓加载GIF
- 安卓学习笔记---完美解决Android的WebView加载失败(404,500),显示的自定义视图
- 修改安卓界面显示的标签信息
- 安卓开发界面的布局显示及其属性
- r 数据读取
- 安装并免费使用Pychram专业版(学生/教师)
- ordered broadcast
- windows 串口常用的几个函数
- 时间单位的换算
- 安卓加载界面节点显示(安卓笔记4)
- HTML5-audio
- 2017第20届内蒙古国际农业博览会会刊(参展商名录)
- 表单验证功能
- ztree实现下拉树展示
- linux批量杀死进程
- mysql Ver 14.14 Distrib 5.7.20,安装
- 小命令
- Spring Cloud Config统一管理微服务配置