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 85e24d50d..cd1497cdc 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/ParticipantsAdapter.java +++ b/app/src/main/java/com/nextcloud/talk/adapters/ParticipantsAdapter.java @@ -143,11 +143,17 @@ public class ParticipantsAdapter extends BaseAdapter { if (!participantDisplayItem.isAudioEnabled()) { audioOffView.setVisibility(View.VISIBLE); } else { - audioOffView.setVisibility(View.INVISIBLE); + audioOffView.setVisibility(View.GONE); + } + + ImageView raisedHandView = convertView.findViewById(R.id.raised_hand); + if (participantDisplayItem.getRaisedHand() != null && participantDisplayItem.getRaisedHand().getState()) { + raisedHandView.setVisibility(View.VISIBLE); + } else { + raisedHandView.setVisibility(View.GONE); } return convertView; - } private boolean hasVideoStream(ParticipantDisplayItem participantDisplayItem, MediaStream mediaStream) { diff --git a/app/src/main/res/drawable/ic_hand_back_left.xml b/app/src/main/res/drawable/ic_hand_back_left.xml index b20d3defc..01aa6a40e 100644 --- a/app/src/main/res/drawable/ic_hand_back_left.xml +++ b/app/src/main/res/drawable/ic_hand_back_left.xml @@ -20,6 +20,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/layout/call_item.xml b/app/src/main/res/layout/call_item.xml index 8b87a7eac..9d5e52547 100644 --- a/app/src/main/res/layout/call_item.xml +++ b/app/src/main/res/layout/call_item.xml @@ -23,7 +23,6 @@ --> - + android:orientation="horizontal" + android:layout_alignParentBottom="true"> - + + + + + +