White text color on Pixel 6 android - android

I have an app available on play store and users have been reporting that they can enter any text due to the fact that the text color is white, which very weird.
I have used Firebase Test Lab to try reproduce the issue. I could indeed reproduce it.
On Pixel 5, everything is fine and the input text on EditText is visible. Text is black and background is white.
On Pixel 6 on the other hand, there is nothing to see.
I have not set any text color on the edit text, so everything is out of the box.
Unfortunately there is not yet an Emulator for Pixel 6 in android studio. Therefore I can't really debug to see what's going on.
What is so new on Pixel 6 that sets white as the text color?
Best regards

I manage to solve the problem.Changing the parent of my style from Theme.MaterialComponents.DayNight.NoActionBar to Theme.MaterialComponents.Light.NoActionBar did the trick.

Related

Hairline borders between my tables in Gmail Android App (Android 5-6)

I am going crazy trying to figure out why this happening. I have hairline borders appearing between my tables in my Gmail App on Android 5-6 on a email template i'm working on for a client. This doesnt appear in any other client but the gmail app. The weird thing is, when I zoom in the hairlines disappear on a specific zoom level.
The hairlines are very light but you can see them in the screenshot
I have border-collapse:collapse on all tables with cellpadding, cellspacing, border and border-spacing all set to 0.
Any assistance or input anyone could have would be really appreciated.
Try putting the outer table background color to white and if doesnt work then all td's border and background color to white. This used to happen in iOS when you use different background colors.

Color issues from photoshop to android

I have created some images and set some colors using photoshop and applied them to our app in android studio, but for the same hex code, colors arent same, I do not understand why this is happening. I took a screen shot of the color im working in photoshop and then opened the image in photoshop, surprisingly the color code changed, and it was same as android studio was showing and its not the actual color, I have even checked the RGB/ CMYK mode, it is in RGB mode, i even tried CMYK mode, in the both the cases the problem persists. No matter how many times i have tried, the problem persists. Please help me out
I agree with Rodrigo, you should set a color workflow.
If you are mainly working on documents viewed on the web or mobile devices :
1) in Photoshop go to Edit>Colors Settings and set your RGB Colorspace to "sRGB".
2) Make sure Proof Colors is unchecked in the View menu.
3) Make sure your document has the "sRGB" color profile attributed (can be fixed by using "Attribute color profile" or "Convert color profile" in the Edit menu).
This should ensure color consistency across most devices and web browsers.
It very strongly depends on device screen. I have 4 devices, and colors are different on all of them
You have to setup your color profile in photoshop, by default photoshop gives you different colors when you save for web. Check out this tutorial step by step and let me know if this fixed your problem.
http://viget.com/inspire/the-mysterious-save-for-web-color-shift

What color does the Stock Android Browser use as it's default background color?

What color does the Stock Android Browser use as it's default background color?
When I check google.com using my Samsung Tab running Android 4.1.2, it get a pleasant color (see the red squares below). The same thing changes to something else, when I take a screen shot, and then it's again something else when I view it on my desktop changing user agents.
What is the hex value of the color that it uses?
It is #EEEEEE
This website might help: Color Picker Online

Samsung S3 colors issue

We are experiencing a color change only in S3.
The color is well defined as Hex in the layout XML.
on all devices it is green, but on S3 it some times turns red
Edit due to the negative responses:
Just to be clear, the color was changing on S3 only sometimes, and in run time.
apparently calling set background to a previusly set view caused this to other views in other activities that had the original color set for them as well
Try to set the color in a different way:
YourView.setBackgroundColor(Color.argb(255, 255, 255, 255));
And so not from the xml-files.
dude, I think its not related with your coding or Hex value, check display settings for S3. Go to settings and then select display and then select screen mode and finally choose Natural option from it. Hope it works. You may try other variations from it.
Apparently On S3 (at least) if you set in the layout a views background, and then change it programmatically to a different color, the original color will show as the new color throughout your app.
Jitesh Dalsaniya & Salman Khan, you can try and recreate what i have described.
Hope this post will help anyone that runs into this weird issue.

Android Transparency bug? android:color/transparent

Random bug on mostly > 4.0 devices
Sometimes transparency that is set in .xml files is shown as white/light grey shade.
This happens for practically everything , TextView , ImageView , Button , Relative Layout...
Has anyone experienced this before ?
All I can find is a transparency bug in Jelly Bean that happens with secondary accounts , which isn't related to this.
I ran into the same issue, but was able to work around the problem by using the 8-digit color code in which the first two digits represent the transparency level (00 being fully transparent, FF being fully opaque).
Using #00000000 results in a fully transparent color and can be used as a direct replacement for android:color/transparent.

Categories

Resources