use nicer effects at long pressing conversations
This commit is contained in:
parent
32f6307464
commit
e8d021a662
|
@ -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'
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue