文章 2022-01-28 来自:开发者社区

【鸿蒙 HarmonyOS】UI 布局 ( 网格布局 TableLayout )

文章目录一、网格布局 TableLayout一、网格布局 TableLayout网格布局 需要设置整个布局中有多少行 , 多少列 , 每个单元格都可以设置一个组件 , 这个组件可以是单个 , 也可以是父组件嵌套多个子组件 ;网格布局设置行列个数 : 在 TableLayout 跟标签中设置行列数 ;① 设置行数 : ohos:row_count=“2” ;② 设置列数 : ohos:column....

【鸿蒙 HarmonyOS】UI 布局 ( 网格布局 TableLayout )
文章 2022-01-28 来自:开发者社区

【鸿蒙 HarmonyOS】UI 组件 ( 进度条 ProgressBar 和 RoundProgressBar 组件 )(二)

三、完整代码示例布局文件 :<?xml version="1.0" encoding="utf-8"?> <DirectionalLayout xmlns:ohos="http://schemas.huawei.com/res/ohos" ohos:height="match_parent" ohos:width="match_parent" o...

【鸿蒙 HarmonyOS】UI 组件 ( 进度条 ProgressBar 和 RoundProgressBar 组件 )(二)
文章 2022-01-28 来自:开发者社区

【鸿蒙 HarmonyOS】UI 组件 ( 单选按钮 | RadioButton 与 RadioContainer 组件 )(一)

文章目录一、RadioButton 与 RadioContainer 组件二、监听 RadioContainer 选择事件三、GitHub 地址一、RadioButton 与 RadioContainer 组件RadioButton 组件就是单选按钮 ;给出 3 33 个 RadioButton 按钮 , 使用 RadioContainer 编组后 , 只能 3 33 选 1 11 , 同一时刻....

文章 2022-01-28 来自:开发者社区

【鸿蒙 HarmonyOS】UI 组件 ( Button 组件 )

文章目录一、布局文件中设置 Button 组件属性二、代码中修改 Button 组件属性三、Button 点击事件四、完整代码示例五、执行结果六、GitHub 地址一、布局文件中设置 Button 组件属性Button 组件是在 UI 界面中的按钮组件 , 重要的用户交互接口 ;布局文件中设置 Button :Button 组件在布局文件中的示例 :&lt;?xml version="1.0" ....

【鸿蒙 HarmonyOS】UI 组件 ( Button 组件 )

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

{"cardStyle":"productCardStyle","productCode":"aliyun","productCardInfo":{"productTitle":"PAI部署多形态的SD WebUI服务","productDescription":"为企业提供云上快速部署定制化的文生图应用。","productContentLink":"https://www.aliyun.com/solution/tech-solution/pai_eas","isDisplayProductIcon":true,"productButton1":{"productButtonText":"方案详情","productButtonLink":"https://www.aliyun.com/solution/tech-solution/pai_eas"},"productButton2":{"productButtonText":"一键部署","productButtonLink":"https://help.aliyun.com/document_detail/2509703.html"},"productButton3":{"productButtonText":"查看更多技术解决方案","productButtonLink":"https://www.aliyun.com/solution/tech-solution/"},"productPromotionInfoBlock":[{"$id":"0","productPromotionGroupingTitle":"解决方案推荐","productPromotionInfoFirstText":"AnalyticDB 与通义千问搭建 AI 智能客服","productPromotionInfoFirstLink":"https://www.aliyun.com/solution/tech-solution/analyticdb-rag","productPromotionInfoSecondText":"通义千问和LangChain搭建对话服务 ","productPromotionInfoSecondLink":"https://www.aliyun.com/solution/tech-solution/tongyi-langchain"}],"isOfficialLogo":false},"activityCardInfo":{"activityTitle":"","activityDescription":"","cardContentBackgroundMode":"LightMode","activityContentBackgroundImageLink":"","activityCardBottomInfoSelect":"activityPromotionInfoBlock"}}

阿里巴巴终端技术

阿里巴巴终端技术最新内容汇聚在此,由阿里巴巴终端委员会官方运营。阿里巴巴终端委员会是阿里集团面向前端、客户端的虚拟技术组织。我们的愿景是着眼用户体验前沿、技术创新引领业界,将面向未来,制定技术策略和目标并落地执行,推动终端技术发展,帮助工程师成长,打造顶级的终端体验。同时我们运营着阿里巴巴终端域的官方公众号:阿里巴巴终端技术,欢迎关注。

+关注