Merge pull request #22 from davquar/stable
Fix full screen view on Android 13
This commit is contained in:
commit
1ad6500882
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user