mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-28 13:46:21 +00:00
Fixed unmute conversation overlapping other label depending on translation size
This commit is contained in:
parent
0ef4a4ba66
commit
8590ec268f
1 changed files with 10 additions and 6 deletions
|
|
@ -242,10 +242,12 @@
|
|||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/mute_label"
|
||||
style="@style/default_text_style"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:onClick="@{() -> viewModel.toggleMute()}"
|
||||
android:text="@{viewModel.isMuted ? @string/conversation_action_unmute : @string/conversation_action_mute, default=@string/conversation_action_mute}"
|
||||
android:textSize="14sp"
|
||||
|
|
@ -254,8 +256,8 @@
|
|||
android:ellipsize="end"
|
||||
android:labelFor="@id/mute"
|
||||
android:visibility="@{viewModel.isReadOnly ? View.GONE : View.VISIBLE}"
|
||||
app:layout_constraintStart_toStartOf="@id/mute"
|
||||
app:layout_constraintEnd_toEndOf="@id/mute"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/call_label"
|
||||
app:layout_constraintTop_toBottomOf="@id/mute"
|
||||
app:layout_constraintBottom_toBottomOf="parent" />
|
||||
|
||||
|
|
@ -314,10 +316,12 @@
|
|||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/meeting_label"
|
||||
style="@style/default_text_style"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:onClick="@{() -> viewModel.scheduleMeeting()}"
|
||||
android:text="@string/meeting_schedule_meeting_label"
|
||||
android:textSize="14sp"
|
||||
|
|
@ -326,8 +330,8 @@
|
|||
android:ellipsize="end"
|
||||
android:labelFor="@id/meeting"
|
||||
android:visibility="@{viewModel.isReadOnly ? View.GONE : View.VISIBLE}"
|
||||
app:layout_constraintStart_toStartOf="@id/meeting"
|
||||
app:layout_constraintEnd_toEndOf="@id/meeting"
|
||||
app:layout_constraintStart_toEndOf="@id/call_label"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/meeting"
|
||||
app:layout_constraintBottom_toBottomOf="parent" />
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue