Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Allow Customizing Attachment Gallery Icon Appearance in Compose

未关闭
#6,556 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
65/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
kotlin
领域
mobile

调研方向

首先将 Compose Attachment Gallery 文档与 issue 中链接的 XML Attachment Gallery 参考进行比较。跟踪 Compose attachment gallery 的入口点,并确定其可配置图标是如何暴露的;当开发者能够在保留内置 gallery 的同时,用自定义的 ImageVector 或 composable 实现替换所有相关默认图标时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

feature request

The XML-based UI components allow developers to customize the icons used in the attachment gallery, making it easy to adapt them to an application's design system.

In the Compose implementation, the customization options are more limited. While it's possible to configure which icons are shown, there isn't a way to provide custom implementations for all of the attachment gallery icons.

For reference:

It would be great if the Compose API allowed developers to replace the default icons with their own ImageVector or composable icons, similar to the flexibility available in the XML implementation. This would make it much easier to align the attachment gallery with an application's branding and design system while continuing to use the built-in gallery components.

主要语言
Kotlin
星标
1.7k
派生
320
平均合并
1 天 16 小时
30 天内合并 PR
114

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

GetStream/stream-chat-android 的其他 Issue

查看 GetStream/stream-chat-android 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。