No longer display events' time

This commit is contained in:
Sylvain Berfini 2017-11-13 10:48:35 +01:00
parent a1c6304280
commit 3cf1d10c49
3 changed files with 5 additions and 5 deletions

View file

@ -29,7 +29,7 @@
android:src="@drawable/event_gray" android:src="@drawable/event_gray"
android:scaleType="fitXY"/> android:scaleType="fitXY"/>
<TextView <!--<TextView
android:id="@+id/event_date" android:id="@+id/event_date"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -38,7 +38,7 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text=" - "/> android:text=" - "/>-->
<TextView <TextView
android:id="@+id/event_text" android:id="@+id/event_text"

View file

@ -34,7 +34,7 @@ public class ChatBubbleViewHolder {
public String messageId; public String messageId;
public LinearLayout eventLayout; public LinearLayout eventLayout;
public TextView eventTime; //public TextView eventTime;
public TextView eventMessage; public TextView eventMessage;
public RelativeLayout bubbleLayout; public RelativeLayout bubbleLayout;
@ -63,7 +63,7 @@ public class ChatBubbleViewHolder {
public ChatBubbleViewHolder(View view) { public ChatBubbleViewHolder(View view) {
eventLayout = view.findViewById(R.id.event); eventLayout = view.findViewById(R.id.event);
eventTime = view.findViewById(R.id.event_date); //eventTime = view.findViewById(R.id.event_date);
eventMessage = view.findViewById(R.id.event_text); eventMessage = view.findViewById(R.id.event_text);
bubbleLayout = view.findViewById(R.id.bubble); bubbleLayout = view.findViewById(R.id.bubble);

View file

@ -397,7 +397,7 @@ public class ChatEventsAdapter extends BaseAdapter implements ChatMessageListene
//TODO //TODO
break; break;
} }
holder.eventTime.setText(LinphoneUtils.timestampToHumanDate(mContext, event.getTime(), R.string.messages_date_format)); //holder.eventTime.setText(LinphoneUtils.timestampToHumanDate(mContext, event.getTime(), R.string.messages_date_format));
} }
return view; return view;