I would modify the items generated by eclipse in the master/detail schema. I can\'t find a way to do this. In particular I would take the items from an xml (res/values/array
This is something that worked for me, not sure if it is the best practice.
Remove the static block and on the ItemListActivity.java
on the Oncreate
add this code
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (DummyContent.ITEMS.isEmpty())
{
DummyContent.addItem(new DummyItem("1", getResources().getString(R.string.menu1)));
DummyContent.addItem(new DummyItem("2", getResources().getString(R.string.menu2)));
DummyContent.addItem(new DummyItem("3", getResources().getString(R.string.menu3)));
}
Hope this helps