使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
check_circle
创建双窗格布局
subject
文章
可选
学习如何使用 SlidingPaneLayout 组件让布局适应不同的屏幕尺寸。
check_circle
自适应布局
emoji_objects
Codelab
在此 Codelab 中,您将学习如何利用 SlidingPaneLayout 使应用适应不同屏幕尺寸。
check_circle
将界面迁移到自适应布局
subject
文章
可选
check_circle
项目:Lunch Tray 应用
emoji_objects
Codelab
运用您在本单元学到的知识完成一个订餐应用,您将实现一个具有数据绑定功能的 ViewModel,并在 fragment 之间添加导航。
测验
测试您的知识掌握情况,赢取“自适应布局”徽章。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]