• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Eclipse problem: clicking and nothing happening

Dec One

Lurker
I'm having problems with the properties tab in main.xml. I click on (for example) a TextView, then in the Properties tab I scroll down to the Text property. It is set to a value of @string/hello. I click that value, and a button with three dots (...) appears next to it. When I click that button, I'm supposed to get a list of available string resources from which to choose. Instead, when I click on it, nothing happens. This is happening in any of the Properties I try. What can I do?

I'm using Eclipse 3.5.2 on Ubuntu 10.04. I have tried:
  • closing and reopening the Properties tab
  • restarting Eclipse
  • restarting the computer
  • starting a new Android project

I have a Windows installation of Eclipse with the Android SDK, and this problem is not happening there. But I want it to work on Ubuntu!
 
Do you have a file named strings.xml (exactly like that.. case-sensitive) in your values folder?

If so, do you have the proper XML tags setup?

i.e.
<resources>
<string name = "string-name">String</string>
</resources>

Also, you need the standard xml header at the top defining the UTF-8 encoding, etc...
 
Yup, it's there. It was automatically generated. (In one project I created to test this problem, I haven't changed it at all).

I'm curious to know if anyone else running Ubuntu 10.04 is having this problem.
 
I'm not at my Ubuntu computer right now to verify, but I think the solution is to click the three-dot button and then hit the space bar.
 
Back
Top Bottom