页面优化

This commit is contained in:
2025-08-11 17:48:34 +08:00
parent 5b26e7e711
commit 2162ba0c9e
4 changed files with 3 additions and 2 deletions
@@ -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 {