Skip to content

Conversation

@dkhawk
Copy link
Collaborator

@dkhawk dkhawk commented Sep 16, 2025

Group demo activities on main screen and export all activities in the manifest.

To make the main screen less cluttered and easier to navigate, the demo activities have been grouped into a list.
This provides a cleaner and more organized user experience.

This change also pulls in Material 3.

Updated the `AndroidManifest.xml` in the `maps-app` sample to set `android:exported="true"` for all sample activities. This change allows each activity to be launched directly, simplifying demonstration and testing.
To make the main screen less cluttered and easier to navigate, the demo activities have been grouped into a list. This provides a cleaner and more organized user experience.

This change also pulls in Material 3.
This commit updates the main screen to use a Material 3 Scaffold, providing a more modern and consistent layout. The TopAppBar has also been updated to be center-aligned.
@dkhawk
Copy link
Collaborator Author

dkhawk commented Sep 16, 2025

Screenshot

image

@dkhawk dkhawk requested a review from kikoso September 16, 2025 21:33
@dkhawk dkhawk marked this pull request as draft September 16, 2025 21:39
Refactored the demo list screen to support internationalization by extracting all hardcoded strings into `strings.xml`. The `Activity` and `ActivityGroup` data classes were updated to use `@StringRes` integer IDs instead of `String` literals.

Additionally, the `DemoList` composable has been broken down into smaller, more focused composables (`GroupHeaderItem` and `DemoActivityItem`) to improve readability and maintainability.
@googlemaps-bot
Copy link
Contributor

Code Coverage

There is no coverage information present for the Files changed

@dkhawk dkhawk marked this pull request as ready for review September 16, 2025 22:44
* the main screen.
*/
val allActivityGroups = listOf(
ActivityGroup.MapTypes,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this much better! The amount of activities grew quite a bit.

Copy link
Collaborator

@kikoso kikoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dkhawk dkhawk merged commit d86c2a5 into main Sep 17, 2025
10 checks passed
@dkhawk dkhawk deleted the chore/export-activities branch September 17, 2025 13:50
@googlemaps-bot
Copy link
Contributor

🎉 This PR is included in version 6.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@googlemaps-bot
Copy link
Contributor

🎉 This PR is included in version 6.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

1 similar comment
@googlemaps-bot
Copy link
Contributor

🎉 This PR is included in version 6.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants