Skip to content

Commit 11f33fe

Browse files
committed
ultimately fix #49
1 parent e8b9dfa commit 11f33fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

textfieldboxes/src/main/java/studio/carbonylgroup/textfieldboxes/TextFieldBoxes.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,6 @@ protected void onFinishInflate() {
245245
@Override
246246
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
247247

248-
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
249-
250248
int widthMode = MeasureSpec.getMode(widthMeasureSpec);
251249
int heightMode = MeasureSpec.getMode(heightMeasureSpec);
252250

@@ -351,6 +349,8 @@ protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
351349
((RelativeLayout.LayoutParams) this.panel.getLayoutParams())
352350
.addRule(RelativeLayout.ABOVE, 0);
353351
}
352+
353+
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
354354
}
355355

356356
private void initViews() {

0 commit comments

Comments
 (0)