I recently installed a background for my project on app inventor, and then after I tried running the background behind the text in the emulator. On my designer screen I have put the background image behind the text which is the normal condition?
it's hard to understand, what you are saying... but try to set Screen1.BackgroundColor to none
rephrasing your question might help
yes, you can set the screen background from the designer view by uploading an image at BackgroundImage textfield and if there are many uploaded image, choose the right one.
any component added will be displayed above the image !
with blocks you can do :
when screen1.Initialise
do:
set screen1.BackgroundImage to |your-uploaded-image|
Related
I have a GUI Builder created form in codename one, how can i open the camera in a resizable view at the show() of the form and place container like text area or anything else on it?
I saw the camera demo but i don't understand it very well because on the simulator it open a file picker.
My purpose is to create a form with a camera resizable capture when you have two labels and you can also write or paint on your photo used in background, I do this only for hobby and fun, i do what i can, Any advice is well accepted, thank you for the attenction
You can now place a component on top of a camera view with a new cn1lib: https://github.com/codenameone/CameraKitCodenameOne
Original answer below:
I'm assuming you mean overlay on a live camera view. While this is possible it's not supported at this time in the Java API layer.
If you mean grabbing a photo and setting it as a background for the form for overlay you can create an image with the result of the Capture API and use setBgImage() to set that image to the background of a component or form.
I am trying to make the background of my UWP app semi-transparent; I want to be able to partly see the desktop through it. I have tried setting the Page's Background property to "Transparent", and setting the children's backgrounds to "Transparent". But it still shows a white background. Is this not possible, due to the mess it could create on phones, etc.? Or is there another way?
In App.xaml.cs, you can override a method called OnWindowCreated(...). This will be called as soon as you have a new "chrome" to play with... and unfortunately, there's nothing there to allow you to change the opacity of the container.
You can also access this anytime after your app starts using Window.Current, which will give you the currently active window. Again... nothing there to allow opacity changes.
Maybe Microsoft will add this option in the future. So leave this question open for future answers :)
Can you set the background to a transparent image?
I am trying to execute the steps described in iOS developer library basics tutorial. When I add "Scene to story board" run the simulator, I am not seeing the label. It is just white screen. Not sure what is causing this issue. Any suggestions?
Environment:
iOS SDK7.1
XCode 6.0
Rented server machine from MacInCloud.
EDIT:
Here is snap shot of my Xcode:
When I use "Single View Application" template, "Views" I am adding to story board are showing up properly in simulator.
It could be that the positioning of the label is outside of the visible screen. One quick way to rectify this would be to add a new Alignment Constraint so that the label is "Horizontal Center in Container". An example of how to add an Alignment Constraint below...
I thought to close this question first, but it seems not a good practice, so adding solution as answer.
I missed To configure the app delegate implementation file step from the documentation, which is why it is showing white screen. Make sure you delete the code which renders white background.
I have a WebView that is working perfectly. When I scroll it (up or down) past it's content I see a white area "Behind" the web page. (had an image here, but couldn't post due to being new).
I would like to set the overscroll color to clear.
To be precise I have played with setting the WebView background to transparent, and that does not achieve the desired result. That makes the entire page clear to the background of my app. I only want to see the app background if the user has scrolled past the contents of the window.
Any ideas?
Try this:
yourwebviewname.opaque=NO;
Currently I have set an image for the splash screen but when I restart my system it changes to the default image.
The image that I have set does not persist. Please guide me.
Also suggest me how can I design a new splash screen.
Thanks in advance.
Splash image always persists after you install the app. Have you tried uninstalling and reinstalling the application. Also rebuild the project. The only design element you can give the splash screen is a 620x300 image and any background color to go with it. Apart from that you are not allowed to change anything.