mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
Adding click listener on the whole custom view
This commit is contained in:
parent
3191688044
commit
d7a729740e
2 changed files with 4 additions and 0 deletions
|
@ -53,6 +53,9 @@ class SecurityRecommendationView @JvmOverloads constructor(
|
|||
setImage(it)
|
||||
}
|
||||
|
||||
setOnClickListener {
|
||||
callback?.onViewAllClicked()
|
||||
}
|
||||
views.recommendationViewAllButton.setOnClickListener {
|
||||
callback?.onViewAllClicked()
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_current_session"
|
||||
android:foreground="?attr/selectableItemBackground"
|
||||
android:paddingHorizontal="16dp"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="8dp">
|
||||
|
|
Loading…
Add table
Reference in a new issue