use nicer effects at long pressing conversations

This commit is contained in:
tibbi 2023-06-11 21:42:55 +02:00
parent 32f6307464
commit e8d021a662
3 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:c31d0fda56'
implementation 'com.github.SimpleMobileTools:Simple-Commons:d3fec80827'
implementation 'org.greenrobot:eventbus:3.3.1'
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
implementation 'com.github.tibbi:android-smsmms:33fcaf94d9'

View File

@ -335,6 +335,7 @@ class ConversationsAdapter(
private fun setupView(view: View, conversation: Conversation) {
view.apply {
setupViewBackground(activity)
val smsDraft = drafts[conversation.threadId]
draft_indicator.beVisibleIf(smsDraft != null)
draft_indicator.setTextColor(properPrimaryColor)

View File

@ -4,10 +4,9 @@
android:id="@+id/conversation_frame"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:background="@drawable/selector"
android:clickable="true"
android:focusable="true"
android:foreground="@drawable/selector">
android:focusable="true">
<RelativeLayout
android:id="@+id/conversation_holder"