Lint Report: 134 errors
Issue Types

Overview

Correctness
130error MissingDefaultResource: Missing Default
4error NotSibling: Invalid Constraints
Disabled Checks (312)

Missing Default

../../src/main/res/layout-land/folderobject.xml:18: The layout "folderobject" in layout-land has no declaration in the base layout folder; this can lead to crashes when the resource is queried in a configuration that does not match this qualifier
 15      limitations under the License.
 16 -->
 17 
 18 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"                          
 19     android:id="@+id/ObjectListLayout"
 20     android:layout_width="fill_parent"
 21     android:layout_height="fill_parent"
../../src/main/res/layout-port/folderobject.xml:18: The layout "folderobject" in layout-port has no declaration in the base layout folder; this can lead to crashes when the resource is queried in a configuration that does not match this qualifier
 15      limitations under the License.
 16 -->
 17 
 18 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"                          
 19     android:id="@+id/ObjectListLayout"
 20     android:layout_width="fill_parent"
 21     android:layout_height="fill_parent"
../../src/main/res/layout-land/grid_1.xml:18: The layout "grid_1" in layout-land has no declaration in the base layout folder; this can lead to crashes when the resource is queried in a configuration that does not match this qualifier
 15      limitations under the License.
 16 -->
 17 
 18 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"                          
 19     android:id="@+id/HomeDisplayLayout"
 20     android:layout_width="fill_parent"
 21     android:layout_height="fill_parent"
../../src/main/res/layout-port/grid_1.xml:18: The layout "grid_1" in layout-port has no declaration in the base layout folder; this can lead to crashes when the resource is queried in a configuration that does not match this qualifier
 15      limitations under the License.
 16 -->
 17 
 18 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"                          
 19     android:id="@+id/HomeDisplayLayout"
 20     android:layout_width="fill_parent"
 21     android:layout_height="fill_parent"
../../src/main/res/layout-land/hkey6.xml:2: The layout "hkey6" in layout-land has no declaration in the base layout folder; this can lead to crashes when the resource is queried in a configuration that does not match this qualifier
   1 <?xml version="1.0" encoding="utf-8"?>
   2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"                          
   3     android:id="@+id/kl6loaddimlayout"
   4     android:layout_width="fill_parent"
   5     android:layout_height="fill_parent"
MissingDefaultResource Correctness Fatal Priority 6/10

Invalid Constraints

../../src/main/res/layout-land/keypad1.xml:105: @+id/bulbckl6loaddim is not a sibling in the same RelativeLayout
 102             android:layout_width="100dp"
 103             android:layout_height="wrap_content"
 104             android:layout_alignParentLeft="false"
 105             android:layout_below="@+id/bulbckl6loaddim"                                             
 106             android:layout_centerHorizontal="false"
 107             android:layout_marginRight="10dp"
 108             android:layout_marginTop="20dp"
../../src/main/res/layout-port/onoffdim.xml:132: @+id/bulbbuttonskl6loaddim is not a sibling in the same RelativeLayout
 129             android:layout_below="@+id/dimtext"
 130             android:layout_centerHorizontal="true"
 131             android:layout_marginTop="10dp"
 132             android:layout_toRightOf="@+id/bulbbuttonskl6loaddim"                                   
 133             android:padding="10dp"
 134             android:tag="Dim" >
 135         </SeekBar>
../../src/main/res/layout-port/zs28.xml:184: @+id/bulbonkl6loaddim is not a sibling in the same RelativeLayout
 181             android:layout_height="wrap_content"
 182             android:layout_alignParentLeft="false"
 183             android:layout_alignParentRight="false"
 184             android:layout_alignRight="@+id/bulbonkl6loaddim"                                       
 185             android:layout_below="@+id/bulbfkl6loaddim"
 186             android:layout_centerHorizontal="true"
 187             android:layout_marginLeft="20dp"
../../src/main/res/layout-port/zs28loaddim.xml:244: @+id/dimtext is not a sibling in the same RelativeLayout
 241             android:layout_height="wrap_content"
 242             android:layout_alignParentBottom="false"
 243             android:layout_alignParentRight="false"
 244             android:layout_below="@+id/dimtext"                                                     
 245             android:layout_centerHorizontal="true"
 246             android:layout_marginTop="10dp"
 247             android:padding="10dp"
NotSibling Correctness Fatal Priority 6/10

Disabled Checks

One or more issues were not run by lint, either because the check is not enabled by default, or because it was disabled with a command line flag or via one or more lint.xml configuration files in the project directories.

Suppressing Warnings and Errors

Lint errors can be suppressed in a variety of ways:

1. With a @SuppressLint annotation in the Java code
2. With a tools:ignore attribute in the XML file
3. With a //noinspection comment in the source code
4. With ignore flags specified in the build.gradle file, as explained below
5. With a lint.xml configuration file in the project
6. With a lint.xml configuration file passed to lint via the --config flag
7. With the --ignore flag passed to lint.

To suppress a lint warning with an annotation, add a @SuppressLint("id") annotation on the class, method or variable declaration closest to the warning instance you want to disable. The id can be one or more issue id's, such as "UnusedResources" or {"UnusedResources","UnusedIds"}, or it can be "all" to suppress all lint warnings in the given scope.

To suppress a lint warning with a comment, add a //noinspection id comment on the line before the statement with the error.

To suppress a lint warning in an XML file, add a tools:ignore="id" attribute on the element containing the error, or one of its surrounding elements. You also need to define the namespace for the tools prefix on the root element in your document, next to the xmlns:android declaration:
xmlns:tools="http://schemas.android.com/tools"

To suppress a lint warning in a build.gradle file, add a section like this:

android {
    lintOptions {
        disable 'TypographyFractions','TypographyQuotes'
    }
}

Here we specify a comma separated list of issue id's after the disable command. You can also use warning or error instead of disable to change the severity of issues.

To suppress lint warnings with a configuration XML file, create a file named lint.xml and place it at the root directory of the module in which it applies.

The format of the lint.xml file is something like the following:

<?xml version="1.0" encoding="UTF-8"?>
<lint>
    <!-- Ignore everything in the test source set -->
    <issue id="all">
        <ignore path="*/test/*" />
    </issue>

    <!-- Disable this given check in this project -->
    <issue id="IconMissingDensityFolder" severity="ignore" />

    <!-- Ignore the ObsoleteLayoutParam issue in the given files -->
    <issue id="ObsoleteLayoutParam">
        <ignore path="res/layout/activation.xml" />
        <ignore path="res/layout-xlarge/activation.xml" />
        <ignore regexp="(foo|bar).java" />
    </issue>

    <!-- Ignore the UselessLeaf issue in the given file -->
    <issue id="UselessLeaf">
        <ignore path="res/layout/main.xml" />
    </issue>

    <!-- Change the severity of hardcoded strings to "error" -->
    <issue id="HardcodedText" severity="error" />
</lint>

To suppress lint checks from the command line, pass the --ignore flag with a comma separated list of ids to be suppressed, such as:
$ lint --ignore UnusedResources,UselessLeaf /my/project/path

For more information, see http://g.co/androidstudio/suppressing-lint-warnings