public ListAdapter createListAdapter(final Activity activity, final int layoutId, final boolean holoLight) {
final int padding = (int) (12 * activity.getResources().getDisplayMetrics().density + 0.5f);
ListAdapter listadapter = new ArrayAdapter<String>(activity, layoutId, R.id.title,
getItemNames()) {
@Override
<BUG>public View getView(int position, View convertView, ViewGroup parent) {
</BUG>
View v = convertView;
if (v == null) {
v = activity.getLayoutInflater().inflate(layoutId, null);

public ListAdapter createListAdapter(final Activity activity, final int layoutId, final boolean holoLight) {
final int padding = (int) (12 * activity.getResources().getDisplayMetrics().density + 0.5f);
ListAdapter listadapter = new ArrayAdapter<String>(activity, layoutId, R.id.title,
getItemNames()) {
@Override
public View getView(final int position, View convertView, ViewGroup parent) {
View v = convertView;
if (v == null) {
v = activity.getLayoutInflater().inflate(layoutId, null);
