diff --git a/app/src/main/res/drawable/shape_circle_trusted_contact_large_overlay.xml b/app/src/main/res/drawable/shape_circle_trusted_contact_large_overlay.xml new file mode 100644 index 000000000..441c42407 --- /dev/null +++ b/app/src/main/res/drawable/shape_circle_trusted_contact_large_overlay.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/shape_circle_unsafe_contact_large_overlay.xml b/app/src/main/res/drawable/shape_circle_unsafe_contact_large_overlay.xml new file mode 100644 index 000000000..8c1e65a7c --- /dev/null +++ b/app/src/main/res/drawable/shape_circle_unsafe_contact_large_overlay.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/contact_avatar_big.xml b/app/src/main/res/layout/contact_avatar_big.xml index bca644def..86398e573 100644 --- a/app/src/main/res/layout/contact_avatar_big.xml +++ b/app/src/main/res/layout/contact_avatar_big.xml @@ -34,7 +34,7 @@ android:layout_width="0dp" android:layout_height="0dp" android:contentDescription="@null" - android:src="@{model.trust == SecurityLevel.Unsafe ? @drawable/shape_circle_unsafe_contact_overlay : @drawable/shape_circle_trusted_contact_overlay, default=@drawable/shape_circle_trusted_contact_overlay}" + android:src="@{model.trust == SecurityLevel.Unsafe ? @drawable/shape_circle_unsafe_contact_large_overlay : @drawable/shape_circle_trusted_contact_large_overlay, default=@drawable/shape_circle_trusted_contact_large_overlay}" android:visibility="@{model.showTrust && (model.trust == SecurityLevel.EndToEndEncryptedAndVerified || model.trust == SecurityLevel.Unsafe) ? View.VISIBLE : View.GONE, default=gone}" app:layout_constraintEnd_toEndOf="@id/avatar" app:layout_constraintStart_toStartOf="@id/avatar" diff --git a/app/src/main/res/layout/contact_avatar_huge.xml b/app/src/main/res/layout/contact_avatar_huge.xml index ef1625c68..f7c20d238 100644 --- a/app/src/main/res/layout/contact_avatar_huge.xml +++ b/app/src/main/res/layout/contact_avatar_huge.xml @@ -32,7 +32,7 @@ android:layout_width="0dp" android:layout_height="0dp" android:contentDescription="@null" - android:src="@{model.trust == SecurityLevel.Unsafe ? @drawable/shape_circle_unsafe_contact_overlay : @drawable/shape_circle_trusted_contact_overlay, default=@drawable/shape_circle_trusted_contact_overlay}" + android:src="@{model.trust == SecurityLevel.Unsafe ? @drawable/shape_circle_unsafe_contact_large_overlay : @drawable/shape_circle_trusted_contact_large_overlay, default=@drawable/shape_circle_trusted_contact_large_overlay}" android:visibility="@{model.showTrust && (model.trust == SecurityLevel.EndToEndEncryptedAndVerified || model.trust == SecurityLevel.Unsafe) ? View.VISIBLE : View.GONE, default=gone}" app:layout_constraintEnd_toEndOf="@id/avatar" app:layout_constraintStart_toStartOf="@id/avatar" diff --git a/app/src/main/res/values/dimen.xml b/app/src/main/res/values/dimen.xml index f9daed473..d15a533a0 100644 --- a/app/src/main/res/values/dimen.xml +++ b/app/src/main/res/values/dimen.xml @@ -31,7 +31,8 @@ 6dp 14dp - 3dp + 5dp + 3dp 16sp 14sp