aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-07-21 19:54:26 +0200
committeriNPUTmice <daniel@gultsch.de>2014-07-21 19:54:26 +0200
commitb223784560be1804163fe6bec02aba02b2093b41 (patch)
tree76e95d82451fa3556d54d7f28363314713ee8664
parenta787f58a9075f8fa29703b6c1ab89ba5e1a0addf (diff)
added hint to explain the contact has read up to this point
Diffstat (limited to '')
-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;