mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Slightly improved unsecured conversation list cell layout
This commit is contained in:
parent
7734e47742
commit
bf8d2de176
1 changed files with 13 additions and 13 deletions
|
|
@ -119,19 +119,6 @@
|
|||
app:layout_constraintTop_toBottomOf="@id/name"
|
||||
app:layout_constraintBottom_toTopOf="@id/separator" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/warning_disabled_not_secured"
|
||||
android:layout_width="@dimen/icon_size"
|
||||
android:layout_height="@dimen/icon_size"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:src="@drawable/warning_circle"
|
||||
android:visibility="@{model.isDisabledBecauseNotSecured ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintBottom_toBottomOf="@id/date_time"
|
||||
app:layout_constraintTop_toTopOf="@id/date_time"
|
||||
app:layout_constraintEnd_toStartOf="@id/date_time"
|
||||
app:tint="?attr/color_warning_600" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/default_text_style_300"
|
||||
android:id="@+id/date_time"
|
||||
|
|
@ -197,6 +184,19 @@
|
|||
app:layout_constraintBottom_toTopOf="@id/separator"
|
||||
app:tint="?attr/color_main2_400" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/warning_disabled_not_secured"
|
||||
android:layout_width="@dimen/small_icon_size"
|
||||
android:layout_height="@dimen/small_icon_size"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:src="@drawable/lock_simple_open_bold"
|
||||
android:visibility="@{model.isDisabledBecauseNotSecured ? View.VISIBLE : View.GONE}"
|
||||
app:layout_constraintTop_toBottomOf="@id/date_time"
|
||||
app:layout_constraintBottom_toTopOf="@id/separator"
|
||||
app:layout_constraintEnd_toStartOf="@id/ephemeral"
|
||||
app:tint="?attr/color_warning_600" />
|
||||
|
||||
<View
|
||||
android:id="@+id/separator"
|
||||
android:layout_width="0dp"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue