disable scrollbar on headerSelectAll

This commit is contained in:
veliymolfar 2020-05-29 11:02:41 +03:00
parent f0f35b71bb
commit 8f6d4d2f49

View file

@ -172,6 +172,7 @@ public class QuickSearchSubCategoriesFragment extends BaseOsmAndDialogFragment {
headerShadow = inflater.inflate(R.layout.list_shadow_header, listView, false); headerShadow = inflater.inflate(R.layout.list_shadow_header, listView, false);
footerShadow = inflater.inflate(R.layout.list_shadow_footer, listView, false); footerShadow = inflater.inflate(R.layout.list_shadow_footer, listView, false);
headerSelectAll = inflater.inflate(R.layout.select_all_switch_list_item, listView, false); headerSelectAll = inflater.inflate(R.layout.select_all_switch_list_item, listView, false);
headerSelectAll.setVerticalScrollBarEnabled(false);
selectAllSwitch = headerSelectAll.findViewById(R.id.select_all); selectAllSwitch = headerSelectAll.findViewById(R.id.select_all);
selectAllSwitch.setChecked(selectAll); selectAllSwitch.setChecked(selectAll);
selectAllSwitch.setOnClickListener(new View.OnClickListener() { selectAllSwitch.setOnClickListener(new View.OnClickListener() {