title: Click Event not working for linearlayout in android
body: <p>I am facing problem in which i am using listview extending Baseadapter in which i need to click Linearlayout but i am not getting its clickevent. Here is my layout and my adapter class.</p>
  
  <pre><code>&lt;LinearLayout
                      android:id="@+id/zerokg"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:background="@mipmap/bag_hover_bg"
                      android:orientation="vertical"
                      android:paddingTop="@dimen/margin_content_2"
                      android:gravity="center_horizontal|center_vertical"
                      android:layout_margin="5dp"&gt;
                      &lt;com.nusatrip.view.TextViewPlus
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:textColor="@color/white"
                          android:text="@string/zero_KG"
                          android:textSize="@dimen/content_textsize_1_"
                          app:customFont="@string/font_bold"
                          /&gt;
                      &lt;LinearLayout
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:orientation="horizontal"&gt;
                          &lt;com.nusatrip.view.TextViewPlus
                              android:layout_width="wrap_content"
                              android:layout_height="wrap_content"
                              android:text="@string/curreny_name"
                              android:textColor="@color/white"
                              android:textSize="@dimen/small_textsixe_5"
                              app:customFont="@string/font_regular"/&gt;
                          &lt;com.nusatrip.view.TextViewPlus
                              android:layout_width="wrap_content"
                              android:layout_height="wrap_content"
                              android:textColor="@color/white"
                              android:textSize="@dimen/content_textsize_3_"
                              android:text="@string/default_"
                              app:customFont="@string/font_semibold"/&gt;
                      &lt;/LinearLayout&gt;
                  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>My adapter class.</p>
  
  <pre><code>        @Override
              public View getView(final int position, View convertView, ViewGroup parent) {
                  View vi = convertView;
                  ViewHolder holder = null;
                  LayoutInflater mInflater = (LayoutInflater)
                          mContext.getSystemService(mContext.LAYOUT_INFLATER_SERVICE);
                  if (convertView == null) {
                      convertView = mInflater.inflate(R.layout.row_passenger_baggage_count, parent, false);
          holder.zerokg = (LinearLayout) convertView.findViewById(R.id.zerokg);
      holder.zerokg.setClickable(true);
           convertView.setTag(holder);
          }else {
                      holder = (ViewHolder) convertView.getTag();
                  }
          final ViewHolder finalHolder = holder;
            holder.zerokg.setOnClickListener(new View.OnClickListener() {
                      @Override
                      public void onClick(View v) {
                          finalHolder.zerokg.setBackgroundResource(R.mipmap.bag_hover_bg);
                          finalHolder.fifteenkg.setBackgroundResource(R.mipmap.bag_bg);
                          finalHolder.twentykg.setBackgroundResource(R.mipmap.bag_bg);
                          finalHolder.twentyfivekg.setBackgroundResource(R.mipmap.bag_bg);
                          finalHolder.thirtykg.setBackgroundResource(R.mipmap.bag_bg);
                          finalHolder.thirtyfive.setBackgroundResource(R.mipmap.bag_bg);
                          finalHolder.fourtykg.setBackgroundResource(R.mipmap.bag_bg);
                      }
                  });
  static class ViewHolder {
          LinearLayout  zerokg, fifteenkg, twentykg, twentyfivekg, thirtykg, thirtyfive, fourtykg;
       }
  </code></pre>
  
  <p>Any help will be appreciated</p>