blob: 923181b8b9a8e42dd0bfe1e10ac63857d99ae95f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="4" by="lint 2.4.0-alpha6">
<issue
id="MissingPermission"
message="Missing permissions required by LocationManager.getLastKnownLocation: android.permission.ACCESS_COARSE_LOCATION or android.permission.ACCESS_FINE_LOCATION"
errorLine1=" return mLocationManager.getLastKnownLocation(provider);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v7/app/TwilightManager.java"
line="128"
column="28"/>
</issue>
<issue
id="MissingSuperCall"
message="Overriding method should call `super.onAnimationEnd`"
errorLine1=" public void onAnimationEnd(Animation animation) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="java/android/support/v4/app/FragmentManager.java"
line="1604"
column="29"/>
</issue>
<issue
id="MissingSuperCall"
message="Overriding method should call `super.onAnimationEnd`"
errorLine1=" public void onAnimationEnd(Animation animation) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="java/android/support/v4/app/FragmentManager.java"
line="3935"
column="21"/>
</issue>
<issue
id="MissingSuperCall"
message="Overriding method should call `super.draw`"
errorLine1=" public void draw(Canvas canvas) {"
errorLine2=" ~~~~">
<location
file="src/android/support/v7/widget/ViewStubCompat.java"
line="151"
column="17"/>
</issue>
<issue
id="DuplicateIds"
message="Duplicate id `@+id/image`, already defined earlier in this layout"
errorLine1=" &lt;ImageView android:id=&quot;@+id/image&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout/abc_activity_chooser_view.xml"
line="62"
column="20"/>
<location
file="res/layout/abc_activity_chooser_view.xml"
line="40"
column="20"/>
</issue>
<issue
id="ResourceType"
message="Expected resource of type anim"
errorLine1=" parser = resources.getAnimation(id);"
errorLine2=" ~~">
<location
file="src/android/support/graphics/drawable/AnimatorInflaterCompat.java"
line="130"
column="45"/>
</issue>
<issue
id="ResourceType"
message="Expected resource of type xml"
errorLine1=" final XmlPullParser parser = res.getXml(resId);"
errorLine2=" ~~~~~">
<location
file="src/android/support/v7/widget/AppCompatDrawableManager.java"
line="347"
column="61"/>
</issue>
<issue
id="ResourceType"
message="Expected resource of type string"
errorLine1=" ? Float.parseFloat(res.getString(R.dimen.lb_browse_header_select_scale))"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/FocusHighlightHelper.java"
line="276"
column="58"/>
</issue>
<issue
id="ResourceType"
message="Expected resource of type string"
errorLine1=" Integer.parseInt(res.getString(R.dimen.lb_browse_header_select_duration));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/FocusHighlightHelper.java"
line="279"
column="56"/>
</issue>
<issue
id="ResourceType"
message="Expected resource of type anim or interpolator"
errorLine1=" R.animator.lb_decelerator_4));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="kitkat/android/support/v17/leanback/transition/LeanbackTransitionHelperKitKat.java"
line="38"
column="17"/>
</issue>
<issue
id="ResourceType"
message="Expected resource of type layout"
errorLine1=" parser = mContext.getResources().getLayout(menuRes);"
errorLine2=" ~~~~~~~">
<location
file="src/android/support/v7/view/SupportMenuInflater.java"
line="123"
column="56"/>
</issue>
<issue
id="Range"
message="Value must be ≥ 0 (was -2147483648)"
errorLine1=" MeasureSpec.makeMeasureSpec(largestChildHeight,"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v7/widget/LinearLayoutCompat.java"
line="868"
column="61"/>
</issue>
<issue
id="Range"
message="Value must be ≥ 0 (was -2147483648)"
errorLine1=" MeasureSpec.makeMeasureSpec(largestChildWidth, MeasureSpec.EXACTLY),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v7/widget/LinearLayoutCompat.java"
line="1286"
column="61"/>
</issue>
<issue
id="Suspicious0dp"
message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
errorLine1=" &lt;Space android:layout_width=&quot;0dp&quot; android:layout_height=&quot;@dimen/lb_preference_item_text_space_top&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout/leanback_list_preference_item_multi.xml"
line="42"
column="16"/>
</issue>
<issue
id="Suspicious0dp"
message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
errorLine1=" &lt;Space android:layout_width=&quot;0dp&quot; android:layout_height=&quot;@dimen/lb_preference_item_text_space_top&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout/leanback_list_preference_item_single.xml"
line="42"
column="16"/>
</issue>
<issue
id="Suspicious0dp"
message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
errorLine1=" &lt;Space android:layout_width=&quot;0dp&quot; android:layout_height=&quot;@dimen/lb_preference_item_text_space_top&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout/leanback_preference.xml"
line="47"
column="16"/>
</issue>
<issue
id="Suspicious0dp"
message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
errorLine1=" &lt;Space android:layout_width=&quot;0dp&quot; android:layout_height=&quot;@dimen/lb_preference_item_text_space_top&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout/leanback_preference_information.xml"
line="34"
column="16"/>
</issue>
<issue
id="Suspicious0dp"
message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
errorLine1=" android:layout_width=&quot;0dp&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout/preference_dropdown.xml"
line="29"
column="9"/>
</issue>
<issue
id="Suspicious0dp"
message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
errorLine1=" android:layout_width=&quot;0dp&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout-v11/preference_dropdown.xml"
line="30"
column="9"/>
</issue>
<issue
id="Suspicious0dp"
message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
errorLine1=" android:layout_width=&quot;0dp&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout-v17/preference_dropdown_material.xml"
line="32"
column="9"/>
</issue>
<issue
id="Suspicious0dp"
message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
errorLine1=" android:layout_width=&quot;0dp&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout-v21/preference_dropdown_material.xml"
line="32"
column="9"/>
</issue>
<issue
id="Suspicious0dp"
message="Suspicious size: this will make the view invisible, should be used with `layout_weight`"
errorLine1=" android:layout_width=&quot;0dp&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="res/layout/preference_dropdown_material.xml"
line="32"
column="9"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (ActionBarDrawerToggleHoneycomb)"
errorLine1=" Log.w(TAG, &quot;Couldn&apos;t set home-as-up indicator via JB-MR2 API&quot;, e);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/app/ActionBarDrawerToggleHoneycomb.java"
line="62"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (ActionBarDrawerToggleHoneycomb)"
errorLine1=" Log.w(TAG, &quot;Couldn&apos;t set home-as-up indicator&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/app/ActionBarDrawerToggleHoneycomb.java"
line="67"
column="19"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (ActionBarDrawerToggleHoneycomb)"
errorLine1=" Log.w(TAG, &quot;Couldn&apos;t set content description via JB-MR2 API&quot;, e);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/app/ActionBarDrawerToggleHoneycomb.java"
line="87"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (AppCompatDrawableManager)"
errorLine1=" Log.d(TAG, &quot;[loadDrawableFromDelegates] Skipping drawable: &quot;"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/AppCompatDrawableManager.java"
line="315"
column="31"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (AppCompatDrawableManager)"
errorLine1=" Log.i(TAG, &quot;[loadDrawableFromDelegates] Returning cached drawable: &quot; +"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/AppCompatDrawableManager.java"
line="337"
column="27"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (AppCompatDrawableManager)"
errorLine1=" Log.i(TAG, &quot;[loadDrawableFromDelegates] Saved drawable to cache: &quot; +"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/AppCompatDrawableManager.java"
line="372"
column="35"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (AppCompatDrawableManager)"
errorLine1=" Log.e(TAG, &quot;Exception while inflating drawable&quot;, e);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/AppCompatDrawableManager.java"
line="377"
column="27"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (AppCompatDrawableManager)"
errorLine1=" Log.d(TAG, &quot;[tintDrawableUsingColorFilter] Tinted &quot;"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/AppCompatDrawableManager.java"
line="482"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (AppCompatDrawableManager)"
errorLine1=" Log.d(TAG, &quot;Mutated drawable is not the same instance as the input.&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v7/widget/AppCompatDrawableManager.java"
line="698"
column="19"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 27 (DetailsOverviewRowPresenter)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onLayoutChange &quot; + v);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/widget/DetailsOverviewRowPresenter.java"
line="178"
column="34"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 27 (DetailsOverviewRowPresenter)"
errorLine1=" Log.v(TAG, &quot;checkFirstAndLast fromScroll &quot; + fromScroll"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/widget/DetailsOverviewRowPresenter.java"
line="237"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 36 (FullWidthDetailsOverviewRowPresenter)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onLayoutChange &quot; + v);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/widget/FullWidthDetailsOverviewRowPresenter.java"
line="236"
column="34"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 36 (FullWidthDetailsOverviewRowPresenter)"
errorLine1=" Log.v(TAG, &quot;checkFirstAndLast fromScroll &quot; + fromScroll"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/widget/FullWidthDetailsOverviewRowPresenter.java"
line="295"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
errorLine1=" Log.w(TAG, &quot;Fragment is already exists, likely calling &quot;"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
line="642"
column="19"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
line="1000"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onCreateView&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
line="1039"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;Found guided step theme flag? &quot; + found);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
line="1239"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;Found guided step theme reference? &quot; + found);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
line="1352"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (GuidedStepSupportFragment)"
errorLine1=" Log.e(TAG, &quot;GuidedStepSupportFragment does not have an appropriate theme set.&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/GuidedStepSupportFragment.java"
line="1364"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 25 (OnboardingSupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;Found onboarding theme reference? &quot; + found);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/OnboardingSupportFragment.java"
line="552"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onAnimationEnd &quot; + mBgAlpha);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="148"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;setFadingEnabled &quot; + enabled);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="236"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;tickle enabled &quot; + mFadingEnabled + &quot; isResumed &quot; + isResumed());"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="313"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onInterceptInputEvent hidden &quot; + controlsHidden + &quot; &quot; + event);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="363"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;fraction &quot; + fraction);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="481"
column="38"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;fade &quot; + fadeIn);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="577"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;requested fade in progress&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="582"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;fade is no-op&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="586"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onAttachedToWindow &quot; + vh.getViewHolder().view);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="770"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;setting alpha to 0&quot;);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="772"
column="34"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (PlaybackOverlaySupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onDetachedFromWindow &quot; + vh.getViewHolder().view);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/PlaybackOverlaySupportFragment.java"
line="781"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 27 (VerticalGridSupportFragment)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;grid selected position &quot; + position);"
errorLine2=" ~~~">
<location
file="src/android/support/v17/leanback/app/VerticalGridSupportFragment.java"
line="120"
column="30"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatAutoCompleteTextView` instead"
errorLine1="public class AppCompatAutoCompleteTextView extends AutoCompleteTextView implements"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatAutoCompleteTextView.java"
line="49"
column="52"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatButton` instead"
errorLine1="public class AppCompatButton extends Button implements TintableBackgroundView {"
errorLine2=" ~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatButton.java"
line="51"
column="38"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatCheckBox` instead"
errorLine1="public class AppCompatCheckBox extends CheckBox implements TintableCompoundButton {"
errorLine2=" ~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatCheckBox.java"
line="49"
column="40"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatCheckedTextView` instead"
errorLine1="public class AppCompatCheckedTextView extends CheckedTextView {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatCheckedTextView.java"
line="33"
column="47"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatEditText` instead"
errorLine1="public class AppCompatEditText extends EditText implements TintableBackgroundView {"
errorLine2=" ~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatEditText.java"
line="48"
column="40"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatImageButton` instead"
errorLine1="public class AppCompatImageButton extends ImageButton implements TintableBackgroundView,"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatImageButton.java"
line="58"
column="43"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatImageView` instead"
errorLine1="public class AppCompatImageView extends ImageView implements TintableBackgroundView,"
errorLine2=" ~~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatImageView.java"
line="57"
column="41"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatMultiAutoCompleteTextView` instead"
errorLine1="public class AppCompatMultiAutoCompleteTextView extends MultiAutoCompleteTextView"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatMultiAutoCompleteTextView.java"
line="49"
column="57"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatRadioButton` instead"
errorLine1="public class AppCompatRadioButton extends RadioButton implements TintableCompoundButton {"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatRadioButton.java"
line="49"
column="43"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatRatingBar` instead"
errorLine1="public class AppCompatRatingBar extends RatingBar {"
errorLine2=" ~~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatRatingBar.java"
line="34"
column="41"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatSeekBar` instead"
errorLine1="public class AppCompatSeekBar extends SeekBar {"
errorLine2=" ~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatSeekBar.java"
line="34"
column="39"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatSpinner` instead"
errorLine1="public class AppCompatSpinner extends Spinner implements TintableBackgroundView {"
errorLine2=" ~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatSpinner.java"
line="68"
column="39"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatTextView` instead"
errorLine1="public class AppCompatTextView extends TextView implements TintableBackgroundView,"
errorLine2=" ~~~~~~~~">
<location
file="src/android/support/v7/widget/AppCompatTextView.java"
line="60"
column="40"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatImageView` instead"
errorLine1="class CheckableImageView extends ImageView implements Checkable {"
errorLine2=" ~~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/CheckableImageView.java"
line="24"
column="34"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatImageView` instead"
errorLine1="class CircleImageView extends ImageView {"
errorLine2=" ~~~~~~~~~">
<location
file="java/android/support/v4/widget/CircleImageView.java"
line="38"
column="31"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatTextView` instead"
errorLine1="public class DialogTitle extends TextView {"
errorLine2=" ~~~~~~~~">
<location
file="src/android/support/v7/widget/DialogTitle.java"
line="37"
column="34"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatEditText` instead"
errorLine1="public class GuidedActionEditText extends EditText implements ImeKeyMonitor {"
errorLine2=" ~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/GuidedActionEditText.java"
line="31"
column="43"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatImageView` instead"
errorLine1="public class PreferenceImageView extends ImageView {"
errorLine2=" ~~~~~~~~~">
<location
file="src/android/support/v7/internal/widget/PreferenceImageView.java"
line="33"
column="42"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatTextView` instead"
errorLine1="class ResizingTextView extends TextView {"
errorLine2=" ~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/ResizingTextView.java"
line="28"
column="32"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatTextView` instead"
errorLine1="public final class RowHeaderView extends TextView {"
errorLine2=" ~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/RowHeaderView.java"
line="24"
column="42"/>
</issue>
<issue
id="AppCompatCustomView"
message="This custom view should extend `android.support.v7.widget.AppCompatEditText` instead"
errorLine1="class StreamingTextView extends EditText {"
errorLine2=" ~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/StreamingTextView.java"
line="43"
column="33"/>
</issue>
<issue
id="Orientation"
message="No orientation specified, and the default is horizontal. This is a common source of bugs when children are added dynamically."
errorLine1=" &lt;LinearLayout"
errorLine2=" ^">
<location
file="res/layout/lb_row_media_item.xml"
line="63"
column="13"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: PixelFormat.UNKNOWN, PixelFormat.TRANSLUCENT, PixelFormat.TRANSPARENT, PixelFormat.OPAQUE"
errorLine1=" return 0;"
errorLine2=" ~">
<location
file="src/android/support/v7/widget/ActionBarBackgroundDrawable.java"
line="59"
column="16"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
errorLine1=" boolean isRtl = ViewCompat.getLayoutDirection(focused) == View.LAYOUT_DIRECTION_RTL;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/app/BrowseFragment.java"
line="1029"
column="71"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
errorLine1=" boolean isRtl = ViewCompat.getLayoutDirection(focused) == View.LAYOUT_DIRECTION_RTL;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/app/BrowseSupportFragment.java"
line="1032"
column="71"/>
</issue>
<issue
id="WrongConstant"
message="Must be one or more of: Gravity.LEFT, Gravity.RIGHT, GravityCompat.START, GravityCompat.END"
errorLine1=" + gravityToString(childGravity) + &quot; but this &quot; + TAG + &quot; already has a &quot;"
errorLine2=" ~~~~~~~~~~~~">
<location
file="java/android/support/v4/widget/DrawerLayout.java"
line="1075"
column="47"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: View.VISIBLE, View.INVISIBLE, View.GONE"
errorLine1=" v.setVisibility(mChildVisibility);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/GridLayoutManager.java"
line="1566"
column="37"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: View.VISIBLE, View.INVISIBLE, View.GONE"
errorLine1=" getChildAt(i).setVisibility(mChildVisibility);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/GridLayoutManager.java"
line="3476"
column="45"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
errorLine1=" boolean isRtl = ViewCompat.getLayoutDirection(view) == View.LAYOUT_DIRECTION_RTL;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/HorizontalHoverCardSwitcher.java"
line="50"
column="64"/>
</issue>
<issue
id="WrongConstant"
message="Must be one of: ViewCompat.LAYOUT_DIRECTION_LTR, ViewCompat.LAYOUT_DIRECTION_RTL"
errorLine1=" == View.LAYOUT_DIRECTION_RTL;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/android/support/v17/leanback/widget/TitleHelper.java"
line="49"
column="24"/>
</issue>
<issue
id="WrongConstant"
message="Must be one or more of: ActionBar.DISPLAY_USE_LOGO, ActionBar.DISPLAY_SHOW_HOME, ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_SHOW_TITLE, ActionBar.DISPLAY_SHOW_CUSTOM"
errorLine1=" setDisplayOptions(options, 0xffffffff);"
errorLine2=" ~~~~~~~~~~">
<location
file="src/android/support/v7/app/ToolbarActionBar.java"
line="254"
column="36"/>
</issue>
<issue
id="WrongConstant"
message="Must be one or more of: ActionBar.DISPLAY_USE_LOGO, ActionBar.DISPLAY_SHOW_HOME, ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_SHOW_TITLE, ActionBar.DISPLAY_SHOW_CUSTOM"
errorLine1=" setDisplayOptions(options, 0xffffffff);"
errorLine2=" ~~~~~~~~~~">
<location
file="src/android/support/v7/app/ToolbarActionBar.java"
line="254"
column="36"/>
</issue>
<issue
id="RtlCompat"
message="Inconsistent alignment specification between `textAlignment` and `gravity` attributes: was `center_vertical`, expected `start`"
errorLine1=" android:textAlignment=&quot;viewStart&quot; />"
errorLine2=" ~~~~~~~~~">
<location
file="res/layout/abc_popup_menu_header_item_layout.xml"
line="33"
column="36"/>
<location
file="res/layout/abc_popup_menu_header_item_layout.xml"
line="29"
column="37"/>
</issue>
<issue
id="RtlCompat"
message="Inconsistent alignment specification between `textAlignment` and `gravity` attributes: was `center_vertical|end`, expected `start`"
errorLine1=" android:textAlignment=&quot;viewStart&quot;"
errorLine2=" ~~~~~~~~~">
<location
file="res/layout/lb_search_bar.xml"
line="70"
column="44"/>
<location
file="res/layout/lb_search_bar.xml"
line="57"
column="45"/>
</issue>
</issues>