Feature/movie actor background card#108
Merged
Merged
Conversation
baraa0abd
commented
Jul 18, 2025
Collaborator
This commit introduces several new composable functions for displaying movie and actor-related backgrounds and overlays: - `ActorOverlay`: Displays a circular actor image with an optional border. - `BlurredBackgroundImage`: Shows a blurred background image, supporting Android S+ blur effects. - `MoviePosterDetailScreen`: A screen composable that combines a blurred background, an overlay, and a central movie poster. - `PosterCard`: Displays a movie poster with rounded corners and a shadow.
The `ActorOverlay` composable function has been removed. This function was previously used to display an actor's image with a circular border and shadow.
This commit updates the `MoviePosterDetailScreen` composable to support displaying actor images in addition to movie posters.
Key changes:
- Renamed `posterImageUrl` to `ImageUrl` for broader applicability.
- Added an `isActor` boolean parameter to differentiate between movie posters and actor images.
- Implemented conditional rendering:
- If `isActor` is true, an `ActorOverlay` with a circular shape is displayed.
- Otherwise, the existing `PosterCard` with rounded corners is displayed.
- Updated the preview to reflect the parameter name change.
This commit introduces a new composable function `ActorOverlay`. This composable displays an actor's image within a circular frame. It includes a shadow effect and a colored border. The image is loaded asynchronously using Coil.
AmrNasserSaad
approved these changes
Jul 18, 2025
fatimafaisalghazi
approved these changes
Jul 18, 2025
…ading This commit replaces the `AsyncImage` composable from the Coil library with a custom `FilteredImage` composable in several parts of the application. This change aims to enhance image loading capabilities, potentially by adding filtering or other custom processing to the images. The affected components are: - `ActorOverlay` - `BlurredBackgroundImage` - `PosterCard` The `MoviePosterDetailScreen` was also slightly reformatted.
karrar-abbas
approved these changes
Jul 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.