In Visual Studio i created a blank application, when running on my device i get a full screen app.
I want a partial screen app that's transparent, that has some transparent buttons, for example, my phone resolution is 1080x1920, the app is 300x300, like a widget but it's NOT a widget, im not trying to create a widget, im trying to create an app that launches with the size of a widget? if that makes sense.
How do i approach/accomplish this?
Try using DialogActivity, that should work
Related
I'm developing an Android app on a tablet. I was trying to use the emulator for development. But, the orientation, when the app is running on a tablet, is not fixed.
For example: when a button is attached to the bottom of a screen layout (let's say MainActivity), and I'm trying to press on it, the press will be affect the center of the screen (vertically).
Therefore, I can't test any button pressed or other views. Does anyone knows how to fix that? Can't find any useful reference online.
I'm new to android studio and trying to create a simple app with multiple tabs that displays different graphs. I've managed to plot my graphs in the app fine but for some reason the graph keeps going out of the screen. I'm pretty sure the screen i have is 5.46" and i have that in my android studio settings (im also using the constraint widget to try and keep everything in place) but it still goes out of border. I'm thinking its possible this issue is happening because i have my orientation set to landscape in the 'orientation preview' button. If the issue is with the landscape then how do i convert my app to landscape?
screenshot of my android studio:
And this is what it displays on my device:
By the way, the device I'm using is not an andriod phone or tablet, its a screen with andriod installed on it.
In my App the user can change between dark and white theme at any time in the settings.
After restarting the app, the settings are loaded to evaluate if the user uses the dark mode. If so, I want to have a dark background color on the native android splash screen.
Is there a way to change the native android splash screen color during runtime - for the next start?
I've seen this question, but still no solution.
The problem is not to set the splash screen! I know this can be done by using this package or by simple steps in the android folder.
I want to implement custom splash screen using IBM Mobilefirst for both Android/IPhone platforms.
My requirement is to show a GIF image on app launch.
In Android, custom splash screen is perfectly working. But in IPhone, before showing the GIF image, the default splash screen is displaying.
From this blog https://www.ibm.com/developerworks/community/blogs/worklight/entry/creating_a_rich_hybrid_application_ui_with_ibm_worklight_foundation_6_2?lang=en , I got one sample application. When I run this project in android, there is no splash screen is displaying. But the same project in IPhone displays splash image before displaying the custom page.
I want to remove that default splash screen and only show the custom spalsh screen.
As suggested in the comments, you'll need to at least have the image, and then use it in a different way.
Follow this tutorial to add native UI to your MobileFirst-based Hybrid app: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.1/adding-native-functionality/ios-adding-native-ui-elements-hybrid-applications/
I am trying to create an Android app where there will be simple animations on the phone at all times.
The app will be similar to "Crack Your Screen Prank"
or
Facebook Messenger,
where it will be on top of the home screen, but animated.
At first I thought this was widget but I am not sure anymore.
Please let me know how to achieve this.
This can be done in three ways:
A Widget
A Live Wallpaper
A Daydream
Its even possible to create an app that has all three of these features and offers the user the option of using one or more of them simultaneously.