project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/PlayerListAdapter.java
changeset 7449 2e63537b44f3
parent 7358 57a508884052
child 7461 38acbfdb484f
--- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/PlayerListAdapter.java	Fri Jul 27 01:38:24 2012 +0200
+++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/PlayerListAdapter.java	Wed Aug 01 20:41:54 2012 +0200
@@ -80,10 +80,7 @@
 		View v = convertView;
 		if (v == null) {
 			LayoutInflater vi = LayoutInflater.from(context);
-			v = vi.inflate(android.R.layout.simple_list_item_1, null);
-			TextView tv = (TextView)v.findViewById(android.R.id.text1);
-			tv.setCompoundDrawablePadding(5);
-			tv.setCompoundDrawablesWithIntrinsicBounds(R.drawable.human, 0, 0, 0);
+			v = vi.inflate(R.layout.listview_player, null);
 		}
 
 		String player = players.get(position).first.name;