Remove ListView footer Click Listener

ListView Footer

RelativeLayout listFooterView = (RelativeLayout) inflater.inflate(
            R.layout.my_footer_layout, null);

ListView OnClickListener

  • How to change the default color of DatePicker and TimePicker dialog in Android?
  • Set TextView style (bold or italic)
  • What is the Maximum Size of the Volley-Library Request-Queue
  • FCM with AWS SNS
  • Fragment/Activity Lifecycles and Orientation Change
  • Android determine screen orientation at runtime
  • listView.setOnItemClickListener(new OnItemClickListener() {
            public void onItemClick(AdapterView<?> arg0, View arg1,
                    int position, long id) {
                // TODO Auto-generated method stub
                Intent i = new Intent(getApplicationContext(),

    On Click Listener works even if I click on footer View. How to disable click event on for footer.

    Thanks in Advance

  • IllegalStateException when replacing a Fragment
  • Fast Deployment of App to Android Emulator Always Fails
  • Disable pinch/zoom in Android 2.1 browser on HTC devices
  • Android ProgressBar countdown
  • Android Implementing Chat Bubble in ListView
  • error connection refused
  • One Solution collect form web for “Remove ListView footer Click Listener”

    Try to add your footer with this function: addFooterView (View v, Object data, boolean isSelectable)

    Try something like this:

    RelativeLayout listFooterView = (RelativeLayout) inflater.inflate(
                R.layout.my_footer_layout, null);
    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.