Skip to content

Commit 0e86096

Browse files
author
1101005304@qq.com
committed
add attr edit_maxLength
1 parent 360f196 commit 0e86096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/android/view/TextGroupView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ private void initAttrs(Context context, AttributeSet attrs) {
427427
rightTextView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
428428
addView(rightTextView);
429429
editView = new EditText(context);
430-
editView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.MATCH_PARENT));
430+
editView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
431431
addView(editView);
432432
centerImageView = new ImageView(context);
433433
centerImageView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));

0 commit comments

Comments
 (0)