setMyListAdapater();
registerForContextMenu(getListView());
+ getListView().setItemsCanFocus(true);
readableCheckAndError(true);
} else {
button.setEnabled(false);
+ button.setFocusable(false);
}
if (builder.length() != 0) {
builder.append("; ");
DictionaryActivity.getLaunchIntent(getApplicationContext(),
application.getPath(dictionaryInfo.uncompressedFilename),
dictionaryInfo.indexInfos.get(0).shortName, "")));
- row.setFocusable(true);
+ // do not setFocusable, for keyboard navigation
+ // offering only the index buttons is better.
row.setLongClickable(true);
}
row.setBackgroundResource(android.R.drawable.menuitem_background);