correction bug avatar in the chat view
authorVincent V. <marseille@beem-project.com>
Sun, 02 Sep 2012 12:21:00 +0200
changeset 951 05f85ae9bae6
parent 950 03356904269c
child 952 16cadee6ac6d
correction bug avatar in the chat view
src/com/beem/project/beem/ui/Chat.java
--- a/src/com/beem/project/beem/ui/Chat.java	Tue Aug 21 13:22:19 2012 +0200
+++ b/src/com/beem/project/beem/ui/Chat.java	Sun Sep 02 12:21:00 2012 +0200
@@ -135,11 +135,11 @@
 	setContentView(R.layout.chat);
 	TextView ContactNameTextView = (TextView) findViewById(R.id.chat_contact_name);
 	ContactNameTextView.setText(mjid);
-	TextView ContactStatusMsgTextView = (TextView) findViewById(R.id.chat_contact_status_msg);
-	TextView ContactChatStateTextView = (TextView) findViewById(R.id.chat_contact_chat_state);
-	ImageView ContactStatusIcon = (ImageView) findViewById(R.id.chat_contact_status_icon);
-	LayerDrawable AvatarStatusDrawable = (LayerDrawable) ContactStatusIcon.getDrawable();
-	AvatarStatusDrawable.setLayerInset(1, 36, 36, 0, 0);
+//	TextView ContactStatusMsgTextView = (TextView) findViewById(R.id.chat_contact_status_msg);
+//	TextView ContactChatStateTextView = (TextView) findViewById(R.id.chat_contact_chat_state);
+//	ImageView ContactStatusIcon = (ImageView) findViewById(R.id.chat_contact_status_icon);
+//	LayerDrawable AvatarStatusDrawable = (LayerDrawable) ContactStatusIcon.getDrawable();
+//	AvatarStatusDrawable.setLayerInset(1, 36, 36, 0, 0);
 
 	final Cursor cursorMessage = getContentResolver().query(Messages.CONTENT_URI,
 	    new String[] { Messages._ID, Messages.TO, Messages.FROM, Messages.DATE_READ, Messages.BODY },