I have a problem with flickering RecyclerView items when my EditText is enabled.
When I disable the EditText, everything is fine:
But when I enable it in the XML (android:enabled="true") or with code (setEnabled(true)) the RecyclerView items go white or pink, depending on the EditText focus:
This happens only on some devices and never on the emulator.
In the Google Play Developer Console report, only the screenshots taken on Nexus 5 had this problem.
I also have Nexus 5 device (the older one) and it's there as well.
I'm not posting any code right now as I think it doesn't matter since it happens just by enabling the EditText.
Have you seen something like this? Do you know what causes such effect?
Edit 1:
As you can see, also the Spinners get corrupted.
Edit 2:
I have uploaded the whole repository to a temporary public project: GitLab
(Look for RatesFragment.java and res/layout/fragment_rates.xml)
The code is a mess right now. I was experimenting with a few approaches and ended up with this issue in the middle of the night.
Related
I'm trying to make a really simple app for a friend to display his bar's ordering website in an app for when they reopen with the social distancing measures in place. The web app already exists, so this is really a simple matter of displaying the content in a WebView.
I've got the page loading, the content is visible, the styling is done - The only problem is that it doesn't seem to be loading all the elements. There's a line of filters at the top which just display as 3 dots (i.e. loading), and when I click any of the items on the menu, nothing happens. There should be a window pops up asking for a table number etc... If I open this in the Chrome browser on my phone, rather than a webview in the app it works perfectly so I know it isn't the website.
I've done the following;
setJavaScriptEnabled(true);
setJavaScriptCanOpenWindowsAutomatically(true);
setSupportMultipleWindows(true);
I've also turned off safe browsing in the manifest in case that was blocking anything. I have also given the app permissions to use the internet. I can't figure this one out at all and nothing online seems to be helping!
Admittedly I'm a tester (automated, but still), so coding isn't my best suit. I may be missing something really simple here. Any ideas?
Scratch that. For anyone who's interested, I needed to add this line;
setDomStorageEnabled(true);
For such a simple thing it proved impossible to find info on, I just enabled everything until something worked! So hopefully you don't have to do the same if you're looking at this.
I have a field service reporting android app that I created in Oracle MAF. it has been in use for almost a year now with no UI issues, Over the last few days, I have been getting reports from our end users that the button text is disappearing. so - anywhere where there is a button with text inside it, the text is not visible. same font is being used elsewhere in the app with no issues. All the end users are running this on the Samsung Tab A 8.1. The last android update for the device was a few weeks ago. The problem is slowly propagating, like only 4-5 users a day are reporting that they go to use the app and the text is gone. luckily they are used to the app and know what all the buttons do, but I have to eventually fix it. I can't get any straight answers from Our IT department or Samsung as to why it is happening like this, and the update didn't seem to have anything in it that could do this. A factory reset fixes it for a day or two, and then the issue comes back.
What it is supposed to look like
Example of missing text
Like I said, this has been working fine for a while now. I'm mainly looking to see if anyone is aware of an Android update that would cause this, or if there was anything in the Samsung security update that would do it.
Google pushed an update to Chrome that they have discovered caused problems like this, and many others.
I was able to instruct my end users to disable chrome and let it roll back to the factory version.
this fixed the issue.
I'm developing an Android app that shows my different POIs with my custom design.
Usually In most cases everything is fine. But sometimes, about 5% cases there are black squares instead of my POI.
Check the screenshot please:
https://www.dropbox.com/s/tlqqczq98w926oi/ss1.jpg
I'm using for this SKAnnotationView.setView passing my custom View object with ImageView. Image can be set to ImageView via setImageBitmap in background or via setImageResource. I tried different ways. And there is no difference with choice of Bitmaps or Resources. In both cases black square can be shown.
Why it could happen? I don't see anything strange in logcat. No error messages, no warnings.
I'm checked for sure that SKMapSurfaceView.addAnnotation method is called from UI thread. Always.
I'm using Skobbler Android SDK 3.0.3.
How can I correct this issue? Or how can I detect the problem that cause this behavior?
Thanks in advance.
This issue was fixed with the latest SDK release (3.1).
This is best described with pictures. Before scrolling in my ListView, everything looks fine:
After scrolling:
What could be causing this odd behavior? I am testing it on a Google Nexus running Android 4.2.2 and have tried it on the emulator running Android 3.2 with the same result. In this example I am using a ListView with two types of rows, but I get the same result with a standard ListView with just one row type.
It turns out the problem was that I did not set a background color in my layout XML file... If someone could explain to me why this fixes the problem, I would greatly appreciate it. Adding
android:background="#000000" to my main layout fixed it, though.
....
I'm working on an application for Samsung Galaxy 5 with Android 2.2-update1 that has various EditText fields and I noticed that all EditText fields below the middle of the screen is not repainted correctly when the user is typing: all the characters appear chopped, leaving their half top plain white. I've tested this on other devices and this problem does not happen on them.
Any clues on why this happen and/or any workaround for this for the Galaxy 5?
EDIT: This issue happens with the API Demos that comes with the Android SDK. To reproduce this error execute the demo and then follow: App-> Search-> Invoke Search -> click on App Data and start writing, only the lower half of each character will be rendered on screen.
Thanks!