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
commit 1ad6500882
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,8 @@ public class SurveillanceFragment extends Fragment {
1.0f 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); binding = FragmentSurveillanceBinding.inflate(inflater, container, false);
return binding.getRoot(); return binding.getRoot();