Fixed size contact photo

pull/175/head
M66B 5 years ago
parent 8602ae8a35
commit 48930d2186

@ -33,11 +33,10 @@
<ImageView <ImageView
android:id="@+id/ivPhoto" android:id="@+id/ivPhoto"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="36dp"
android:layout_marginEnd="6dp" android:layout_marginEnd="6dp"
android:contentDescription="@string/title_legend_avatar" android:contentDescription="@string/title_legend_avatar"
android:scaleType="centerCrop" android:scaleType="centerCrop"
app:layout_constraintBottom_toBottomOf="@+id/tvEmail"
app:layout_constraintDimensionRatio="1:1" app:layout_constraintDimensionRatio="1:1"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/tvName" app:layout_constraintTop_toTopOf="@+id/tvName"

Loading…
Cancel
Save