public SystemUiHiderHoneyComb(Activity activity, View anchorView, int flags) : base(activity, anchorView, flags) { system_visibility_change_listener = new MyOnSystemUiChangeListener(this); show_flags = (int)SystemUiFlags.Visible; hide_flags = (int)SystemUiFlags.LowProfile; test_flags = (int)SystemUiFlags.LowProfile; if ((flags & FLAG_FULLSCREEN) != 0) { show_flags |= (int)SystemUiFlags.LayoutFullscreen; hide_flags |= (int)SystemUiFlags.LayoutFullscreen | (int)SystemUiFlags.Fullscreen; } if ((flags & FLAG_HIDE_NAVIGATION) != 0) { show_flags |= (int)SystemUiFlags.LayoutHideNavigation; hide_flags |= (int)SystemUiFlags.LayoutHideNavigation | (int)SystemUiFlags.HideNavigation; test_flags |= (int)SystemUiFlags.HideNavigation; } }
public SystemUiHiderHoneyComb (Activity activity, View anchorView, int flags) : base(activity,anchorView,flags) { system_visibility_change_listener = new MyOnSystemUiChangeListener(this); show_flags = (int)SystemUiFlags.Visible; hide_flags = (int)SystemUiFlags.LowProfile; test_flags = (int)SystemUiFlags.LowProfile; if ((flags & FLAG_FULLSCREEN) != 0) { show_flags |= (int)SystemUiFlags.LayoutFullscreen; hide_flags |= (int)SystemUiFlags.LayoutFullscreen | (int)SystemUiFlags.Fullscreen; } if ((flags & FLAG_HIDE_NAVIGATION) != 0) { show_flags |= (int)SystemUiFlags.LayoutHideNavigation; hide_flags |= (int)SystemUiFlags.LayoutHideNavigation | (int)SystemUiFlags.HideNavigation; test_flags |= (int)SystemUiFlags.HideNavigation; } }