title: Click Listener not triggered on CardView
body: <p>I have created a recyclervuew which contain Cardview as below:</p>
  <p>item.xml</p>
  <pre><code>&lt;androidx.cardview.widget.CardView
          android:id=&quot;@+id/tileLayout&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:minHeight=&quot;130dp&quot;
          android:clickable=&quot;true&quot;
          android:focusable=&quot;true&quot;
          android:layout_margin=&quot;4dp&quot;
          app:cardBackgroundColor=&quot;@color/brand06&quot;
          app:cardCornerRadius=&quot;15dp&quot;&gt;
  
  &lt;androidx.constraintlayout.widget.ConstraintLayout
              android:id=&quot;@+id/actionLayout&quot;
              android:layout_width=&quot;match_parent&quot;
              android:layout_height=&quot;match_parent&quot;
              android:minHeight=&quot;110dp&quot;
              android:color=&quot;@color/transparent&quot;
              android:layout_margin=&quot;5dp&quot;&gt;
  
  &lt;androidx.constraintlayout.widget.ConstraintLayout
              android:id=&quot;@+id/editLayout&quot;
              android:layout_width=&quot;match_parent&quot;
              android:layout_height=&quot;match_parent&quot;
              android:minHeight=&quot;110dp&quot;
              android:color=&quot;@color/transparent&quot;
              android:layout_margin=&quot;5dp&quot;&gt;
  
  
  </code></pre>
  <p>When I am building the layout in the recyclerview, every time i am creation an item using <code>item.xml</code>, I am tagging <code>tileLayout</code> with a specific name using the command:</p>
  <pre><code>        tileLayout.tag = name.toString()
  </code></pre>
  <p>name is an enum define as below:</p>
  <pre><code>enum class Name { 
          ITEM1,
          ITEM2,
          EDIT,
      }
  </code></pre>
  <p>I have added a logic to check the name and when <code>EDIT</code> is seen, I make <code>actionLayout</code> GONE and set <code>editLayout</code> VISIBLE</p>
  <p>I register the <code>onClickListener</code> on <code>tileLayout</code>. It seems that when the <code>editLayout</code> is visible and <code>actionLayout</code> GONE, the click is not working in <code>tileLayout</code>. when I do the opposite, the click is registered properly</p>
  <p>I do not see why.</p>
  <p>Any idea?</p>