Top "Android-resources" questions

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

Fast ways to import drawables in Android Studio?

At some point in an Android project you will need to import some drawables - be it toolbar icons, images, …

android android-studio android-resources
Android Resources$NotFoundException: Resource ID #0x7f030027

I was working on my android program and when I tried testing it I suddenly started getting an error that …

android android-resources
Storing R.drawable IDs in XML array

I would like to store drawable resources' ID in the form of R.drawable.* inside an array using an XML …

android arrays android-xml android-drawable android-resources
how to get images dynamically from drawable folder

I have an array like this. int image[] = {R.drawable.d002_p001,R.drawable.d002_p002,R.drawable.d002_p003, …

android drawable android-resources
Android: html in strings.xml

I would like display for example this html code: <body> <p><b>Hello World&…

android html xml string android-resources
Android Studio: Creating landscape layouts

Until recently I used Eclipse, and in Eclipse I simply created a folder /res/layout-landscape and put alternate landscape layouts …

android layout android-studio android-resources
How to fix: android.app.RemoteServiceException: Bad notification posted from package *: Couldn't create icon: StatusBarIcon

I'm seeing the following exception in crash logs: android.app.RemoteServiceException: Bad notification posted from package com.my.package: Couldn't …

android android-notifications android-resources android-drawable
About Android image and asset sizes

I need to clarify some doubt about the image assets for my app, if I specify in an xml file …

android android-resources android-image android-screen-support
Android: What is android.R.id.content used for?

Anybody could explain the meaning of "android.R.id.content" ? How is it being used ? http://developer.android.com does …

android android-resources
Get color value programmatically when it's a reference (theme)

Consider this: styles.xml <style name="BlueTheme" parent="@android:style/Theme.Black.NoTitleBar"> <item name="theme_color"&…

android android-resources android-theme