diff --git a/res/drawable-xxxhdpi/inbox_zero.png b/res/drawable-xxxhdpi/inbox_zero.png deleted file mode 100644 index 29f774e7b..000000000 Binary files a/res/drawable-xxxhdpi/inbox_zero.png and /dev/null differ diff --git a/res/layout/conversation_list_item_inbox_zero.xml b/res/layout/conversation_list_item_inbox_zero.xml index 760cbfae8..bceb11403 100644 --- a/res/layout/conversation_list_item_inbox_zero.xml +++ b/res/layout/conversation_list_item_inbox_zero.xml @@ -6,26 +6,15 @@ android:layout_height="wrap_content" android:paddingTop="30dp"> - - - - - - + android:text="@string/chat_all_archived"/> \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 67860c29a..875d881a9 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -209,8 +209,7 @@ Slide to cancel Tap and hold to record a voice message, release to send Give your inbox something to write home about. Get started by messaging a friend. - Inbox zeeerrro - Zip. Zilch. Zero. Nada.\nYou\'re all caught up! + All chats archived.\nPress %1$s to start a new chat. Share with Message Archived @@ -637,6 +636,9 @@ QR invite code Scan this to join the group \"%1$s\". + + Inbox zeeerrro + Zip. Zilch. Zero. Nada.\nYou\'re all caught up! diff --git a/src/org/thoughtcrime/securesms/ConversationListItemInboxZero.java b/src/org/thoughtcrime/securesms/ConversationListItemInboxZero.java index f04c25212..20448c510 100644 --- a/src/org/thoughtcrime/securesms/ConversationListItemInboxZero.java +++ b/src/org/thoughtcrime/securesms/ConversationListItemInboxZero.java @@ -8,11 +8,13 @@ import android.support.annotation.Nullable; import android.support.annotation.RequiresApi; import android.util.AttributeSet; import android.widget.LinearLayout; +import android.widget.TextView; import com.b44t.messenger.DcLot; import org.thoughtcrime.securesms.database.model.ThreadRecord; import org.thoughtcrime.securesms.mms.GlideRequests; +import org.thoughtcrime.securesms.util.ViewUtil; import java.util.Locale; import java.util.Set; @@ -42,6 +44,9 @@ public class ConversationListItemInboxZero extends LinearLayout implements Binda @Override public void bind(@NonNull ThreadRecord thread, int msgId, @NonNull DcLot dcSummary, @NonNull GlideRequests glideRequests, @NonNull Locale locale, @NonNull Set selectedThreads, boolean batchMode) { - + TextView t = ViewUtil.findById(this, R.id.all_archived_text); + if(t!=null) { + t.setText(getContext().getString(R.string.chat_all_archived, "+")); + } } }