EditText cropping characters while editing - java

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!

Related

Google plus dilaog black stripe issue after login

I have Google Sign In implemented in my app using firebase. The problem I'm facing is that whenever the Sign In dialog dismisses a black strip runs across the screen from top to bottom. It moves very fast but still is noticeable. I want to remove this black strip that runs across the screen so the user smoothly returns to the screen.
Follow this. Seems like only happens to some specific sign in.
Screen flickers after Google Sign In dialog dismiss android studio

Android 5: Icons turn black after keyboard disappears

We have an Android application which works well on Android 4.1+ till Android 7.
Only in Android 5.0 and 5.1 we experience a difficult problem (on all devices + emulators).
The icons we use in our application turn completely black after hiding the software keyboard (when you are finished typing something in a textbox).
They stay black, even after restarting the application.
But after restarting the device (or closing the application by taskmanager), the icons are back normal (till you hide the keyboard again).
I don't find anything unusual in the code or icons and since it works in Android 4,6,7 it seems related to just Android 5.
Does someone has some idea at what the cause could be?
Disabling hardware-acceleration didn't have any effect.
This problem mainly occurs if you are using some other format of images like jpeg , use only png images also you might want to have a look at this answer

Enabling EditText corrupts RecyclerView items

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.

Android Action Bar Title Text not clickable on certain phones

I have a project that I am currently updating. In previous versions I have been able to select the title text, and it would react as part of the back button in the action bar. I currently have no icon in the actionbar by design and in previous versions the text was still interactive.
I tried implementing different layouts for varying screen sizes, however, since then on normal and small screen sized phones (tested: Samsung Galaxy S III Mini and Sony Xperia tipo) now only the back button ("<") reacts to touch.
The title text is still clickable on an Samsung Galaxy S4 and a Nexus 4. I have reverted the code back to how it was before I made those changes, along with trying code from last week to make sure nothing has changed, and the bug still occurs. I have tried other apps on the Samsung Galaxy S III Mini and the text in RedReader is clickable, so it's definitely app side, but I am not sure what has changed that will cause this.
I am currently at a loss as to why it is doing it. I've also attempted to update ActionBarSherlock to see if that may have caused an issue, but I am not sure what to try next.
Title on ActionBar is clickable from 4.2.2 version of Android. Before only < or icon.
If you have the need to implement this functionality in previous versions (including versions 2.x), you can use the ActionBarSherlock.
The library will automatically use the native action bar when appropriate or will automatically wrap a custom implementation around your layouts. This allows you to easily develop an application with an action bar for every version of Android from 2.x and up.
Visit http://actionbarsherlock.com/

Buttons darker on Galaxy Android 3.2

I have a Samsung Galaxy Tab, Android version 3.2, that is displaying the default Button control much much darker. Android 3.2 doesn't do this in the emulator, it doesn't do it on a newer ICS tablet, it doesn't do it on any of our phones or in any version of the Android emulator. Has anyone encountered this? We are not doing anything to the button controls display wise. They are completely out of the box controls.
Is there a fix that doesn't require custom coloring all our button controls? We're kind of stuck, because we can't reproduce it anywhere but the tablet it's happening on is our final QA approver, and she's a stickler for this sort of thing (it's an enterprise app we're trying to get going).
Edit: Looks for sure like it's setting a transparency on the buttons that none of the other devices are, rather than using a different color.
Edit: Here is a screen shot. Specifically, the Submit Shipping Selection.

Categories