feat(contact): Better card

parent 14936507
......@@ -2,12 +2,14 @@
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_marginTop="0dp"
android:elevation="5dp">
card_view:cardCornerRadius="3dp"
card_view:cardMaxElevation="1dp"
card_view:cardElevation="1dp"
card_view:cardUseCompatPadding="true">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
......@@ -17,12 +19,12 @@
android:id="@+id/pic"
android:layout_width="150dp"
android:layout_height="0dp"
android:scaleType="fitStart"
android:layout_margin="10dp"
android:layout_marginEnd="8dp"
android:height="150dp"
android:contentDescription="TODO"
android:elevation="2dp"
android:scaleType="fitStart"
android:src="@drawable/user"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/contactName"
......@@ -66,7 +68,6 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="15dp"
android:layout_marginBottom="15dp"
android:focusable="false"
android:focusableInTouchMode="false"
android:gravity="end"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment