1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-04 16:35:05 -05:00

ServersActivity: Use the icon as centered background

This commit is contained in:
Sebastian Kaspari 2010-03-17 21:54:43 +01:00
parent 97b5467897
commit ca4a207b50

View File

@ -44,6 +44,7 @@ import org.yaaic.adapter.ServerListAdapter;
import org.yaaic.db.Database;
import org.yaaic.irc.IRCBinder;
import org.yaaic.irc.IRCService;
import org.yaaic.layout.NonScalingBackgroundDrawable;
import org.yaaic.listener.ServerListener;
import org.yaaic.model.Broadcast;
import org.yaaic.model.Server;
@ -75,6 +76,7 @@ public class ServersActivity extends ListActivity implements ServiceConnection,
setListAdapter(adapter);
getListView().setOnItemLongClickListener(this);
getListView().setBackgroundDrawable(new NonScalingBackgroundDrawable(this, getListView(), R.drawable.icon));
}
/**