Does anyone know how to set/change the android:layout_span=\"\" of an EditText in Android at runtime. I already have the EditText defined in my XML file.
android:layout_span=\"\"
You can use:
TableRow.LayoutParams params = (TableRow.LayoutParams)editText.getLayoutParams(); params.span = toSpan; editText.setLayoutParams(params); // causes layout update