mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-23 00:17:34 +00:00
84 lines
3.0 KiB
XML
84 lines
3.0 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<merge
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:tools="http://schemas.android.com/tools">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical"
|
||
|
android:background="@drawable/shared_contact_view_background">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="horizontal"
|
||
|
android:padding="6dp"
|
||
|
android:gravity="center_vertical">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/contact_avatar"
|
||
|
android:layout_width="50dp"
|
||
|
android:layout_height="50dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:layout_marginRight="8dp"/>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_weight="1"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<org.thoughtcrime.securesms.components.emoji.EmojiTextView
|
||
|
android:id="@+id/contact_name"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="4dp"
|
||
|
android:maxLines="1"
|
||
|
android:ellipsize="end"
|
||
|
android:fontFamily="sans-serif-medium"
|
||
|
android:textColor="@color/signal_primary"
|
||
|
android:textSize="16sp"
|
||
|
tools:text="Peter Parker"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/contact_number"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:maxLines="1"
|
||
|
android:ellipsize="end"
|
||
|
android:textColor="@color/grey_600"
|
||
|
tools:text="(610) 555-5555"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/contact_action_button_container"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<FrameLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="1dp"
|
||
|
android:background="@color/grey_400_transparent"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/contact_action_button"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="center"
|
||
|
android:padding="10dp"
|
||
|
android:background="?attr/selectableItemBackground"
|
||
|
android:fontFamily="sans-serif-medium"
|
||
|
android:textColor="@color/signal_primary"
|
||
|
tools:text="Add to Contacts"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</merge>
|