material-components / material-components/material-components-android

[BottomNavigationView] support shapeAppearance attribute

Open
#1,254 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Awaiting Design Feedback feature request Widget: BottomNavigation
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

Since `BottomNavigationView `uses `MaterialShapeDrawable `internally as background, it would be nice if we could set its `ShapeAppearanceModel `in xml or via setter.
While it is possible to get the background as MaterialShapeDrawable and apply the `ShapeAppearanceModel`, it would be more convenient via xml attribute or setter.

Contributor guide

Open the contributing guide

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.

Research direction

Start at BottomNavigationView and inspect how its internal MaterialShapeDrawable is used as the background. The work is complete when the view supports configuring its ShapeAppearanceModel through an XML attribute or setter, with behavior covering both requested entry points.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
design, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.