use nicer effects at long pressing conversations
This commit is contained in:
parent
32f6307464
commit
e8d021a662
3 changed files with 4 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue