add click effect to items

This commit is contained in:
tibbi 2016-08-22 18:20:38 +02:00
parent 613ad24dd0
commit 0f71fd3f3b
3 changed files with 3 additions and 2 deletions

View File

@ -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.*

View File

@ -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>() {

View File

@ -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"