Search in sources :

Example 1 with DeliveryStatusView

use of org.thoughtcrime.securesms.components.DeliveryStatusView in project deltachat-android by deltachat.

the class ConversationUpdateItem method onFinishInflate.

@Override
public void onFinishInflate() {
    super.onFinishInflate();
    initializeAttributes();
    bodyText = findViewById(R.id.conversation_update_body);
    deliveryStatusView = new DeliveryStatusView(findViewById(R.id.delivery_indicator));
    bodyText.setOnLongClickListener(passthroughClickListener);
    bodyText.setOnClickListener(passthroughClickListener);
}
Also used : DeliveryStatusView(org.thoughtcrime.securesms.components.DeliveryStatusView)

Example 2 with DeliveryStatusView

use of org.thoughtcrime.securesms.components.DeliveryStatusView in project deltachat-android by deltachat.

the class ConversationListItem method onFinishInflate.

@Override
protected void onFinishInflate() {
    super.onFinishInflate();
    this.subjectView = findViewById(R.id.subject);
    this.fromView = findViewById(R.id.from_text);
    this.dateView = findViewById(R.id.date);
    this.deliveryStatusIndicator = new DeliveryStatusView(findViewById(R.id.delivery_indicator));
    this.contactPhotoImage = findViewById(R.id.contact_photo_image);
    this.archivedBadgeView = findViewById(R.id.archived_badge);
    this.requestBadgeView = findViewById(R.id.request_badge);
    this.unreadIndicator = findViewById(R.id.unread_indicator);
    ViewUtil.setTextViewGravityStart(this.fromView, getContext());
    ViewUtil.setTextViewGravityStart(this.subjectView, getContext());
}
Also used : DeliveryStatusView(org.thoughtcrime.securesms.components.DeliveryStatusView)

Aggregations

DeliveryStatusView (org.thoughtcrime.securesms.components.DeliveryStatusView)2