大约有 2,000 项符合查询结果(耗时:0.0078秒) [XML]
在app inventor中如果需要退出应用,需要调用哪句代码? - App Inventor 2 ...
调用控制代码块中的“退出程序”代码块:
退出程序关闭应用程序。
注:只有在编译apk真机运行时,才能退出App,AI伴侣测试的时候无法退出AI伴侣程序。
FloatActionBtn 扩展:悬浮操作按钮扩展,可自定义颜色、大小、图标和位置 ...
...
创建快速新建项目的悬浮按钮:
当 Screen1.初始化
调用 FloatActionBtn1.SetFabPosition 设置按钮位置为"BottomRight"
调用 FloatActionBtn1.SetFabSize 设置按钮大小为56
调用 FloatActionBtn1.SetFabColor 设置按钮颜色为应用主题色
调用 Flo...
理解Python的 with 语句 - 大数据 & AI - 清泛网 - 专注C/C++及内核技术
...紧跟with后面的语句被求值后,返回对象的__enter__()方法被调用,这个方法的返回值将被赋值给as后面的变量。当with后面的代码块全部被执行完之后,将调用前面返回对象的__exit__()方法。
This can be demonstrated with the following example:
...
MediaNotification 媒体通知扩展:管理媒体播放器通知,支持播放控制 · Ap...
...性。ChannelImportence定义了显示通知的条件等。通道在首次调用 ShowNotification 时自动创建。
如果要更改其他属性,必须使用新通道(新的ChannelID)。启动应用程序时应使用 HideChannel 隐藏现有通道。
保持设备活动
...
C++简练易用的线程池(threadpool)及上下文隔离的无锁线程池(isolated_threa...
...程池(isolated_threadpool)完整实现本文主要介绍两种C++线程池模型完整代码,经过实战考验的,效率已极致优化的代码,可直接用于实际项目开发。1、C++简练易用的线程池(threadpool)
完整代码:threadpool.hpp
部分核心代码如下:
// ...
ImageView 扩展:图片查看器扩展,支持缩放、双击缩放和动画缩放 · App In...
...
创建支持缩放的图片浏览器:
当 Screen1.初始化
调用 ImageView1.SetView 组件为 Image1
调用 ImageView1.SetImage 图片路径为 "file:///sdcard/photo.jpg"
调用 ImageView1.SetScaleType 缩放类型为 3 // FIT_CENTER
2. 产品展示
...
Python Charts库(Highcharts API的封装) - 大数据 & AI - 清泛网 - 专注C/C++及内核技术
Python Charts库(Highcharts API的封装)charts库实际是对调用Highcharts API 进行封装,通过python生成Highcharts脚本Highcharts中文网:http: v1 hcharts cn demo index php?p=1 charts库实际是对调用Highcharts API 进行封装,通过python生成Highcharts脚本
Highcharts中...
TCPClient TCP客户端扩展:连接TCP服务器进行文本消息通信 · App Inventor 2 中文网
...68.1.100"
设置 TcpClient1.RemotePort 为 8083
当 Button1.Click 时
调用 TcpClient1.Connect
当 TcpClient1.ConnectionStateChanged 时
设置 Label1.Text 为 获取 状态名
当 TcpClient1.MessageReceived 时
设置 Label2.Text 为 获取 消息
当 Button2.Click 时
调用 TcpClie...
Floating View 扩展:悬浮视图扩展,将组件转换为悬浮窗口 · App Inventor 2 中文网
...类似 Facebook Messenger 的悬浮聊天窗口:
当 Button1.点击
调用 FloatingView1.SetView 视图组件为 HorizontalArrangement1 可点击为true 位置X为100 位置Y为500
2. 音乐播放器悬浮控制
悬浮音乐控制面板:
当 音乐播放器.初始...
FloatingActionButton 扩展:悬浮操作按钮扩展,可自定义颜色、大小、位置...
...标准的 Material Design 悬浮操作按钮:
当 Screen1.初始化
调用 FloatingActionButton1.SetFabSize 按钮大小为56
调用 FloatingActionButton1.SetFabColor 按钮颜色为蓝色
调用 FloatingActionButton1.SetFabIconColor 图标颜色为白色
调用 FloatingActionButt...
