New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 807725 link

Starred by 0 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Fix TranslateTabLayout's CustomViewStyleable lint error

Project Member Reported by wnwen@chromium.org, Jan 31 2018

Issue description

1. Remove @SuppressLint("CustomViewStyleable") in TranslateTabLayout.java
2. Build and see lint error
3. Fix

From: http://tools.android.com/tips/lint-checks

CustomViewStyleable
-------------------
Summary: Mismatched Styleable/Custom View Name

Priority: 6 / 10
Severity: Warning
Category: Correctness

The convention for custom views is to use a declare-styleable whose name
matches the custom view class name. The IDE relies on this convention such
that for example code completion can be offered for attributes in a custom
view in layout XML resource files.

(Similarly, layout parameter classes should use the suffix _Layout.)

 

Sign in to add a comment