Skip to content

Commit c721f28

Browse files
committed
attr modify
1 parent 041daf8 commit c721f28

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ public void setLeftTextBackground(int leftTextBackground) {
974974
}
975975

976976
public String getLeftText() {
977-
return leftText;
977+
return leftTextView.getText().toString();
978978
}
979979

980980
public void setLeftText(String leftText) {
@@ -1118,7 +1118,7 @@ public void setCenterTextBackground(int centerTextBackground) {
11181118
}
11191119

11201120
public String getCenterText() {
1121-
return centerText;
1121+
return centerTextView.getText().toString();
11221122
}
11231123

11241124
public void setCenterText(String centerText) {
@@ -1262,7 +1262,7 @@ public void setRightTextBackground(int rightTextBackground) {
12621262
}
12631263

12641264
public String getRightText() {
1265-
return rightText;
1265+
return rightTextView.getText().toString();
12661266
}
12671267

12681268
public void setRightText(String rightText) {
@@ -1509,7 +1509,7 @@ public void setEditWeight(float editWeight) {
15091509
}
15101510

15111511
public String getEditText() {
1512-
return editText;
1512+
return editView.getText().toString();
15131513
}
15141514

15151515
public void setEditText(String editText) {

0 commit comments

Comments
 (0)