Commit e6e7e7e4 authored by 0xd9a's avatar 0xd9a
Browse files

Add a language indicator to status (close #552)

parent 6c225e2d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1380,6 +1380,10 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
            } else {
                holder.binding.app.setVisibility(View.GONE);
            }
            if (statusToDeal.language != null) {
                holder.binding.language.setText(statusToDeal.language.toUpperCase());
                holder.binding.language.setVisibility(View.VISIBLE);
            } else holder.binding.language.setVisibility(View.VISIBLE);

        } else {
            holder.binding.app.setVisibility(View.GONE);
+7 −0
Original line number Diff line number Diff line
@@ -590,6 +590,13 @@
                    app:iconTint="?attr/colorControlNormal"
                    tools:text="10" />

                <androidx.appcompat.widget.AppCompatTextView
                    android:id="@+id/language"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginHorizontal="12dp"
                    tools:text="EN" />

                <View
                    android:layout_width="0dp"
                    android:layout_height="0dp"