【光环助手V_4.7.0】论坛交互优化(UI测试问题1-5) https://git.ghzs.com/pm/halo-app-issues/-/issues/1135

This commit is contained in:
张玉久
2021-01-29 10:06:05 +08:00
parent 53930b0257
commit 6d5d407aa8
8 changed files with 28 additions and 114 deletions

View File

@ -165,7 +165,7 @@ abstract class BaseArticleDetailCommentAdapter(context: Context,
}
isOver -> {
binding.progressBar.visibility = View.GONE
binding.footerTv.setText(R.string.ask_loadover_hint)
binding.footerTv.setText(R.string.article_comment_loadover_hint)
}
isLoading -> {
binding.progressBar.visibility = View.VISIBLE

View File

@ -99,7 +99,7 @@ abstract class BaseArticleDetailCommentFragment<T, VM : BaseArticleDetailComment
}
override fun getItemDecoration(): RecyclerView.ItemDecoration {
val insetDivider = InsetDrawable(ContextCompat.getDrawable(requireContext(), R.drawable.divider_article_detail_comment), DisplayUtils.dip2px(20F), 0, DisplayUtils.dip2px(20F), 0)
val insetDivider = InsetDrawable(ContextCompat.getDrawable(requireContext(), R.drawable.divider_article_detail_comment), DisplayUtils.dip2px(60F), 0, DisplayUtils.dip2px(20F), 0)
val itemDecoration = if (this !is ArticleDetailCommentFragment) {
CustomDividerItemDecoration(requireContext(), notDecorateTheFirstTwoItems = true, notDecorateTheLastItem = true)
} else {

View File

@ -90,10 +90,6 @@ class ArticleDetailCommentFragment : BaseArticleDetailCommentFragment<CommentIte
bottomStarIv.visibility = View.GONE
bottomStarTv.visibility = View.GONE
val lp = replyTv.layoutParams as ConstraintLayout.LayoutParams
lp.rightMargin = 20F.dip2px()
replyTv.layoutParams = lp
replyTv.setRoundedColorBackground(R.color.text_F0F0F0, 19F)
replyTv.setDebouncedClickListener {
mViewModel.commentDetail?.let { startCommentActivity(it) }

View File

@ -37,6 +37,7 @@ class MoreFunctionPanelDialog : BaseDialogFragment(), View.OnTouchListener {
super.onViewCreated(view, savedInstanceState)
binding.gameNameTv.text = title
binding.gameNameTv.setTextColor(ContextCompat.getColor(requireContext(), R.color.text_666666))
binding.gameNameTv.gravity = Gravity.CENTER
binding.gameIconView.visibility = View.GONE
binding.feedbackTv.visibility = View.GONE
binding.copyrightTv.visibility = View.GONE