My code:
TextView tv = new TextView(this);
final EditText newPositionName = new EditText(this);
newPositionName.setImeOptions(EditorInfo.IME_ACTION_SEARCH);
newPositionName.setBackgroundColor(Color.TRANSPARENT);
I can't understand why setImeOptions doesn't work! setBackgroundColor works fine. Same for setTextSize. I've:
private Vector<TextView> ranking = new Vector<TextView>();
...
for(int i = 0; i < 5; i++){
ranking.add(new TextView(this));
ranking.lastElement().setTextSize(30);
}
But text size doesn't change.