More plurals: decimal values
In my previous post, I showed you how to set string plurals. If you noticed, the methods to get the plurals strings only accept int
s. What if (like me) you want to display a decimal value? I am getting my raw value from a progress bar with a range of 1-10, with 0.1 increments.
String Pluralization
Last week, I discovered Android’s support for plural strings by accident. And a good accident it was since I am working on an app that will display a float to the user. I used to display:
Importing existing Android projects to Eclipse
When trying to import an existing Android project to Eclipse, I always encounter the error: The method *XXXXX* must override a superclass method
.
It’s so fluffyyyyyyyyy!!!
<img src=http://www.despicable.me/pops/minionMaker/userpics/910156207.jpg width=”380” height=”473” alt=”I’ve created a Minion to join Gru’s Minion army.” />
Quick string resource formatting
Sooner or later, you would want to display a message to your user with dynamic content. This may be the number of results, the user’s name, etc.
A test, a test
I was thinking of starting a quick-tips style blog for software development (mostly for myself, since I tend to forget stuff a lot recently).