Fixed phone number avatar in incoming/outgoing and simple call views
This commit is contained in:
parent
9fbd4fbc40
commit
959f87b425
3 changed files with 4 additions and 1 deletions
|
@ -70,11 +70,12 @@
|
|||
|
||||
<ImageView
|
||||
android:id="@+id/avatar"
|
||||
coilVoipContactAlt="@{callsViewModel.currentCallData}"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_margin="10dp"
|
||||
android:contentDescription="@null"
|
||||
android:background="@drawable/generated_avatar_bg"
|
||||
coilVoipContactAlt="@{callsViewModel.currentCallData}"
|
||||
app:layout_constraintBottom_toTopOf="@id/caller_name"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHeight_max="@dimen/voip_contact_avatar_max_size"
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_margin="10dp"
|
||||
android:contentDescription="@null"
|
||||
android:background="@drawable/generated_avatar_bg"
|
||||
android:visibility="@{callsViewModel.currentCallData.isConferenceCall ? View.GONE : View.VISIBLE}"
|
||||
app:layout_constraintBottom_toTopOf="@id/conference_avatar"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
|
@ -142,6 +142,7 @@
|
|||
android:layout_height="0dp"
|
||||
android:layout_margin="20dp"
|
||||
android:contentDescription="@null"
|
||||
android:background="@drawable/generated_avatar_bg"
|
||||
coilVoipContact="@{callsViewModel.currentCallData}"
|
||||
app:layout_constraintBottom_toBottomOf="@id/background"
|
||||
app:layout_constraintEnd_toEndOf="@id/background"
|
||||
|
|
Loading…
Reference in a new issue