contactsView.setVerticalScrollBarEnabled(true);
contactsView.setLayoutParams(new ViewGroup.LayoutParams(
ViewGroup.LayoutParams.FILL_PARENT, 300));
linearLayout.addView(contactsView);
} else {
TextView textView = new TextView(this);
textView.setText("No contacts found.");
linearLayout.addView(textView);
}
final FriendListActivity activity = this;