I want to prevent my Gluon Application which written with javaFX from rotating by setting the Orientation to Portrait only
anyone can help ?
Add this line to your AndroidManifest.xml under the activity tag:
android:screenOrientation="portrait"
Related
I am using the Syncfusion Xamarin ProgressBar with a corner radius (version 17.4.0.55):
<progressBar:SfLinearProgressBar
HeightRequest="16"
CornerRadius="16"
Progress="75"
ProgressColor="#FFffbe06"
TrackColor="#33ffbe06"
TrackHeight="16" />
On Android the corner radius applies to the middle of the bar in addition to the sides. It appears to cut the progress bar in two.
This problem does not exist on iOS.
I attempted to solve the issue by setting the SegmentCount to "1". But that did not solve the issue.
<progressBar:SfLinearProgressBar
...
SegmentCount="1" />
What do I need to update in my XAML to avoid the middle corner radius?
After review this using Syncfusion's example app, I discovered that there is a difference between running the app in Debug mode and Run mode. Here is an example of both modes:
The top image is in debug mode and you can see the little gap on it. The bottom one is in Run mode and it is a perfect progress bar.
Definitely is something that needs to be reported to Syncfusion as a bug.
If you have more than a certain number
Of icons the navbar bottom mode
Shows icon with no text and shifts the icon when selected
Is there an official fix for forms no renderer
If not I will take any fix
Thanks
That is an Android Problem, Xamarin is working on a fix in the next release, in the meanwhile, you can follow this gist, with code to prevent that:
https://gist.github.com/LynoDesu/64904b6d143892cf14a60a32798a36bb
While using youtube 'YouTubePlayer' cocoapod for for iOS application.
After youtube updated their policy we have to show the title, avatar and share buttons in the top portion of YouTube view. because of this fullscreen and volume button hide behind these item.
this screen from the iPhone6
How to show the fullscreen button like this below screen
because this is from the iPhone5 screen
I had the same issue in another library. In my case, I removed the "showinfo" parameter in the settings, because it is deprecated.
I have used this another library
which similar to the youtube official iOS library
The only difference between these both is:
youtube official library using WebView
which is causing the crashing issue in iOS 12.0.
where as YoutubePlayer-in-WKWebView this library using the WebKit this is working fine for me.
Fullscreen button is hide behind the title view, for this set the playsinline parameter to 0 then which enable the video can play in full screen mode.
looking for a Weex way to set screen orientation to landscape. Seems like the NAT orientation API simply says what the orientation is. Is this something that should be done in the respective Android or iOS builds?
as API document says weexpack plugin add nat-device-screen this is enough.
I'm developing on QtCreator for Playbook. In bar-descriptor.xml I set the path for splash as follow:
<asset path="splash.jpg">splash.jpg</asset>
For setting splash screen I tried:
<splashscreen>splash.jpg</splashscreen>
<splashScreen>splash.jpg</splashScreen>
<splash>splash.jpg</splash>
<splashscreen><image>splash.jpg</image></splashscreen>
<splashScreen><image>splash.jpg</image></splashScreen>
<splash><image>splash.jpg</image></splash>
But splash screen appears as default black image with BB logo. Someone knows how change it?
Anyway, Thanks!
Qt requires landscape and portrait splash image. So, in my case, landscape and portrait are the same and the way for edit this is like follow:
<splashscreen>splash.jpg:splash.jpg</splashscreen>
In other cases, when exists both images, the way for edit this is like follow:
<splashscreen>splash_landscape.jpg:splash_portrait.jpg</splashscreen>