页面优化
This commit is contained in:
@@ -334,7 +334,8 @@ class ShelfActivity : BaseActivity() {
|
||||
}
|
||||
it.ivEmptyIcon.setImageResource(R.drawable.ic_empty_gray)
|
||||
it.ivEmptyIcon.updateLayoutParams<LinearLayout.LayoutParams> {
|
||||
width = 200.dp
|
||||
val swDpValue = resources?.configuration?.smallestScreenWidthDp?:0
|
||||
width = if (swDpValue > 600) 200.dp else 120.dp
|
||||
}
|
||||
}
|
||||
binding.refreshLayout.run {
|
||||
|
||||
Reference in New Issue
Block a user