I'm using Total Launcher, from the makers of ssLauncher. It has a weather widget that uses OpenWeatherMap. The default string is %4.1f° and the widget shows Celsius.

I tried every letter in the alphabet in place of the f but most of them said invalid format and none of them gave an expected value.

Is it possible to change the unit to Fahrenheit?


Go to the Total Launcher Options screen, then select Behavior. Towards the bottom is a checkbox to Use US customary units.

| improve this answer | |
  • 2
    Additional note: the f on the string is not for Fahrenheit, but for decimal floating point. If you're interested in modifying the format, take a look at Android (string) Formatter – Andrew T. Mar 17 '16 at 8:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.