Skip to content

[BUG] IdNaming - Material components #10

@alistairsykes

Description

@alistairsykes

Describe the bug
When using Material components the id naming should not require the use of material_ prefix, since material is a very standard and commonly used set of view components.

To Reproduce

<com.google.android.material.appbar.MaterialToolbar
            android:id="@+id/toolbar"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
(IdNaming) Line:X: android:id="@+id/toolbar" - Id for MaterialToolbar doesn't conform to naming convention

Expected behavior
Expect id to be toolbar / toolbar_foo

Additional context
n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions