Fix minor layout issue
Views set to invisible still occupy space in the layout. Change it
to GONE
@@ -105,8 +105,8 @@ public class SettingsFragment extends Fragment {
(buttonView, isChecked) -> handleShowTrack(isChecked));
binding.settingsChooseGpxContainer.setOnClickListener(v -> handleChooseTrackClicked());
} else {
- binding.settingsShowGpxContainer.setVisibility(View.INVISIBLE);
- binding.settingsChooseGpxContainer.setVisibility(View.INVISIBLE);
+ binding.settingsShowGpxContainer.setVisibility(View.GONE);
+ binding.settingsChooseGpxContainer.setVisibility(View.GONE);
}
}
@@ -128,7 +128,6 @@ public class SettingsFragment extends Fragment {
}
}
-
private void updateStorageGraph() {
StorageLocationProvider.StorageLocation currentStorageLocation =
storageLocationProvider.getActiveStorageLocation();
