title: Android - force listview items to use default long click animation
body: <p>I have a <code>ListView</code> with custom <code>Adapter</code> that includes <code>RadioButton</code>. My app allows users to long click on every row of <code>ListView</code> (via <code>OnLongClickListener</code> in <code>Adapter</code>, not via <code>OnItemLongClickListener</code> on <code>ListView</code>), but it isn't animating in the default way. Instead of it, it looks like holding <code>RadioButton</code> pressed. Exactly like this:</p>
  
  <p><a href="https://i.stack.imgur.com/h9mZh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h9mZh.png" alt="enter image description here"></a></p>
  
  <p>But I want to highlight full row during <code>OnLongClickListener</code>.</p>
  
  <p>My xml file: </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/languageitem_linear_main"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="?android:attr/activatedBackgroundIndicator"
      android:baselineAligned="false"
      android:clickable="false"
      android:descendantFocusability="blocksDescendants"
      android:focusable="false"
      android:orientation="horizontal"
      android:padding="3dp" &gt;
  
      &lt;LinearLayout
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:layout_weight="4"
          android:orientation="vertical" &gt;
  
          &lt;TextView
              android:id="@+id/languageitem_text_name"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:focusableInTouchMode="false"
              android:padding="3dp"
              android:textSize="@dimen/drawer_list_name_text" /&gt;
  
          &lt;TextView
              android:id="@+id/languageitem_text_count"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:focusableInTouchMode="false"
              android:padding="3dp"
              android:textSize="@dimen/adapter_day_calendar_date_text" /&gt;
  
          &lt;ProgressBar
              android:id="@+id/languageitem_progress_downloading"
              style="@style/Widget.AppCompat.ProgressBar.Horizontal"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:indeterminate="false"
              android:padding="3dp"
              android:visibility="invisible" /&gt;
      &lt;/LinearLayout&gt;
  
      &lt;RelativeLayout
          android:layout_width="0dp"
          android:layout_height="match_parent"
          android:layout_weight="1"
          android:clickable="false" &gt;
  
          &lt;ImageView
              android:id="@+id/languageitem_image_update"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_centerHorizontal="true"
              android:layout_centerVertical="true"
              android:layout_gravity="center|center"
              android:layout_margin="0dp"
              android:contentDescription="@string/about_app"
              android:padding="0dp"
              android:src="@drawable/ic_autorenew_black_36dp" /&gt;
      &lt;/RelativeLayout&gt;
  
      &lt;RelativeLayout
          android:layout_width="0dp"
          android:layout_height="match_parent"
          android:layout_weight="1" &gt;
  
          &lt;ImageView
              android:id="@+id/languageitem_image_download"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_centerHorizontal="true"
              android:layout_centerVertical="true"
              android:layout_gravity="center|center"
              android:layout_margin="0dp"
              android:contentDescription="@string/about_app"
              android:padding="0dp"
              android:src="@drawable/ic_file_download_black_36dp" /&gt;
  
          &lt;RadioButton
              android:id="@+id/languageitem_radiobutton_selected"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_centerHorizontal="true"
              android:layout_centerVertical="true"
              android:layout_gravity="center|center"
              android:layout_margin="0dp"
              android:checked="false"
              android:clickable="false"
              android:focusable="false"
              android:focusableInTouchMode="false"
              android:padding="0dp"
              android:visibility="invisible" /&gt;
      &lt;/RelativeLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I also tried adding empty <code>OnItemLongClickListener</code> returning either <code>true</code> or <code>false</code>, but it didn't change anything. Another idea was to setting <code>styles.xml</code>, but I completely have no idea how to. </p>
  
  <p>Can somebody tell me clearly step-by-step explain how to achieve my goal? My min API is 15 (Android 4.1).</p>