试图增加java中edittextfield的大小..我该怎么做。下面是我的代码
final EditText address = new EditText(activity);
if (data.getFavoriteAddress() != null
&& !data.getFavoriteAddress().trim().equals("")) {
address.setText(data.getFavoriteAddress());
} else {
address.setHint(R.string.address);
}