diff --git a/app/src/main/java/com/gh/gamecenter/qa/answer/detail/AnswerDetailFragment.kt b/app/src/main/java/com/gh/gamecenter/qa/answer/detail/AnswerDetailFragment.kt index 2de84b5e25..c206e5ea71 100644 --- a/app/src/main/java/com/gh/gamecenter/qa/answer/detail/AnswerDetailFragment.kt +++ b/app/src/main/java/com/gh/gamecenter/qa/answer/detail/AnswerDetailFragment.kt @@ -493,8 +493,8 @@ class AnswerDetailFragment : NormalFragment() { private fun toggleComment(enable: Boolean, commentCount: Int) { if (enable) { - mBinding.bottomController.bottomCommentIv.setImageResource(R.drawable.community_content_detail_comment_open) - mBinding.bottomController.bottomCommentTv.setTextColor(ContextCompat.getColor(requireContext(), R.color.text_242529)) + mBinding.bottomController.bottomCommentIv.setImageResource(R.drawable.ic_article_detail_comment_bottom_bar) + mBinding.bottomController.bottomCommentTv.setTextColor(ContextCompat.getColor(requireContext(), R.color.text_666666)) mBinding.bottomController.bottomCommentTv.text = if (commentCount > 0) commentCount.toString() else "评论" } else { mBinding.bottomController.bottomCommentIv.setImageResource(R.drawable.community_content_detail_comment_close) @@ -918,7 +918,7 @@ class AnswerDetailFragment : NormalFragment() { } else { mBinding.bottomController.bottomStarIv.setImageResource(R.drawable.ic_article_detail_star_bottom_bar) mBinding.bottomController.bottomStarTv.text = "收藏" - mBinding.bottomController.bottomStarTv.setTextColor(ContextCompat.getColor(requireContext(), R.color.text_242529)) + mBinding.bottomController.bottomStarTv.setTextColor(ContextCompat.getColor(requireContext(), R.color.text_666666)) } } @@ -1125,13 +1125,13 @@ class AnswerDetailFragment : NormalFragment() { private fun updateLikeView(alreadyVoted: Boolean, voteCount: Int) { // mBinding.bottomController.bottomLikeTv.text = "赞同 ${NumberUtils.transSimpleCount(voteCount)}" if (alreadyVoted) { - mBinding.bottomController.bottomLikeIv.setImageResource(R.drawable.community_content_detail_vote_select) + mBinding.bottomController.bottomLikeIv.setImageResource(R.drawable.ic_article_detail_liked_bottom_bar) mBinding.bottomController.bottomLikeTv.text = NumberUtils.transSimpleCount(voteCount) mBinding.bottomController.bottomLikeTv.setTextColor(ContextCompat.getColor(requireContext(), R.color.theme_font)) } else { - mBinding.bottomController.bottomLikeIv.setImageResource(R.drawable.community_content_detail_vote_unselect) + mBinding.bottomController.bottomLikeIv.setImageResource(R.drawable.ic_article_detail_like_bottom_bar) mBinding.bottomController.bottomLikeTv.text = "赞同" - mBinding.bottomController.bottomLikeTv.setTextColor(ContextCompat.getColor(requireContext(), R.color.text_242529)) + mBinding.bottomController.bottomLikeTv.setTextColor(ContextCompat.getColor(requireContext(), R.color.text_666666)) } } diff --git a/app/src/main/res/layout/piece_article_input_container.xml b/app/src/main/res/layout/piece_article_input_container.xml index 3a7f301526..c4f738cdc6 100644 --- a/app/src/main/res/layout/piece_article_input_container.xml +++ b/app/src/main/res/layout/piece_article_input_container.xml @@ -7,6 +7,7 @@ android:layout_height="56dp" android:layout_alignParentBottom="true" android:background="@color/white" + android:clickable="true" tools:showIn="@layout/fragment_article_detail">