Как программно изменить layout_width элемента TextView?
Делаю так
Код: Выделить всё
TextView myTextView = (TextView) findViewById(R.id.ob22);
myTextView.setWidth(50);
myTextView.setHeight(50);
Код: Выделить всё
TextView myTextView = (TextView) findViewById(R.id.ob22);
myTextView.setWidth(50);
myTextView.setHeight(50);