File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
kotlin/com/simplemobiletools/keyboard/adapters Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ android {
6565}
6666
6767dependencies {
68- implementation ' com.github.SimpleMobileTools:Simple-Commons:79c7cde543 '
68+ implementation ' com.github.SimpleMobileTools:Simple-Commons:c09f8dfda1 '
6969 implementation ' androidx.emoji2:emoji2-bundled:1.2.0'
7070
7171 kapt ' androidx.room:room-compiler:2.5.1'
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import com.simplemobiletools.commons.adapters.MyRecyclerViewAdapter
1111import com.simplemobiletools.commons.dialogs.ConfirmationDialog
1212import com.simplemobiletools.commons.extensions.applyColorFilter
1313import com.simplemobiletools.commons.extensions.beVisibleIf
14+ import com.simplemobiletools.commons.extensions.setupViewBackground
1415import com.simplemobiletools.commons.helpers.ensureBackgroundThread
1516import com.simplemobiletools.commons.interfaces.ItemMoveCallback
1617import com.simplemobiletools.commons.interfaces.ItemTouchHelperContract
@@ -154,6 +155,7 @@ class ClipsActivityAdapter(
154155
155156 val isSelected = selectedKeys.contains(clip.id!! .toInt())
156157 view.apply {
158+ setupViewBackground(activity)
157159 clip_value.text = clip.value
158160 clip_value.setTextColor(textColor)
159161 clip_drag_handle.applyColorFilter(textColor)
Original file line number Diff line number Diff line change 44 android : id =" @+id/clip_holder"
55 android : layout_width =" match_parent"
66 android : layout_height =" wrap_content"
7- android : background =" ?attr/selectableItemBackground"
8- android : clickable =" true"
9- android : focusable =" true"
10- android : foreground =" @drawable/selector"
7+ android : layout_marginBottom =" @dimen/tiny_margin"
118 android : paddingEnd =" @dimen/normal_margin" >
129
1310 <com .simplemobiletools.commons.views.MyTextView
You can’t perform that action at this time.
0 commit comments