I'm developing on Galaxy S3, Android 4.1.2.
Like any application, I'm using png images with transparent background, and also, there are a few images i go over and change every non-transparent pixel to a defferent color.
everything works just fine, but today I installed it on Nexus 5, android 4.4, and all the transparet background turned to black.
how can i make it transparent again?
Any help will be highly appreciated!
Thanks!
Related
I've added an icon to my app via the built-in Image Asset Studio in Android Studio.
Made a png foreground and then color as a background.
On a Samsung device, the icon renders perfectly.
Then when I install the app on a Huawei P20 with android 10. The icon is rendered like this:
I think the Huawei UI isn't using the adaptive icon, but uses the legacy icon and adjusts it into its custom app shape UI and therefore zooms in.
Are there some extra steps I need to do for having a good rendering app icon?
Thanks.
Have you tried Adaptive Icons?
Instead of using a single image use the combination of 2 images for Foreground and background.
You can take the idea from android's default app icon, it's also adaptive.
I had the same problem with Huawei P20 Lite (Android 8.0.0) when I tried to install an app from Android studio.
There's nothing we can do to fix it.
But the icon will look like it should after a reboot.
Also, if you'll build a release version of your app and install it via adb install the icon will look like you expect.
I'm trying to make a very simple android app using Android Studio, it should open with a splash screen, then open a WebView.
I made it, and it works perfectly on my phone (with android 4.4.2), but when I try to use it on other device, I only get a white screen. I tried to use on a phone with android 4.1.2 and 6.0, none of them worked.
Any ideas where could be the error?
Edit:
Here's the files
https://github.com/gethuliogripp/kitexp
I've come across this problem and I was getting no errors as well. You have to make sure the images you use in the app such as your web view and splashcreen actually fit the screen so the app doesn't run out of memory. So make sure your images in your drawable are almost the same size as your phone screen, for my background i made the image 3in by 5in and my app works on all devices now.
I have an Android App I´m developing in unity. Colors look just fine on the game editor, but when I build the app and use it on My Samsung Galaxy S4, all the colors seem to be brighter than on the Unity Editor. I have all my images on True Color. Even the background colors and button colors of the UI get brighter.
Can anyone tell me how to get the same colors I get on my Unity editor when I build the app on my device?
Thank you
Move your game pictures from your laptop to your mobile device then you see even with same pictures they looks different and it's because difference to their quality and it's not unity or your fault.
I saved an image in photoshop using save for web, 24 bit png, with transparency checked.
I then generated my icons using the Android Asset Studio.
My launcher icon has a black background on my device (Captivate), but does look fine on my emulator.
Any advice on how to get the icon to not have the black background on my device?
Thanks in advance!
Save it as a 32 bit png, that way you get the full 8-bit transparency.
Samsung TouchWiz is what's putting the icon backdrops on.
I have an application that publishes a homescreen widget. The widget has portions that are transparent. I have recently updated to API 10 and latest ADT (10), and now my Appwidget has lost it's transparency. Has anyone encountered this and have you found a fix?
My widget is a PNG-24 with transparency info, it is 100x100 pixels - might that be the issue? It has been working well previously. I am testing on Android 2.2 device (HTC Incredible) as well as on emulator 2.1.
Thanks!
Duh! I had the color changed in the layout wrapping the widget element from #0000 to #000000 which is obviously not transparent.