[JetStream] Movie card titles are no longer horizontally constraint.

Open
#144 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
android, kotlin
Domain
mobile-dev

Research direction

Start in common/Moviesrow.kt at the StandardCardLayout modifier, then compare the related change in pull request 142. Verify the behavior with a movie title longer than those in movies.json; done means the card keeps a constrained width and the title no longer expands the card horizontally.

Written by the indexing model from the issue text.

Description

In the recent pull request https://github.com/android/tv-samples/pull/142 the explicit width was removed from the modifier on the StandardCardLayout in the common/Moviesrow.kt file. This will cause the card to horizontally expand as needed to place the title of the item on the screen.

It is generally not noticeable in the sample as all the movie titles in movies.json are small enough but as the screenshot below shows longer titles will cause issues.

Screenshot_20231212_113257

Dominant language
Kotlin
Stars
1.3k
Forks
400
Avg merge
9d 10h
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/tv-samples

All issues in android/tv-samples

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.