Problems with supporting tablets and handsets simultaneously - resources

I just got a Samsung 10.1 tablet and apart from the fact that the screen layout is different and I clearly need to start specifying layout-large etc. I noticed a few other differences.

Can anyone help me with any of these issues (they're quite varied)?

  1. In one of my layout files I reference an icon called facebook_icon which I have stored in my own project's drawable-hdpi folder. This is actually different to the standard facebook icon in the Facebook SDK but even though I'm just using @drawable/facebook_icon and haven't referenced the facebook SDK library from the layout file the image that is displayed on the tablet is the SDK icon and not the one from my own project! Why?


  1. That tablet is MDPI, so the SDK icon is an exact match (because it's in drawable/facebook_icon and your icon is in drawable-hdpi/facebook_icon, and the drawable directory without a qualifier is MDPI.)

Need Your Help

Eclipse: Attach source/javadoc to a library via a local property

java eclipse jar javadoc

I have a third-party library in my SVN repository and I'd like to associate source/javadoc with it locally in Eclipse. I.e., there should be some local setting (for example, an entry in the

Is socket creation-deletion very expensive process?

sockets client-server

I am working on a client/server application. I have ready many articles for this and found a very common statement that "Creation/deletion of socket is very expensive process in terms of using system

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.