diff options
author | Tor Norbye <tnorbye@google.com> | 2012-10-14 21:35:42 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-10-15 10:21:17 -0700 |
commit | 43849a9c10cf00dc2da2e12e602461c9bd921faa (patch) | |
tree | a5bdb22c95a70918eb1e14598efbdabe53d2c26f /common | |
parent | db4370b384eccd3cbe1b3f050718b9a87a8d5cf7 (diff) | |
download | sdk-43849a9c10cf00dc2da2e12e602461c9bd921faa.zip sdk-43849a9c10cf00dc2da2e12e602461c9bd921faa.tar.gz sdk-43849a9c10cf00dc2da2e12e602461c9bd921faa.tar.bz2 |
Lint detector for missing menu titles
As requested in
38022: Lint should warn when menus don't have a title
Change-Id: I34688d7733d98ba9fa8cc10202a5470040962117
Diffstat (limited to 'common')
-rw-r--r-- | common/src/com/android/SdkConstants.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/src/com/android/SdkConstants.java b/common/src/com/android/SdkConstants.java index 0690a70..1a8a61c 100644 --- a/common/src/com/android/SdkConstants.java +++ b/common/src/com/android/SdkConstants.java @@ -811,6 +811,8 @@ public final class SdkConstants { // Menus public static final String ATTR_SHOW_AS_ACTION = "showAsAction"; //$NON-NLS-1$ + public static final String ATTR_TITLE = "title"; //$NON-NLS-1$ + public static final String ATTR_VISIBLE = "visible"; //$NON-NLS-1$ public static final String VALUE_IF_ROOM = "ifRoom"; //$NON-NLS-1$ public static final String VALUE_ALWAYS = "always"; //$NON-NLS-1$ |