Adjust footer offset on collapsed text items.

This commit is contained in:
Alex Hart
2025-03-25 09:08:15 -03:00
committed by Cody Henthorne
parent 59af304002
commit e22c403b10
4 changed files with 11 additions and 7 deletions

View File

@@ -24,6 +24,7 @@ import android.view.View
import android.view.ViewGroup
import androidx.core.content.ContextCompat
import androidx.core.view.updateLayoutParams
import androidx.core.widget.TextViewCompat
import androidx.lifecycle.Observer
import androidx.recyclerview.widget.RecyclerView
import org.signal.core.util.StringUtil
@@ -177,6 +178,8 @@ open class V2ConversationItemTextOnlyViewHolder<Model : MappingModel<Model>>(
binding.body.setMentionBackgroundTint(ContextCompat.getColor(context, R.color.transparent_black_25))
}
TextViewCompat.setLineHeight(binding.body, TypedValue.COMPLEX_UNIT_SP, 22f)
binding.bodyWrapper.background = bodyBubbleDrawable
binding.bodyWrapper.layoutTransition = bodyBubbleLayoutTransition