Android Studio floating action button's weird feature - android

I am making my own android application and came across a weird issue. I've got a few floating action buttons into my app and in the editor they look just fine. But when I upload this app to my phone or to the simulator, an other strange color appears which even moves when I touch the button. (the lighter blue is what I am talking about).
What is this feature and how can I turn this off?
Thank you for your answers in advance.

Related

Android app is brighten up after keyboard is closed

This might be an emulator only issue, no reproduction on physical devices so far
We have a Xamarin.Forms App for Android and iOS. The app supports dark and light theme and follows. Most of the colors are defined in styles using the AppThemeBinding of Xamarin.Forms.
We use Material Renderers and Xamarin.Forms 5.0.0.2337 (i.e. most current).
We use the Switch control for some settings. Cause there is a dark mode bug in Xamarin renderer for switch, the Android main style parent was changed from Theme.AppCompat.Light.DarkActionBar to Theme.AppCompat.DayNight.DarkActionBar as proposed as workaround.
Now I observe this issue in Android Emulators (cannot test on real device at the moment):
click an Entry or Editor, soft keyboard opens
make some keyboard input
close keyboard either by "finish" button or "back" button
the whole app (page, controls etc.) is rendered brighter now. example: page background was #121212 before keyboard was shown and is #2f2f2f after it was shown. sometimes it needs 2 or 3 tries to reproduce
by clicking in another entry, the app may be rendered correct again or may be not.
The issue leaves helpless cause I do not understand what is going on.

Notification icon is greyed out sometimes but works sometime

I am working on an Android application in which I face an issue in Android push notification icon.
The notification icon does not display its content instead displaying in grey colour.
After the research, I could understand that there is a change required in icon for adding transparent and/or white backgrounds since the Android version 5.0
But, my problem now is that I am unable to strongly convey my client about this issue as he shared a screenshot of his Realme X2 Pro device.
It seems that sometimes the device displays in right manner but sometimes not. Please help me find out the solution.

Remove Android Studio "changed lines" popup that covers scrollbar

On OSX using Android Studio 1.5.1, I'm getting "changed lines" popups that cover the scrollbar on the right and prevent me from scrolling. They're pervasive and require extra attention to get the right combination of clicks and mouse movement to regain control of the scroll bar from this hijacking.
How do I stop this popup? It isn't useful at all for me.
The popup covers the scrollbar for other things too, like TODOs.
It appears that two messages combine into a correct popup to the left, that doesn't cover the scrollbar. So... whatever is responsible for this popup knows how to do things correctly, but chooses not to in some cases.
These two images are at the far right, the scrollbar.
This blocks clicks and makes it difficult to scroll.
This is more reasonable, but still unnecessary for my needs.
I did find a thread on this subject, but I do not want to turn syntax highlighting off. Also, it appears that for some configurations these popups are click-through so they don't interfere with functionality. No so for me, unfortunately.
Intellij Idea 14 - disable highlighting level messages
I tried disabling plugins, but the functionality appears to be in the core (or the core set of plugins for Android Studio).
Has anyone else seen this? Is there a preference that can just disable these change line popups?

Texts disappear (text rendering)

This is my first question on this forum.
I have a weird problem on Android platform. Currently our app is in closed beta and I have received few error reports of disappearing texts.
In practice, all the texts disappear in my app. In every Fragment, in every Activity. Also from Action Bar. Based on the reports, it seems that this occurs after using WebView, but I can not be sure if usage of the WebView has something to do with this issue.
I'm targeting the app >= 4.2 Android and received error reports from 4.2 to 4.4. Unfortunately I haven't been able to reproduce the problem.
This image shows you the problem. In the image should have texts in Action Bar (App name, Tab texts and also lot of texts in the view:Screenshot of the problem
Have you ever encountered this kind of problem and do you have any idea what might be the problem.
Thanks, Veikko

How do I fix visible 'invisible-buttons' in Android app port to Blackberry?

I have a very simple Android app. It is one Activity with Text and Buttons, and as you click on the buttons (onTouch events), they become invisible and the text changes.
This works fine for Android 3 and Android 2.3.3 simulators, but when I use the BlackBerry nature in Eclipse to send the app to a BlackBerry playbook simulator, funny things happen. As I click on the buttons they go invisible, but other buttons change too.
Buttons that were only ever visible, stay visible. Some Buttons that were invisible, become visible. Some buttons that had become visible earlier, return to being invisible.
It feels like a redraw problem, or some strange caching on the button state.
Anybody got any ideas? Wild guess excepted ...
Get a playbook or wait until RIM updates their broken simulator.
I converted an app for the playbook and the code was running fine on the simulator. It's a very simple app too, like a binary calculator. A couple of toggleButtons, Buttons and a TextView.
The app had visual issues, similar to yours. Buttons disappeared. Buttons were highlighted when I pressed buttons around them. ToggleButtons didn't change state. And much much more.
Since I don't have a playbook I couldn't test it on a real device. I tried layout changes, code changes and tried different settings. But nothing helped, those issues stayed.
After some reading in their forum I came to the conclusion that this might be an issue with the simulator.
So I submitted the app to the AppWorld 5 days ago. It got approved today.
So there is a chance that your app is alright, and the problem is the simulator.

Categories

Resources