mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-26 04:33:36 +00:00
Adjust footer offset on collapsed text items.
This commit is contained in:
committed by
Cody Henthorne
parent
59af304002
commit
e22c403b10
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user