added hint to explain the contact has read up to this point

This commit is contained in:
iNPUTmice 2014-07-21 19:54:26 +02:00
parent a787f58a90
commit b223784560
2 changed files with 8 additions and 0 deletions

View file

@ -274,4 +274,5 @@
<string name="leave">Leave</string> <string name="leave">Leave</string>
<string name="contact_added_you">Contact added you to contact list</string> <string name="contact_added_you">Contact added you to contact list</string>
<string name="add_back">Add back</string> <string name="add_back">Add back</string>
<string name="contact_has_read_up_to_this_point">Your contact has read up to this point</string>
</resources> </resources>

View file

@ -494,6 +494,13 @@ public class ConversationFragment extends Fragment {
getActivity() getActivity()
.getApplicationContext())); .getApplicationContext()));
viewHolder.contact_picture.setAlpha(128); viewHolder.contact_picture.setAlpha(128);
viewHolder.contact_picture.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
Toast.makeText(getActivity(), R.string.contact_has_read_up_to_this_point, Toast.LENGTH_SHORT).show();
}
});
} }
break; break;