# HG changeset patch # User Vincent V. # Date 1346581260 -7200 # Node ID 05f85ae9bae6fd899dd3804b5f459225535a8b1f # Parent 03356904269cf13b38a2a993d7e572068878c7d2 correction bug avatar in the chat view diff -r 03356904269c -r 05f85ae9bae6 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 },