wordpress-mobile / wordpress-mobile/WordPress-Android

Vector Drawable Icons Are Not Centered

Open
#9,827 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Enhancement Design Needed General
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Some vector drawable paths do not center the icon within the viewport. This was recently corrected on Simplenote. See the enlarged icon with centered squares below as an example from that pull request.

simplenote_ic_action_remove_24dp

Both icons created from the Material Icons site and directly in Android Studio can be off-centered. One example is ic_view_post_full_white_24dp, which comes from the view_day Material icon.

All icons should be checked to determine if they need to be centered or remain technically off-center to be better optically.

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 with ic_view_post_full_white_24dp and compare its vector viewport and path positioning with the centered example in Simplenote PR 666. Review the other vector drawable icons for the same issue, checking Material Icons and Android Studio-generated paths. Done means every icon has been checked and is centered where appropriate, while intentionally off-center icons remain so for optical balance.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
design, mobile
Issue type
Bug
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.