diff --git a/app/src/main/java/com/nextcloud/talk/adapters/ParticipantsAdapter.java b/app/src/main/java/com/nextcloud/talk/adapters/ParticipantsAdapter.java index 20b708ff1..bd09717d6 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/ParticipantsAdapter.java +++ b/app/src/main/java/com/nextcloud/talk/adapters/ParticipantsAdapter.java @@ -8,6 +8,7 @@ import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.LinearLayout; +import android.widget.ProgressBar; import android.widget.RelativeLayout; import android.widget.TextView; @@ -96,6 +97,13 @@ public class ParticipantsAdapter extends BaseAdapter { surfaceViewRenderer = convertView.findViewById(R.id.surface_view); } + ProgressBar progressBar = convertView.findViewById(R.id.participant_progress_bar); + if (!participantDisplayItem.isConnected()) { + progressBar.setVisibility(View.VISIBLE); + } else { + progressBar.setVisibility(View.GONE); + } + ViewGroup.LayoutParams layoutParams = convertView.getLayoutParams(); layoutParams.height = scaleGridViewItemHeight(); convertView.setLayoutParams(layoutParams); diff --git a/app/src/main/res/layout/call_item.xml b/app/src/main/res/layout/call_item.xml index 362b071a8..41f175472 100644 --- a/app/src/main/res/layout/call_item.xml +++ b/app/src/main/res/layout/call_item.xml @@ -71,4 +71,11 @@ android:visibility="invisible" tools:visibility="visible" /> + + diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index c5d27191c..69f5faaaf 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -66,6 +66,7 @@ 180dp 110dp + 48dp 0dp 52dp