android / android/car-samples

PlaceListNavigationTemplate doen't show header.

Open
#39 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
464
Forks
191
PR merge metrics
No merged PRs in 30d

Description

Hello colleagues,

According to [Android for Cars App Library design guidelines 1.3-beta](https://developer.android.com/static/training/cars/Android%20for%20Cars%20App%20Library%20design%20guidelines.pdf) @ page 65: [PlaceListNavigationTemplate](https://developer.android.com/reference/androidx/car/app/navigation/model/PlaceListNavigationTemplate) should have a header element.
Please take a look sample code, [PlaceListNavigationTemplate](https://github.com/android/car-samples/blob/main/car_app_library/showcase/common/src/main/java/androidx/car/app/sample/showcase/common/navigation/PlaceListNavigationTemplateDemoScreen.java) @ line 89:
` .setHeader(header)`
But, it doesn't appear on screen:
![Screenshot_1670413611](https://user-images.githubusercontent.com/109526637/206171670-c8ee203d-04af-4c1a-a283-9009610e4588.png)

Could you please help us solve this issue?

Contributor guide

Open the contributing guide

Research direction

Start with showcase/common/src/main/java/androidx/car/app/sample/showcase/common/navigation/PlaceListNavigationTemplateDemoScreen.java at line 89, where the header is set, and compare the rendered screen with page 65 of the linked design guidelines. Reproduce the sample and trace why the header is not displayed; done means the PlaceListNavigationTemplate screen shows its header as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.