mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed issue in contact layout
This commit is contained in:
parent
c6a0f25041
commit
c3ad96cd1f
1 changed files with 3 additions and 3 deletions
|
|
@ -543,7 +543,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@{viewModel.isStored && !viewModel.isReadOnly ? @drawable/action_background_middle : @drawable/action_background_full, default=@drawable/action_background_middle}"
|
||||
android:background="@{viewModel.isStored && !viewModel.isReadOnly ? (viewModel.isNative ? @drawable/action_background_bottom : @drawable/action_background_middle) : @drawable/action_background_full, default=@drawable/action_background_middle}"
|
||||
android:text="@string/contact_details_share"
|
||||
android:drawableStart="@drawable/share_network"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -573,7 +573,7 @@
|
|||
android:layout_marginEnd="16dp"
|
||||
android:background="?attr/color_separator"
|
||||
android:importantForAccessibility="no"
|
||||
android:visibility="@{viewModel.isStored && !viewModel.isReadOnly && !viewModel.isNative ? View.VISIBLE : View.GONE}"
|
||||
android:visibility="@{viewModel.isStored && !viewModel.isReadOnly ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintEnd_toEndOf="@id/action_edit"
|
||||
app:layout_constraintStart_toStartOf="@id/action_edit"
|
||||
app:layout_constraintTop_toBottomOf="@+id/action_edit"/>
|
||||
|
|
@ -597,7 +597,7 @@
|
|||
android:layout_marginEnd="16dp"
|
||||
android:background="?attr/color_separator"
|
||||
android:importantForAccessibility="no"
|
||||
android:visibility="@{viewModel.isStored && !viewModel.isReadOnly ? View.VISIBLE : View.GONE}"
|
||||
android:visibility="@{viewModel.isStored && !viewModel.isReadOnly && !viewModel.isNative() ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintEnd_toEndOf="@id/action_share"
|
||||
app:layout_constraintStart_toStartOf="@id/action_share"
|
||||
app:layout_constraintTop_toBottomOf="@+id/action_share"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue