made listView footer not selectable
This commit is contained in:
parent
18df8ae939
commit
60ff1e4888
1 changed files with 1 additions and 7 deletions
|
@ -629,12 +629,6 @@ public class GpxUiHelper {
|
|||
descTextView.setText(spannableDesc);
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) {
|
||||
footerView.findViewById(R.id.button).setVisibility(View.GONE);
|
||||
footerView.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
||||
}
|
||||
});
|
||||
} else {
|
||||
footerView.findViewById(R.id.button).setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
|
@ -643,7 +637,7 @@ public class GpxUiHelper {
|
|||
}
|
||||
});
|
||||
}
|
||||
dlg.getListView().addFooterView(footerView);
|
||||
dlg.getListView().addFooterView(footerView, null, false);
|
||||
}
|
||||
dlg.getListView().setOnItemClickListener(new OnItemClickListener() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue