|
7 | 7 | import android.graphics.drawable.Drawable;
|
8 | 8 | import android.graphics.drawable.GradientDrawable;
|
9 | 9 | import android.os.Build;
|
10 |
| -import android.support.annotation.Nullable; |
11 |
| -import android.text.InputFilter; |
12 | 10 | import android.text.TextUtils;
|
13 | 11 | import android.text.method.DigitsKeyListener;
|
14 | 12 | import android.util.AttributeSet;
|
@@ -143,7 +141,6 @@ public class TextGroupView extends LinearLayout {
|
143 | 141 | private int editBackground;
|
144 | 142 | private boolean editSingleLine;
|
145 | 143 | private int editMaxLines;
|
146 |
| - private int editMaxLength; |
147 | 144 | private String editDigits;
|
148 | 145 | private int editEllipsize;
|
149 | 146 | private int editInputType;
|
@@ -246,12 +243,12 @@ public TextGroupView(Context context) {
|
246 | 243 | initAttrs(context, null);
|
247 | 244 | }
|
248 | 245 |
|
249 |
| - public TextGroupView(Context context, @Nullable AttributeSet attrs) { |
| 246 | + public TextGroupView(Context context, AttributeSet attrs) { |
250 | 247 | super(context, attrs);
|
251 | 248 | initAttrs(context, attrs);
|
252 | 249 | }
|
253 | 250 |
|
254 |
| - public TextGroupView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { |
| 251 | + public TextGroupView(Context context, AttributeSet attrs, int defStyleAttr) { |
255 | 252 | super(context, attrs, defStyleAttr);
|
256 | 253 | initAttrs(context, attrs);
|
257 | 254 | }
|
|
0 commit comments