fullscreen

Android - Make app fullscreen without title & icon? [duplicate]

懵懂的女人 提交于 2019-12-11 11:27:29
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Hiding Title in a Fullscreen mode? I am making a app that need to be in full screen. i want the notification bar to show, but not a titlebar or icon (my build target is 4.0.3). I have tried to put it in full screen but it stays the same. Is there any alternative to get full screen app layout / view? Any help would be greatly appreciated! i want to hide the hello android text and icon here is a example: 回答1: In

Position the search box at the left of the title bar

旧巷老猫 提交于 2019-12-11 11:16:57
问题 I'm using INAppStoreWindow for my application. I put an NSSearchButton in the title bar of the application. INAppStoreWindow *aWindow = (INAppStoreWindow*)self.window; aWindow.titleBarHeight = 60.0; aWindow.showsTitle = YES; NSView *titleBarView = aWindow.titleBarView; NSSize buttonSize = NSMakeSize(200.f, 100.f); NSRect buttonFrame = NSMakeRect(NSMidX(titleBarView.bounds) - (buttonSize.width / 2.f), NSMidY(titleBarView.bounds) - (buttonSize.height / 2.f), buttonSize.width, buttonSize.height)

How to show QGLWidget in full screen?

假装没事ソ 提交于 2019-12-11 10:34:04
问题 I have a QGLWidget as part of the UI of my application. It is NOT a central widget , there are a lot of others widgets around it. I want to show it full screen on user clicks the button. Similar functionality like on youtube video flash player. I have tried to use showFullScreen with no effect. I have read how-to-fullscreen-a-qglwidget and fullscreen-widget, but they suggest using showFullScreen. Qt documentation states that for using showFullScreen widget must be an independent window. So I

Image does not display in full screen when ImageView is clicked

放肆的年华 提交于 2019-12-11 10:26:48
问题 I wanted to display the full screen of my bitmap image(selected from gallery or captured image) when the imageView is clicked. imageView .setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { if(zoomOut) { Toast.makeText(getApplicationContext(), "NORMAL SIZE!", Toast.LENGTH_LONG).show(); imageView.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT)); imageView.setAdjustViewBounds(true);

MPMoviePlayerController in full screen issue (showing blank black screen)

杀马特。学长 韩版系。学妹 提交于 2019-12-11 09:26:59
问题 I have tabBarViewController which contain few pages, and a loginViewController. I use [window addSubView:] to add the views. When I need to play fullcreen video, I have to remove all the view in window in order to displaying the video, else, it is just a black screen. When the video is stop/finished/exitFrom full screen, I have to manually add the subview back again to window. I know this is a wrong way of doing it. If I'm not doing this way, when video is switched to full screen, it will

Flowplayer 5.3.2 fullscreen button missing in iframe

旧街凉风 提交于 2019-12-11 09:03:53
问题 I have .mp4 videos that I would like to stream using Flowplayer. It works great, but when I put it in an iframe, the fullscreen button is missing. This question was answered by someone here: How can I enable fullscreen in Flowplayer 5.2 that's in an iframe? But I can't figure out where to put the flowplayer.conf.fullscreen = true; Here's my index.html code so far: <head> </style> <!-- player skin --> <link rel="stylesheet" type="text/css" href="skin/minimalist.css" /> <!-- site specific

Non-fullscreen FLVPlayback

为君一笑 提交于 2019-12-11 07:57:29
问题 I'm building a full-screen demo where I need to simulate a YouTube video. I dragged a video that plays an external .flv file. It works fine if the stage isn't set to full-screen. But I need to set the stage to full-screen like this: stage.displayState = StageDisplayState.FULL_SCREEN; stage.scaleMode = StageScaleMode.NO_SCALE; The problem is that when the animation reaches the video the screen goes black and the video doesn't play. I already setting an instance name and tried putting the

MPMoviePlayerController only rotate on fullscreen

落花浮王杯 提交于 2019-12-11 07:16:47
问题 I have a table view that contains an instance of MPMoviePlayerController as the table header and when the user presses my custom overlay button, the video expands to full screen. The aspect ratio of the video is such that in portrait mode it is very small, and I imagine most users will rotate to landscape. The problem is that I want to allow rotation when the video is full screen but not when it exits. My underlying table does not support landscape. Is there a way to support rotation only

How to open Firefox in Full Screen mode?

白昼怎懂夜的黑 提交于 2019-12-11 04:39:43
问题 I need to open Firefox on a Mac running Lion in Full Screen mode to act as a kiosk. I was using the R-Kiosk 0.9.0 Firefox Add-on; but, it conflicts with a print javascript I am also running, so I can't use it. Anyone know a way to accomplish this? either with an add-on or, perhaps, with AppleScript? Could an AppleScript be triggered to run when Firefox is opened? 回答1: This should do it: activate application "Firefox" delay 2 tell application "System Events" tell process "Firefox" click menu

android: disable opengl ES context switch upon device rotation

淺唱寂寞╮ 提交于 2019-12-11 04:12:53
问题 i have an android fullscreen opengl es app. when the device is rotate from portrait to landscape and back the gl context is destroyed and recreated. is there a way to avoid this? i.e. always stay in portrait or landscape? edit: i already have this code in my activity: @Override protected void onResume() { super.onResume(); mGLSurfaceView.onResume(); } @Override protected void onPause() { super.onPause(); mGLSurfaceView.onPause(); } 回答1: Unfortunately until API Level 11 (3.0) GLSurfaceView