anotherim/src/main/res/layout/contact.xml

57 lines
2 KiB
XML
Raw Normal View History

2014-10-22 16:38:44 +00:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/activatedBackgroundIndicator"
android:padding="8dp" >
<ImageView
android:id="@+id/contact_photo"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_alignParentLeft="true"
android:scaleType="centerCrop"
android:src="@drawable/ic_profile" >
</ImageView>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/contact_photo"
android:orientation="vertical"
android:paddingLeft="8dp" >
<TextView
android:id="@+id/contact_display_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
2015-07-13 10:55:13 +00:00
android:textColor="@color/black87"
2014-10-22 16:38:44 +00:00
android:textSize="?attr/TextSizeHeadline" />
<TextView
android:id="@+id/contact_jid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
2015-07-13 10:55:13 +00:00
android:textColor="@color/black87"
2014-10-22 16:38:44 +00:00
android:textSize="?attr/TextSizeBody" />
2014-11-16 16:21:21 +00:00
<LinearLayout
android:id="@+id/tags"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:orientation="horizontal">
</LinearLayout>
2014-10-22 16:38:44 +00:00
<TextView
android:id="@+id/key"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2015-07-13 10:55:13 +00:00
android:textColor="@color/black87"
2014-10-22 16:38:44 +00:00
android:textSize="?attr/TextSizeHeadline"
android:typeface="monospace"
android:visibility="gone" />
</LinearLayout>
</RelativeLayout>