Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Compose
布局
FlexBox 示例应用展示了 FlexBox 布局。该应用演示了列和行方向、弹性项尺寸调整(基准、放大和缩小)、换行行为以及对齐配置。
Compose
布局
网格示例应用演示了如何配置网格列和行,以及如何在 Compose 中使用网格修饰符跨多个行和列放置项。
Compose
自适应
MediaQuery 是一款示例应用,用于探索 Compose 界面中的媒体查询 API。此示例演示了如何根据窗口尺寸、设备姿态(例如桌面模式)、输入硬件(键盘和指针精度)、硬件传感器和观看距离来调整布局和界面元素。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],[],[],[]]