mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 11:46:32 +00:00
Update skill item click listener to container
Changes the skill item click listener from the button wrapper to the skill item container - makes the entire skill item is clickable,
This commit is contained in:
parent
b8859b7b70
commit
cead6ee373
2 changed files with 2 additions and 1 deletions
|
|
@ -6,6 +6,7 @@
|
|||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/skill_item_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/layout_rounded_bg_window"
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ class SkillsRecyclerViewAdapter :
|
|||
private var skill: Skill? = null
|
||||
|
||||
init {
|
||||
binding.buttonWrapper.setOnClickListener(this)
|
||||
binding.skillItemContainer.setOnClickListener(this)
|
||||
}
|
||||
|
||||
fun bind(skill: Skill) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue