Google Sound Search Widget Uppercase Text? - Android Q&A, Help & Troubleshooting

I just installed Google Sound Search on a new device and I noticed something that's been bothering me. The version of Google Sound Search that I have uses uppercase text on the widget as shown in this screenshot: https://i.imgur.com/biZ2nif.png This is bothering me because previously the text was not uppercase, and now it looks like the widget is constantly yelling a question.
What's interesting is that when I go to select widgets from my launcher, it looks normal: https://i.imgur.com/kRFcXxy.png, but once I place it on my home screen the text becomes uppercase.
I tried using fjapktools to decompile the Sound Search app and change the string for this text. I noticed that in all the locale files the text is not uppercase, so I did a search for the Java function toUpperCase() and replaced it with toString() in most .smali files where it occurred. I recompiled the app, signed it, and installed it, but the text was still uppercase.
I'm not really sure where to proceed from here. Is it capitalized for anyone else? I searched Google but no one seems to have mentioned it anywhere. Does anyone know when the app was updated to be like this? I am willing to install an older version of the app if it means the text will be normal again, but I'm not really sure which version to get or if that will have any affect.

Bump

Related

Fonts too small in apps? A fix -sort of

If you find some fonts in apps too small, and changing system font size doesn't make any difference you might find an on-screen magnifier useful. Google TalkBack v3.0.8 r47 Beta for a version of Talkback that provides an on screen magnifier that enlarges the screen to make small fonts readable. It also enlarges icons, pictures etc. Install it, then in Settings, Accessibility you'll find there is the option to turn on the on-screen magnifier.
I find it v useful. One minor drawback, with the magnifier on, and even with Talkback off you get a voice readout of any button presses in camera...turning off the magnifier stops that.
That app is made for old and disabled people.
I am sure everyone except u is able to read properly
IF YOU LIKE MY WORK, THANK ME BY THE BUTTON BELOW
Oh yeah?
Let me know if you can read the ship names in the main screen of Marine Traffic Manager then.....
im with you... Consistency of font size would've been better. Messaging even at smallest font settings is still bigger than lets say; the text when you log on facebook...

Changing Email Background

Hi all, when using stock email application and viewing the list of emails, it is black on white text. I'd like to reverse it to white on black text. Anyone have any idea how to do that?
My phone is rooted if that makes a difference.
hi can anyone help w/ this?
I'd really like to know this as well. I saw that you can change the background color for messaging and the GMail background is white but can you do the same thing for the stock email client?
ochowie said:
I'd really like to know this as well. I saw that you can change the background color for messaging and the GMail background is white but can you do the same thing for the stock email client?
Click to expand...
Click to collapse
hi everybody
is there any possibility to change background colors on stock email???????
black is not good enough...
thanks!!!!!!!!!
I would like to know too.
As for now. I have to change text color to gray. If not, some mail will came in with white background and white text.
Means, shown as blank. But they do have text. ^_^
Sent from my GT-I9300 using xda app-developers app
I'm wondering the same thing. I know for a fact that it started off White background/Black text. But since rooting the device, this color scheme has reversed. I'd like to get it back.
alextn99 said:
Hi all, when using stock email application and viewing the list of emails, it is black on white text. I'd like to reverse it to white on black text. Anyone have any idea how to do that?
My phone is rooted if that makes a difference.
Click to expand...
Click to collapse
I had this same problem just yesterday. My S3 email app has always been white background with black text until I rooted my phone and installed a custom rom a few days ago, my email app was then black background with white text, very aggravating.
There are a few things you can do first that many suggest but for me these did absolutely nothing. This was to first see if there were any settings in the email app itself (which there isn't), then to try inverting your colors somewhere in your android settings (not a solution obviousely), and last was unchecking the option under power saving mode settings that allows the phone to change background color to save battery which actually worked for some, but not for me.
:good: I did fixed the problem however and I think this may help those who tried everthing else above. The problem is simple and lies in a short CSC line of code.
If your phone is rooted and have superuser you can use a program like "ES File Explorer" with superuser permission to browse the files on your phone. Simply navagate to the root of your phone then go to "system" folder, then to "csc" folder, then open the "feature.xml" file using a text editor with superuser access. (ROOT/SYSTEM/CSC/feature.xml)
Down close to the bottom of text in the "feature.xml" file you will see this:
<!-- Email -->
<CscFeature_Email_UseFixedBgColorAsWhite>false
</CscFeature_Email_UseFixedBgColorAsWhite>
If this is the case you found out why your email app is black. Simply change the text "false" to "true". Save the file, and your done.
I actually closed my email app, cleared cache, cleared data, then I edited the text and saved. So I would recomend doing that first but you would have to re enter your email account info so it may work without clearing the data of your email app.
Hope this helps those who tried other means like changing settings.

Editing the look inside an app?

I'm running hyperdrive RLS 19 (which more than likely doesn't matter)... I was wondering how to edit the look of an app.. When I say that I don't necessarily mean the icon or the the title. I actually mean like the look inside the app. I am fairly new to android development. I'm a noob of sorts. I came from using ios . in iOS you can literally locate the image files in the file manager and pull them directly from you phone and edit them. Can you do that on android. For instance if I wanted to change the look inside my messaging app. Let's say I wanted to change the background color, and also the font color only inside that app to red and I also wanted to change the way the listed conversations that appear, look (the way the boxes their separated into look). This forum is specifically for the galaxy s4 so assuming you have one. Just look at your default messaging app and look how the messages are separated into rectangles by conversation if you are unclear of what I mean by the rectangle thing. Sorry for such a long post. How can I make this happen.

[Q]How to identify drawable name/id on running app?

Hi! I'm new into creating themes, and I'm looking for a tool that could make it easier. I know how to extract .apk, how to replace images, modify .xmls, but often I don't know what an image is for. Let's say im modding SystemUI and I want to change background of my notification bar. The only thing I know is that inside drawables folder I have to look for something named notification_bar.png, something like that. I was looking for an app that could tell me how an image inside an app is called in code ( example: I'm inside calculator app, I press on background and the app says that file is called background.png and is inside drawables-xxhdpi). I tried Android Studio --> Layout Inspector, but it didn't help me at all because, well, I just don't understand it.
Of course, while modifying SystemUI I can look for explaination of certain pngs on the internet, but
-not every SystemUI is the same
- if I want to change drawables of an app that doesn't have specific explaination I have to know how to identify drawables.
It must be possible somehow, because I've run into some themes that modify external apps (like WhatsApp, SuperSU etc.)
Those ppl had to know what certain .png is for, the question is: How?
I don't believe they just had to sit there and try every possible combination.
Also, inside SystemUI there's A LOT of files that are never used, and their names can be misleading.
Is there any way to identify drawable inside running app easily? Without digging in code and guessing?
Thanks in advance for any answer
I tried to analyze Mms.apk (it's system app). I was looking for a drawable representing default contact icon, here called ic_contact_picture.png .
I actually managed to find a proper layer in Layout Inspector(ConversationListItem.xml), analyzed it and found a code referring to table "id" in resources.arsc . The object the id referred to was called "avatar". And that's it. I couldn't find id(I got it from resources.arsc/drawables) of ic_contact_picture.png anywhere in that layout. There was only id referring to "id/avatar". It doesn't make any sense.
How do I find drawables using Layout Inspector or any other tool?
It was easier when it came to text. I also found an id referring to resources.arsc/id, but that id was included in the layer I was looking at (ConversationListItem.xml).
But I still wasn't able to perform any action on that text, because there wasn't any setting like text color or anything, there was just a line android:textAppearance="@attr/0x1010041"
It is an attrib from framework-res.apk, but when I opened framework-res.apk and found that attrib there was no reference to anything like color, font, so there was nothing I could really do.
Can someone help me with those 2 problems?

Please Can Android Home screen Widget written in Kotlin load files from app's fold?

ok i will try to explain as precise as possible
I made Android Kotlin app for learning chemical compounds. My app has a full UI where user can add his chem compounds( and they are stored in a file "compounds.txt" in the app's folder) and also app is kinda testing user by asking some questions. When you open that file "compounds.txt", it looks something like this:
Ethanol=C2H5OH
Methanol=CH3OH
Hydrogen Peroxide=H2O2
Baking Soda=NaHCO3
etc...
So... I made all this, and it works and is ok.
What I would like now?
I would like to make a home screen widget which will be like a "random test" (or "random reminder") for a user when he is not even using my app.
Example: I add my widget on my home screen next to a clock...My widget is sitting there on home screen... and I am like... I take my phone.. I make a phone call... finish the call.. and then i see on my widget written "H2SO4"..
If I know what is a H2SO4.. then cool.. I dont do anything... i just continue my life...
But... if i cant remember what is H2SO4 i would just like to click the button on my widget (or not even a button. I can click directly TextView field) and then instead of "H2SO4" will be written "Sulfuric acid"
But... I would not like when I click button on my widget, that appears main UI of my app. Simple click on a widget should just toggle text between "H2SO4" and "Sulfuric acid"
Now... the question is... How to do this?
If i have 2 KT files MainActivity.kt and Widget.kt, and if i am able somehow with Widget.kt to load file "compounds.txt" then excellent. That would be the easiest way i think. Just load file... Split lines... and every 30 min..just change the text on widget...
But... If widget.kt can't load "compounds.txt" then what would be the next best solution for me?
I am very sorry for my long text. English is not my native language, so it is difficult for me to express myself

Categories

Resources