Merge pull request #22 from davquar/stable

Fix full screen view on Android 13
This commit is contained in:
Daniele Verducci
2023-02-15 09:08:01 +01:00
committed by GitHub

View File

@ -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();