diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/MoreCallActionsDialog.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/MoreCallActionsDialog.kt index 22850892a2..fae07ab3e1 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/MoreCallActionsDialog.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/MoreCallActionsDialog.kt @@ -96,9 +96,8 @@ class MoreCallActionsDialog(private val callActivity: CallActivity) : BottomShee capabilities?.spreedCapability?.config!!["call"]!!["supported-reactions"] as ArrayList<*> val param = LinearLayout.LayoutParams( - LinearLayout.LayoutParams.MATCH_PARENT, - LinearLayout.LayoutParams.MATCH_PARENT, - 1.0f + EMOJI_WIDTH, + LinearLayout.LayoutParams.MATCH_PARENT ) availableReactions.forEach { @@ -185,5 +184,6 @@ class MoreCallActionsDialog(private val callActivity: CallActivity) : BottomShee companion object { private const val TAG = "MoreCallActionsDialog" private const val TEXT_SIZE = 20f + private const val EMOJI_WIDTH = 80 } } diff --git a/app/src/main/res/layout/dialog_more_call_actions.xml b/app/src/main/res/layout/dialog_more_call_actions.xml index 2bc62e2a73..74df6cf985 100644 --- a/app/src/main/res/layout/dialog_more_call_actions.xml +++ b/app/src/main/res/layout/dialog_more_call_actions.xml @@ -18,18 +18,26 @@ android:layout_width="match_parent" android:layout_height="wrap_content" /> - - + android:requiresFadingEdge="horizontal" + android:scrollbars="none"> + + + + +