improved contact list by adding edit button and made possible to click

contact for a call or message
This commit is contained in:
Juha Heinanen
2018-08-07 16:13:17 +03:00
parent 71de679219
commit 4453c45ff4
7 changed files with 63 additions and 13 deletions
+16 -1
View File
@@ -2,7 +2,8 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/contactRow"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
android:layout_height="wrap_content"
android:orientation="horizontal" >
<TextView
android:id="@+id/contactName"
@@ -13,4 +14,18 @@
android:layout_marginBottom="6dp">
</TextView>
<ImageButton
android:id="@+id/action"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_alignParentEnd="true"
android:paddingTop="5dp"
android:paddingBottom="5dp"
android:layout_marginStart="6dp"
android:src="@drawable/edit"
android:background="@null"
android:scaleType="centerCrop" >
</ImageButton>
</RelativeLayout>