aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/values/strings.xml1
-rw-r--r--src/eu/siacs/conversations/ui/ConversationFragment.java7
2 files changed, 8 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index e542b58e..effea43b 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -274,4 +274,5 @@
<string name="leave">Leave</string>
<string name="contact_added_you">Contact added you to contact list</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>
diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java
index 546d039e..2a306529 100644
--- a/src/eu/siacs/conversations/ui/ConversationFragment.java
+++ b/src/eu/siacs/conversations/ui/ConversationFragment.java
@@ -494,6 +494,13 @@ public class ConversationFragment extends Fragment {
getActivity()
.getApplicationContext()));
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;