Notification Bar Icon white square in Android 6.0 - android-notifications

Okay so I know that starting in Android 5.0 the way your supposed to do things is to have an all white notification icon on a transparent background, otherwise your notification icons will appear as a white block. However if your target sdk was lower than android 5.0, they'd let you get away with the old way just fine.
This all seems to work on Android 6.0 for the lock screen and the notification drawer, HOWEVER in the notification bar I get the white square now, even when my target sdk is lower than android 5.0... Is this a bug in Android, or do I just have to start doing the notification icons in the new way now?

Related

AFrame broken on iPhone?

Does AFrame support Cardboard for iPhone?
The documentation lists Cardboard in the list of supported platforms. However, when I try on my iPhone (for example the helloworld demo), I just see a screen saying "Insert phone into Cardboard holder".
Steps to reproduce:
Grab iPhone, start Safari web browser
Navigate to https://aframe.io/examples/showcase/helloworld/
press the "goggles" icon on the bottom right
Expected:
The view splits, showing an image for each eye
Actual:
Screen shows "Insert phone into Cardboard holder". Inserting the phone into a Cardboard holder does nothing.
Am I doing something wrong? Or does AFrame not work for this particular configuration?
Try rotating the phone with screen lock off.

Android transparent launcher icon in Oreo

Android launcher icon with transparent background not working in Oreo. It shows a circle background. How can i remove this circle shaped background in Oreo Using Android Studio. In other versions, no problem. Any idea please help me
Just open this image for launcher icon without rounded shape https://i.stack.imgur.com/8IVpP.jpg
To give a launcher icon a transparent background in Oreo, you have to target API 25 or lower. Keep in mind that all apps will be required to target API 26+ by November 2018 (or August 2018 in the case of new apps).
Are you using Adaptive icons? According to this article on medium, the background drawable must be opaque, while the foreground icon can be transparent.
"background drawables must be opaque whilst foregrounds can contain transparency."
https://medium.com/google-developers/implementing-adaptive-icons-1e4d1795470e
... possibly duplicate of: Transparent adaptive icon background

Html5 and css issues in android default browser.

https://api.backendless.com/09EAFE1D-5539-4B63-FF7E-D9D9379C5E00/v1/files/web/index.html
Why the icon "keyboard arrow down" on the first screen appears as "keyboard" in android default browser?
It suppose to be "keyboard arrow down" from https://www.google.com/design/icons/
Second screen, third slide, android default browser - canvas of mobile devices appears at the center instead of sides of slide.
4th screen, second slide, android default browser - blue button appears without text and icon.
4th screen 6th slide with header "Gesture support" - I have .ogg video on this slide. The problem is this video doesn't work in android default browser and google chrome for android. Why so?
What's wrong with this creepy android browser? How can i emulate it on my ubuntu pc to use developer tools?

iOS 7 simulator vs device differences?

The base deployment of the app is iOS 7.0 and both device and the simulator are using 7.0.
The translucent effect on the simulator gives a blur to the content under UINavigationBar, but on the device, no blur. I've noticed a couple other difference tool. My UIToolbar was translucent on the simulator, but opaque on the device and there have been a few times where tints don't match.
For the nav bar though, why is it different and how do I get the blur effect? Without the blur, text under nav bar text could be distracting and confusing!
After much digging, this is a hardware limitation. The blur effect is not enabled on the older devices due to GPU requirements/performance.
The blur effect will appear on:
iPhone 4S and newer
iPad 4th Generation and newer
all iPad Mini

iOS 7 Simulator showing screen but not phone

Installed Xcode 5 and compiled my app to use iOS 7. However when I run the simulator it only shows the screen of the phone and not the complete phone e.g. the phone body with the home button. Can continue developing my app but would like to understand where I am going wrong. Grateful for any help.
The Retina Versions of the iOS Simulator iPhone does no longer have the iPhone frame, which is kind of sad.
The only way to have the frame back is to run the App in iOS 6.1 mode of the non-Retina iPhone. But I guess, that does not make much sense...
When active simulator device and then select this option
window -> Show Device Bezels
simulator without frame
simulator with frame
In iOS Simulator, Go to Window -> Scale -> 100% or Command-1.
You can adjust the scale size as you wish using Command-2 for 75% and Command-3 for 50%
I lost the iphone frame on the simulator after I plugged into a projector. After messing around with the display settings, I finally was able to restore the iphone frame:
Go to System Preferences -> display and set it to scaled, More Space. Now in your iOS simulator, set the scale to 100% (CMD+1).
Hope that works for you too.
I think you guys need the iPhone frame to press the home button/close background tasks in simulator.
Use Cmd key+shift+H for Home button operation
Use Cmd Key+ shift+H(press H twice holding window and shift) Displays list of background tasks
Are you using the latest XCode build?
In the first Beta-version of Xcode 5, the simulator use to not show the external iPhone frame.

Resources