How to add new resources subfolder in Eclipse?

by Tom » Wed, 28 Apr 2010 07:37:23 GMT


Sponsored Links
 I need to add a res/drawable-nodpi folder to my Eclipse ADT project.
My project originally contained drawable, drawable-hdpi, drawable-
ldpi, layout, etc subfolders, but no drawable-nodpi. How do I add this
to the automatic resource build process? I tried to manually create
the subfolder and copy files to it, but those resources are not being
auto-generated. How do I make Eclipse utilize the new resources
subfolder?

Thanks,
Tom

--



Other Threads

1. Can I access the object of activity in a view?

> Sorry, still dont know how to get that object in activity. do you have

I recommend that developers learn Java outside of Android before
attempting to tackle Android development.


A View can call getContext() on itself. That will return the View's
Activity. Cast it to the specific Activity class (e.g., YourOwnActivity).
Then call methods on that activity. On the activity, make the object
accessible via a method. Now your Views can access relevant objects inside
YourOwnActivity.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~---------~--~----~------------~-------~--~----~

2. choicemode and list refresh

Hey guys, a couple of thing I find strange about choiceMode.
First of all setting it trough XML doesn't seem to have any effect ,
in my ListActivity I retrieve choiceMode from the list and it's value
is always 0.
Nothing so important I set it through java
getListView().setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
What happens now, and probably is right and I should not care, is that
each time I click on an item the list is completely rebuilt as I can
see from onChildViewAdded in my OnHierarchyChangeListener.
I can't see a reason why this should happen and I don't find it so
good for performance especially if dealing with big list.
Am I doing something wrong?
Thanks

Andrea

--~--~---------~--~----~------------~-------~--~----~

3. 2 mediaplayer using one surfaceview

4. Items in ListView don't get selected using touch

5. Get transformation from Animation

6. tried to throw some lights on the Media player

7. com.android.settings.SecuritySettings - Activity not found exception