タブレットモードのカラムのレイアウト問題を修正

This commit is contained in:
tateisu 2019-10-08 04:18:22 +09:00
parent 0c3a222fc7
commit 0fcae5ab12
1 changed files with 1 additions and 4 deletions

View File

@ -1569,10 +1569,7 @@ class ColumnViewHolder(
lp.width = matchParent
lp.height = matchParent
if(lp is ViewGroup.MarginLayoutParams) {
lp.marginStart = dip(8)
lp.marginEnd = dip(8)
lp.topMargin = dip(2f)
lp.bottomMargin = dip(1f)
lp.setMargins(0,0,0,0)
}
layoutParams = lp
}