|
|
@ -144,6 +144,7 @@ class ContentView(context: Context) : FrameLayout(context) { |
|
|
|
ConstraintUtil(ll_header).begin() |
|
|
|
ConstraintUtil(ll_header).begin() |
|
|
|
.clear(R.id.tv_header_left, 2) |
|
|
|
.clear(R.id.tv_header_left, 2) |
|
|
|
.setWidth(R.id.tv_header_left, ViewGroup.LayoutParams.WRAP_CONTENT) |
|
|
|
.setWidth(R.id.tv_header_left, ViewGroup.LayoutParams.WRAP_CONTENT) |
|
|
|
|
|
|
|
.setHorizontalWeight(R.id.tv_footer_left, 0f) |
|
|
|
.commit() |
|
|
|
.commit() |
|
|
|
tv_header_left |
|
|
|
tv_header_left |
|
|
|
} |
|
|
|
} |
|
|
@ -153,6 +154,7 @@ class ContentView(context: Context) : FrameLayout(context) { |
|
|
|
ConstraintUtil(ll_header).begin() |
|
|
|
ConstraintUtil(ll_header).begin() |
|
|
|
.clear(R.id.tv_footer_left, 2) |
|
|
|
.clear(R.id.tv_footer_left, 2) |
|
|
|
.setWidth(R.id.tv_footer_left, ViewGroup.LayoutParams.WRAP_CONTENT) |
|
|
|
.setWidth(R.id.tv_footer_left, ViewGroup.LayoutParams.WRAP_CONTENT) |
|
|
|
|
|
|
|
.setHorizontalWeight(R.id.tv_footer_left, 0f) |
|
|
|
.commit() |
|
|
|
.commit() |
|
|
|
tv_footer_left |
|
|
|
tv_footer_left |
|
|
|
} |
|
|
|
} |
|
|
|