title: Viewholder clickable area has margin bottom that's not defined
body: <p>Here is how the problem looks -</p>
  <p><a href="https://i.stack.imgur.com/fj4nd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fj4nd.png" alt="enter image description here" /></a></p>
  <p>And here is my ViewHolder code -</p>
  <pre class="lang-kotlin prettyprint-override"><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;layout&gt;
  
      &lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
          xmlns:tools=&quot;http://schemas.android.com/tools&quot;
          android:id=&quot;@+id/groups_list_root_layout&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:background=&quot;@android:drawable/list_selector_background&quot;
          android:clickable=&quot;true&quot;
          android:focusable=&quot;true&quot;
          android:orientation=&quot;horizontal&quot;
          android:padding=&quot;10dp&quot;&gt;
  
          &lt;ImageView
              android:id=&quot;@+id/groups_list_group_image&quot;
              android:layout_width=&quot;60dp&quot;
              android:layout_gravity=&quot;center&quot;
              android:layout_height=&quot;60dp&quot;
              tools:src=&quot;@drawable/multi_user_group&quot; /&gt;
  
          &lt;LinearLayout
              android:layout_width=&quot;wrap_content&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:layout_marginStart=&quot;14dp&quot;
              android:layout_gravity=&quot;center&quot;
              android:orientation=&quot;vertical&quot;&gt;
  
              &lt;TextView
                  android:id=&quot;@+id/groups_list_group_name&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:textColor=&quot;@color/black&quot;
                  android:textSize=&quot;16sp&quot;
                  tools:text=&quot;Galipoly 38 Apt&quot; /&gt;
  
              &lt;TextView
                  android:id=&quot;@+id/groups_list_group_members&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:ellipsize=&quot;end&quot;
                  android:maxEms=&quot;15&quot;
                  android:maxLines=&quot;1&quot;
                  tools:text=&quot;Alon Shlider, Dekel Aslan, Omer...&quot;
                  android:textColor=&quot;@color/colorPrimary&quot;
                  android:textSize=&quot;16sp&quot; /&gt;
  
              &lt;TextView
                  android:id=&quot;@+id/groups_list_group_open_tasks&quot;
                  android:layout_width=&quot;wrap_content&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  tools:text=&quot;9 Open Tasks&quot;
                  android:textColor=&quot;@color/orange&quot;
                  android:textSize=&quot;16sp&quot; /&gt;
  
          &lt;/LinearLayout&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/layout&gt;
  
  class GroupsListViewHolder(private val binding: GroupsListViewHolderBinding) : RecyclerView.ViewHolder(binding.root) {
  
      fun bind(model: GroupModel, onClick: (model: GroupModel) -&gt; Unit) {
          binding.groupsListGroupName.text = model.groupName
          binding.groupsListGroupMembers.text = TextUtils.join(&quot;, &quot;, model.usersFullNames)
          if (model.tasksCounter &lt; 1) {
              binding.groupsListGroupOpenTasks.setAsGone()
          } else {
              binding.groupsListGroupOpenTasks.setAsVisible()
              binding.groupsListGroupOpenTasks.text = model.tasksCounter.toString()
                  .plus(&quot; &quot;)
                  .plus(TeamitApplication.context!!.getString(R.string.ongoing_tasks))
                  .plus(TeamitApplication.context!!.getString(R.string.dot))
          }
          if (model.usersFullNames.size == 1) {
              binding.groupsListGroupImage.setImageResource(R.drawable.single_user_group)
          } else {
              binding.groupsListGroupImage.setImageResource(R.drawable.multi_user_group)
          }
          binding.groupsListRootLayout.setOnClickListener {
              onClick(model)
          }
      }
  }
  
  private fun initAdapter() {
          fetchGroupData { groupModelList -&gt;
              if (groupModelList.isEmpty()) {
                  binding.groupsListNoGroupsMessageTitle.setAsVisible()
                  binding.groupsListNoGroupsMessageDescription.setAsVisible()
                  return@fetchGroupData
              }
              binding.groupsListNoGroupsMessageTitle.setAsGone()
              binding.groupsListNoGroupsMessageDescription.setAsGone()
              adapter.submitList(null)
              adapter.submitList(groupModelList)
              binding.groupsListRecyclerview.setAdapterWithItemDecoration(requireContext(), adapter)
          }
      }
  
  fun &lt;T, VH : RecyclerView.ViewHolder&gt; RecyclerView.setAdapterWithItemDecoration(context: Context, adapter: ListAdapter&lt;T, VH&gt;) {
      this.adapter = adapter
      this.setHasFixedSize(true)
      this.layoutManager = LinearLayoutManager(context)
      this.addItemDecoration(DividerItemDecoration(context, DividerItemDecoration.VERTICAL))
  }
  
  </code></pre>
  <p>As you can see, the click area has some margin bottom that I can't understand why happens. Sometimes it happens and sometimes it doesn't and I can't figure out what wrong.</p>
  <p>As for the extension function that I am using - I am using it for the entire application</p>