Variable minWidth should be maxWidth
维护者通常 1 天内回复
@jdkoren 已经在做这个了。
开始于 2024年5月3日。
评估
这个 Issue 还没有评估数据。
描述
File: com.example.compose.snippets.layouts.ConstraintLayoutSnippets.kt
fun DecoupledConstraintLayout() {
BoxWithConstraints {
val constraints = if (minWidth < 600.dp) {
decoupledConstraints(margin = 16.dp) // Portrait constraints
} else {
decoupledConstraints(margin = 32.dp) // Landscape constraints
}
Variable minWidth should be maxWidth
- 主要语言
- Kotlin
- 星标
- 1.1k
- 派生
- 428
- 平均合并
- 3 天 11 小时
- 30 天内合并 PR
- 32
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
android/snippets 的其他 Issue
-
ListWithMultipleItemTypes.kt — Incorrect usage of items() lambda and contentType可能已有人在做 @nero002 于 148 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
android/snippets#863 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 3/5 半天 新手友好度 5/100
android/snippets#1183 · 1 条评论 ·
维护者通常 1 天内回复
-
Wrong example: Basic list-detail layout (custom Scene and strategy)可能已有人在做 @nero002 于 148 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 55/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
android/snippets#830 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
相似的 Issue
-
Dev
难度 2/5 1-3 小时 新手友好度 62/100
ankidroid/Anki-Android#22555 ·
维护者通常 1 天内回复
-
enhancement good first issue help wanted
难度 2/5 1-3 小时 新手友好度 78/100
-
core: RAC_LLM_OPTIONS_DEFAULT.min_p disagrees with the IDL's annotated default可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug core p3
难度 2/5 1-3 小时 新手友好度 70/100
RunanywhereAI/runanywhere-sdks#1083 ·
维护者通常 5 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
area: detector eco: java help wanted lane: free-agent roadmap size: S type: parser
难度 2/5 1-3 小时 新手友好度 62/100
arminazimi/evergreen#355 ·
维护者通常 1 天内回复