Top "Android-resources" questions

Android resources - framework for providing different layouts or strings for android projects.

format statement in a string resource file

I have strings defined in the usual strings.xml Resource file like this: <string name="hello_world"> HELLO&…

android android-resources
How can I get a resource content from a static context?

I want to read strings from an xml file before I do much of anything else like setText on widgets, …

java android static constants android-resources
Android XML Percent Symbol

I have an array of strings in which the % symbol is used. Proper format for using the % is &#37;. When …

android xml android-resources xliff
Android how to get access to raw resources that i put in res folder?

In J2ME, I've do this like that: getClass().getResourceAsStream("/raw_resources.dat"); But in android, I always get null …

android java-me resources inputstream android-resources
Android ImageView setImageResource in code

I have an imageView that I want to display a little icon of the country that you are currently in. …

android imageview android-resources
Android Studio cannot resolve R in imported project?

I'm trying the new Android Studio. I've exported a project from eclipse, using the build gradle option. I've then imported …

android intellij-idea android-resources android-studio
Lint: How to ignore "<key> is not translated in <language>" errors?

I can't compile/debug our Android app, because the localization files are not perfect yet. My IDE's validation tool Lint …

eclipse android-studio localization android-resources android-lint
How do I get the resource id of an image if I know its name?

How do I get the resource id of an image if I know its name (in Android)?

android android-image android-resources
Android XXHDPI resources

The Google Nexus 10 comes out shortly, and is the first device to use xxhdpi resources. It sports a display density …

android android-resources
Android Raw folders - creation and reference

I'm trying to create a raw folder for my android app which will hold different media files for use later. …

android android-resources