Skip to content

Commit

Permalink
Fix issue: Graphics thumb displays on top of ripple effect
Browse files Browse the repository at this point in the history
  • Loading branch information
tuancoltech committed Nov 23, 2024
1 parent 4f94243 commit 2481346
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ class NotesListAdapter(
}
binding.cbDelete.setOnCheckedChangeListener(noteCheckedListener)
binding.layoutAudioView.root.setBackgroundResource(R.drawable.bg_audio_view_note_item)
binding.viewItemContent.clipToOutline = true
}
}
}
5 changes: 3 additions & 2 deletions app/src/main/res/layout/adapter_text_note.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:clickable="true"
android:layout_marginBottom="@dimen/note_item_padding"
android:background="@drawable/ripple_note_item">
android:layout_marginBottom="@dimen/note_item_padding">

<CheckBox
android:layout_width="wrap_content"
Expand All @@ -30,6 +29,8 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:background="@drawable/bg_big_radius"
android:id="@+id/view_item_content"
android:foreground="?attr/selectableItemBackgroundBorderless"
app:layout_constraintBottom_toBottomOf="parent">

<include layout="@layout/media_player_view"
Expand Down

0 comments on commit 2481346

Please sign in to comment.