diff --git a/app/build.gradle b/app/build.gradle index 02abc01f..107eabc7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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' diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ConversationsAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ConversationsAdapter.kt index c31d3c85..4ba2f9e4 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ConversationsAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ConversationsAdapter.kt @@ -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) diff --git a/app/src/main/res/layout/item_conversation.xml b/app/src/main/res/layout/item_conversation.xml index 60ee9815..f246316f 100644 --- a/app/src/main/res/layout/item_conversation.xml +++ b/app/src/main/res/layout/item_conversation.xml @@ -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">