|
@@ -59,10 +59,10 @@ class ViewerEditView : ConstraintLayout {
|
|
setupTabView()
|
|
setupTabView()
|
|
|
|
|
|
/** Move media box view to bottom of parent(hide it) **/
|
|
/** Move media box view to bottom of parent(hide it) **/
|
|
- post {
|
|
|
|
- val v = view_viewEdit_content
|
|
|
|
- v.y = v.top + v.height.toFloat()
|
|
|
|
- }
|
|
|
|
|
|
+ val size = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED)
|
|
|
|
+ val v = view_viewEdit_content
|
|
|
|
+ v.measure(size, size)
|
|
|
|
+ v.y = v.top + v.measuredHeight.toFloat()
|
|
}
|
|
}
|
|
|
|
|
|
fun show() {
|
|
fun show() {
|