Skip to content

Commit

Permalink
Fixing lint build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Pope committed Sep 22, 2017
1 parent 2feeece commit aba272a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public Drawable createTagSpanForTag(final Tag tag) {
return buildBitmapForTextView(tagTextView);
}

@SuppressWarnings("deprecation")
private TagTextView createTextView(final String text) {
final TagTextView textView = new TagTextView(mContext, mAttributeSet, mDefStyleAttribute);
textView.setPadding(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.ryanpope.tagedittext.tag.views;

import android.content.Context;
import android.support.v7.widget.AppCompatTextView;
import android.util.AttributeSet;
import android.view.View;
import android.widget.TextView;

public class TagTextView extends TextView {
public class TagTextView extends AppCompatTextView {
public TagTextView(final Context context, final AttributeSet attributeSet, final int defStyleAttribute) {
super(context, attributeSet, defStyleAttribute);
setupAttributes();
Expand Down

0 comments on commit aba272a

Please sign in to comment.