# HG changeset patch # User Vincent V. # Date 1347462647 -7200 # Node ID 16cadee6ac6d221aa5c48968480bc3fb7361c400 # Parent 05f85ae9bae6fd899dd3804b5f459225535a8b1f correction bug avatar in the muc chat view diff -r 05f85ae9bae6 -r 16cadee6ac6d src/com/beem/project/beem/ui/MucChat.java --- a/src/com/beem/project/beem/ui/MucChat.java Sun Sep 02 12:21:00 2012 +0200 +++ b/src/com/beem/project/beem/ui/MucChat.java Wed Sep 12 17:10:47 2012 +0200 @@ -124,11 +124,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 },