|
|
@ -419,7 +419,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
private TextView tvStoredTitle;
|
|
|
|
private TextView tvStoredTitle;
|
|
|
|
private TextView tvSizeExTitle;
|
|
|
|
private TextView tvSizeExTitle;
|
|
|
|
private TextView tvLanguageTitle;
|
|
|
|
private TextView tvLanguageTitle;
|
|
|
|
private TextView tvThreadTitle;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private TextView tvSignedBy;
|
|
|
|
private TextView tvSignedBy;
|
|
|
|
private TextView tvSubmitter;
|
|
|
|
private TextView tvSubmitter;
|
|
|
@ -435,7 +434,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
private TextView tvStored;
|
|
|
|
private TextView tvStored;
|
|
|
|
private TextView tvSizeEx;
|
|
|
|
private TextView tvSizeEx;
|
|
|
|
private TextView tvLanguage;
|
|
|
|
private TextView tvLanguage;
|
|
|
|
private TextView tvThread;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private TextView tvSubjectEx;
|
|
|
|
private TextView tvSubjectEx;
|
|
|
|
private TextView tvFlags;
|
|
|
|
private TextView tvFlags;
|
|
|
@ -831,7 +829,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
tvStoredTitle = vsBody.findViewById(R.id.tvStoredTitle);
|
|
|
|
tvStoredTitle = vsBody.findViewById(R.id.tvStoredTitle);
|
|
|
|
tvSizeExTitle = vsBody.findViewById(R.id.tvSizeExTitle);
|
|
|
|
tvSizeExTitle = vsBody.findViewById(R.id.tvSizeExTitle);
|
|
|
|
tvLanguageTitle = vsBody.findViewById(R.id.tvLanguageTitle);
|
|
|
|
tvLanguageTitle = vsBody.findViewById(R.id.tvLanguageTitle);
|
|
|
|
tvThreadTitle = vsBody.findViewById(R.id.tvThreadTitle);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tvSignedBy = vsBody.findViewById(R.id.tvSignedBy);
|
|
|
|
tvSignedBy = vsBody.findViewById(R.id.tvSignedBy);
|
|
|
|
tvSubmitter = vsBody.findViewById(R.id.tvSubmitter);
|
|
|
|
tvSubmitter = vsBody.findViewById(R.id.tvSubmitter);
|
|
|
@ -847,7 +844,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
tvStored = vsBody.findViewById(R.id.tvStored);
|
|
|
|
tvStored = vsBody.findViewById(R.id.tvStored);
|
|
|
|
tvSizeEx = vsBody.findViewById(R.id.tvSizeEx);
|
|
|
|
tvSizeEx = vsBody.findViewById(R.id.tvSizeEx);
|
|
|
|
tvLanguage = vsBody.findViewById(R.id.tvLanguage);
|
|
|
|
tvLanguage = vsBody.findViewById(R.id.tvLanguage);
|
|
|
|
tvThread = vsBody.findViewById(R.id.tvThread);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tvSubjectEx = vsBody.findViewById(R.id.tvSubjectEx);
|
|
|
|
tvSubjectEx = vsBody.findViewById(R.id.tvSubjectEx);
|
|
|
|
tvFlags = vsBody.findViewById(R.id.tvFlags);
|
|
|
|
tvFlags = vsBody.findViewById(R.id.tvFlags);
|
|
|
@ -1762,7 +1758,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
tvStoredTitle.setVisibility(View.GONE);
|
|
|
|
tvStoredTitle.setVisibility(View.GONE);
|
|
|
|
tvSizeExTitle.setVisibility(View.GONE);
|
|
|
|
tvSizeExTitle.setVisibility(View.GONE);
|
|
|
|
tvLanguageTitle.setVisibility(View.GONE);
|
|
|
|
tvLanguageTitle.setVisibility(View.GONE);
|
|
|
|
tvThreadTitle.setVisibility(View.GONE);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tvSignedBy.setVisibility(View.GONE);
|
|
|
|
tvSignedBy.setVisibility(View.GONE);
|
|
|
|
tvSubmitter.setVisibility(View.GONE);
|
|
|
|
tvSubmitter.setVisibility(View.GONE);
|
|
|
@ -1778,7 +1773,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
tvStored.setVisibility(View.GONE);
|
|
|
|
tvStored.setVisibility(View.GONE);
|
|
|
|
tvSizeEx.setVisibility(View.GONE);
|
|
|
|
tvSizeEx.setVisibility(View.GONE);
|
|
|
|
tvLanguage.setVisibility(View.GONE);
|
|
|
|
tvLanguage.setVisibility(View.GONE);
|
|
|
|
tvThread.setVisibility(View.GONE);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tvSubjectEx.setVisibility(View.GONE);
|
|
|
|
tvSubjectEx.setVisibility(View.GONE);
|
|
|
|
tvFlags.setVisibility(View.GONE);
|
|
|
|
tvFlags.setVisibility(View.GONE);
|
|
|
@ -2684,11 +2678,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
tvLanguage.setVisibility(showLanguage ? View.VISIBLE : View.GONE);
|
|
|
|
tvLanguage.setVisibility(showLanguage ? View.VISIBLE : View.GONE);
|
|
|
|
tvLanguage.setText(message.language == null ? null : new Locale(message.language).getDisplayLanguage());
|
|
|
|
tvLanguage.setText(message.language == null ? null : new Locale(message.language).getDisplayLanguage());
|
|
|
|
|
|
|
|
|
|
|
|
boolean show_thread = (show_addresses && (BuildConfig.DEBUG || debug));
|
|
|
|
|
|
|
|
tvThreadTitle.setVisibility(show_thread ? View.VISIBLE : View.GONE);
|
|
|
|
|
|
|
|
tvThread.setVisibility(show_thread ? View.VISIBLE : View.GONE);
|
|
|
|
|
|
|
|
tvThread.setText(message.thread);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tvSubjectEx.setVisibility(show_addresses ? View.VISIBLE : View.GONE);
|
|
|
|
tvSubjectEx.setVisibility(show_addresses ? View.VISIBLE : View.GONE);
|
|
|
|
tvSubjectEx.setText(message.subject);
|
|
|
|
tvSubjectEx.setText(message.subject);
|
|
|
|
boolean homoSubject = TextHelper.isSingleScript(message.subject);
|
|
|
|
boolean homoSubject = TextHelper.isSingleScript(message.subject);
|
|
|
@ -2730,7 +2719,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
tvStored.setTextIsSelectable(false);
|
|
|
|
tvStored.setTextIsSelectable(false);
|
|
|
|
tvSizeEx.setTextIsSelectable(false);
|
|
|
|
tvSizeEx.setTextIsSelectable(false);
|
|
|
|
tvLanguage.setTextIsSelectable(false);
|
|
|
|
tvLanguage.setTextIsSelectable(false);
|
|
|
|
tvThread.setTextIsSelectable(false);
|
|
|
|
|
|
|
|
tvSubject.setTextIsSelectable(false);
|
|
|
|
tvSubject.setTextIsSelectable(false);
|
|
|
|
tvFlags.setTextIsSelectable(false);
|
|
|
|
tvFlags.setTextIsSelectable(false);
|
|
|
|
tvKeywordsEx.setTextIsSelectable(false);
|
|
|
|
tvKeywordsEx.setTextIsSelectable(false);
|
|
|
@ -2749,7 +2737,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
tvStored.setTextIsSelectable(tvStored.getVisibility() == View.VISIBLE);
|
|
|
|
tvStored.setTextIsSelectable(tvStored.getVisibility() == View.VISIBLE);
|
|
|
|
tvSizeEx.setTextIsSelectable(tvSizeEx.getVisibility() == View.VISIBLE);
|
|
|
|
tvSizeEx.setTextIsSelectable(tvSizeEx.getVisibility() == View.VISIBLE);
|
|
|
|
tvLanguage.setTextIsSelectable(tvLanguage.getVisibility() == View.VISIBLE);
|
|
|
|
tvLanguage.setTextIsSelectable(tvLanguage.getVisibility() == View.VISIBLE);
|
|
|
|
tvThread.setTextIsSelectable(tvThread.getVisibility() == View.VISIBLE);
|
|
|
|
|
|
|
|
tvSubjectEx.setTextIsSelectable(tvSubjectEx.getVisibility() == View.VISIBLE);
|
|
|
|
tvSubjectEx.setTextIsSelectable(tvSubjectEx.getVisibility() == View.VISIBLE);
|
|
|
|
tvFlags.setTextIsSelectable(tvFlags.getVisibility() == View.VISIBLE);
|
|
|
|
tvFlags.setTextIsSelectable(tvFlags.getVisibility() == View.VISIBLE);
|
|
|
|
tvKeywordsEx.setTextIsSelectable(tvKeywordsEx.getVisibility() == View.VISIBLE && keywords_header);
|
|
|
|
tvKeywordsEx.setTextIsSelectable(tvKeywordsEx.getVisibility() == View.VISIBLE && keywords_header);
|
|
|
|