mirror of
https://github.com/SimpleMobileTools/Simple-App-Launcher.git
synced 2025-03-03 19:07:51 +01:00
add click effect to items
This commit is contained in:
parent
613ad24dd0
commit
0f71fd3f3b
@ -16,7 +16,7 @@ import com.simplemobiletools.applauncher.extensions.hide
|
||||
import com.simplemobiletools.applauncher.extensions.show
|
||||
import com.simplemobiletools.applauncher.extensions.toast
|
||||
import com.simplemobiletools.applauncher.models.AppLauncher
|
||||
import kotlinx.android.synthetic.main.app_launcher_dialog_item.view.*
|
||||
import kotlinx.android.synthetic.main.app_launcher_item.view.*
|
||||
import kotlinx.android.synthetic.main.edit_launcher.view.*
|
||||
import java.util.*
|
||||
|
||||
|
@ -9,7 +9,7 @@ import com.simplemobiletools.applauncher.R
|
||||
import com.simplemobiletools.applauncher.extensions.hide
|
||||
import com.simplemobiletools.applauncher.extensions.show
|
||||
import com.simplemobiletools.applauncher.models.AppLauncher
|
||||
import kotlinx.android.synthetic.main.app_launcher_dialog_item.view.*
|
||||
import kotlinx.android.synthetic.main.app_launcher_item.view.*
|
||||
|
||||
class RecyclerDialogAdapter(val cxt: Context, val launchers: List<AppLauncher>) : RecyclerView.Adapter<RecyclerDialogAdapter.ViewHolder>() {
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:paddingBottom="@dimen/launcher_padding_small"
|
||||
android:paddingLeft="@dimen/launcher_padding_small"
|
||||
android:paddingRight="@dimen/launcher_padding_small"
|
||||
|
Loading…
x
Reference in New Issue
Block a user