Hide notification bar (Status bar) when play Youtube Video in Fragment - android-fragments

I have a Fragment in Activity full screen size. In this fragment, I add one Fragment that extends YouTubePlayerSupportFragment to play Youtube video. When Video is playing, notification bar (status bar) appears, I don't want that. I want my app always Full Screen View. Please tell me how to fix it

Related

How to find out whether the pop up is visible (shown on existing screen)?

I have a popup in my app which can be moved by the user to another screen. The popup is show in intervals. When the user unplug or turn off the screen and the popup is shown, actually it is not, because the screen is off. How to detect when the popup (Qt quick Window type widget) is really visible for the user?

Xamarin forms splash screen with lottie animation

Is it possible to have a lottie animation when the splash screen is launched?
any examples out there on xamarin?
thanks
No, it's impossible on iOS. The launch screen on iOS only accepts the static image and we can't add any code behind to adjust its display.
If you want to implement it on Xamarin. I recommend you to use a splash page as the App's MainPage first. Place your animation there. Then change the App's MainPage to your first page after the animation has finished.
I don't think it is possible, because there is no code-behind available.
Workaround would be to place a screen after the splash screen and add your Lottie animation there. This way you can also control how long you want to show the (fake) splashscreen.

How to navigate to a new Screen when using SideBarController in Xamarin.iOS

I have an application with a lot of screens, let say HomePage, Section Screen and Detail Page, Category Screen.
I use a NavigationController to Navigate from HomePage to Section Screen.
In the SectionScreen I have used a SideBarController component (https://components.xamarin.com/view/sidebarnavigation) to implement a navigation drawer or a flyout menu.
The problem is how to navigate from Section Screen to Detail Page or to Category Screen. I need to make this kind of navigation from MenuController or ContentController.
I don't want to just change the contentView. I want to push another UIViewController.
I have used the usual one:
this.NavigationController.PushViewController( new UIViewControllerExample(), true);
but there are some problems:
In the details page I can't access the NavigationBar
When I press back, the app crashes with an error:
Cant add self to subview
This is how to it should look like.
This is the problem. The first image display what happen when i use the above code,
Any idea how to solve this.
as you can find in that page of component you should use SidebarController as your navigationcontroller
SidebarController.ChangeContentView(new OtherContentController());

Android : How to use Fragments or Activity with Drawer Layout like in Google PlayStore

I want to create an android application where I have a home page which contains a Drawer Layout.When I click the Item1 in the Drawer layout I want to go to Screen for Item1 where its data entry occur.I want the same Drawer Layout here also but need to show the action bar back button instead of the drawer icon which on click saves the data in the screen and back to the home screen.Also if I click on the plus button on the right bottom corner of the Item1 screen the open a new screen(that is, Screen with name Item A) with the same drawer layout and back button.Here also if I click the back button I need to save the data in that screen and back to the Item1 screen.Below is the screens that I want.
I think google playstore works like this.it will show the drawer icon in the home screen only and in subsequent screens shows the up/back button along with the drawer layout.I want exactly the same.
How can I create screen structure like this.Which one to use for Item1 and Item A screen? Whether to use Fragments or Activity which extends a Base Activity in which drawer is defined.If fragments how can I get back to Item1 on back button click from Item A screen and then to home from Item1 screen.I am really confused by these fragments and Activity.

How can I get timeline data from the profiler?

When I open a page of my application in the browser, I can see the debug toolbar at the bottom of the page. When I click on the timeline, however, the data is shown in a canvas.
I'm blind, and thus can't interact with a canvas through my screen reader. I'm wondering if there's a way to view the timeline data, without having it drawn on a canvas?

Resources