ADT requires ‘org.eclipse.wst.sse.core 0.0.0’ but it could not be found

I’ve just encountered exactly the same problem in Eclipse 3.6 (Helios). After plenty of Googling I came across this link: http://code.google.com/intl/es/eclipse/docs/faq.html#wstinstallerror During installation, there’s an error about requiring org.eclipse.wst.sse.ui. How do I fix that? The Google Plugin for Eclipse depends on other specific Eclipse components, such as WST. Your installation of Eclipse may not yet … Read more

How to programmatically set drawableLeft on Android button?

You can use the setCompoundDrawables method to do this. See the example here. I used this without using the setBounds and it worked. You can try either way. UPDATE: Copying the code here incase the link goes down Drawable img = getContext().getResources().getDrawable(R.drawable.smiley); img.setBounds(0, 0, 60, 60); txtVw.setCompoundDrawables(img, null, null, null); or Drawable img = getContext().getResources().getDrawable(R.drawable.smiley); … Read more