session-android/res/layout/identity_key_view.xml

51 lines
2.5 KiB
XML
Raw Normal View History

2011-12-20 18:20:44 +00:00
<?xml version="1.0" encoding="utf-8"?>
<org.thoughtcrime.securesms.IdentityKeyView xmlns:android="http://schemas.android.com/apk/res/android"
2013-05-24 00:47:42 +00:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingRight="10dip">
<FrameLayout android:id="@+id/contact_photo_frame"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:visibility="visible">
<QuickContactBadge android:id="@+id/contact_photo_badge"
style="?android:attr/quickContactBadgeStyleWindowLarge"
android:visibility="gone" />
<ImageView android:id="@+id/contact_photo_image"
android:layout_width="60dp"
android:layout_height="60dp"
android:cropToPadding="true"
android:scaleType="centerCrop"
android:visibility="gone" />
</FrameLayout>
2011-12-20 18:20:44 +00:00
2012-07-24 04:43:55 +00:00
<TextView android:id="@+id/identity_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="true"
android:layout_marginTop="6dip"
android:layout_marginRight="5dip"
android:layout_marginLeft="5dip"
2013-05-24 00:47:42 +00:00
android:layout_alignTop="@id/contact_photo_frame"
android:layout_toRightOf="@id/contact_photo_frame"
android:layout_alignWithParentIfMissing="true"
2012-07-24 04:43:55 +00:00
android:ellipsize="marquee"
2013-05-24 00:47:42 +00:00
android:textColor="#000000"/>
<TextView android:id="@+id/fingerprint"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:singleLine="true"
android:layout_marginBottom="10dip"
android:layout_marginLeft="5dip"
android:layout_alignBottom="@id/contact_photo_frame"
android:layout_toRightOf="@id/contact_photo_frame"
android:layout_toLeftOf="@id/date"
android:ellipsize="end" />
2011-12-20 18:20:44 +00:00
2013-05-24 00:47:42 +00:00
</org.thoughtcrime.securesms.IdentityKeyView>