diff --git a/app/src/main/java/it/danieleverducci/ojo/ui/SurveillanceFragment.java b/app/src/main/java/it/danieleverducci/ojo/ui/SurveillanceFragment.java index a6141a8..3b52164 100644 --- a/app/src/main/java/it/danieleverducci/ojo/ui/SurveillanceFragment.java +++ b/app/src/main/java/it/danieleverducci/ojo/ui/SurveillanceFragment.java @@ -76,7 +76,8 @@ public class SurveillanceFragment extends Fragment { 1.0f ); - hiddenLayoutParams = new LinearLayout.LayoutParams(0, 0); + // 1,1 instead of 0,0 because the latter doesn't work on android 13+ + hiddenLayoutParams = new LinearLayout.LayoutParams(1, 1); binding = FragmentSurveillanceBinding.inflate(inflater, container, false); return binding.getRoot();