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.
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
ImageVectoror 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.