session-android/res/layout/view_user.xml

49 lines
1.8 KiB
XML
Raw Normal View History

2020-01-31 13:57:24 +11:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
2020-01-31 13:57:24 +11:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/conversation_view_background"
android:orientation="vertical">
<LinearLayout
android:id="@+id/contentView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:padding="@dimen/medium_spacing">
2020-05-11 16:19:26 +10:00
<org.thoughtcrime.securesms.loki.views.ProfilePictureView
2020-01-31 13:57:24 +11:00
android:id="@+id/profilePictureView"
android:layout_width="@dimen/medium_profile_picture_size"
android:layout_height="@dimen/medium_profile_picture_size" />
<TextView
android:id="@+id/nameTextView"
2020-08-18 13:27:53 +10:00
android:layout_width="0dp"
2020-01-31 13:57:24 +11:00
android:layout_height="wrap_content"
2020-08-18 13:27:53 +10:00
android:layout_marginStart="@dimen/medium_spacing"
2020-01-31 13:57:24 +11:00
android:maxLines="1"
2020-08-18 13:27:53 +10:00
android:textAlignment="viewStart"
2020-01-31 13:57:24 +11:00
android:ellipsize="end"
android:textSize="@dimen/medium_font_size"
android:textStyle="bold"
android:layout_weight="1"
tools:text="Spiderman" />
2020-01-31 13:57:24 +11:00
<ImageView
2020-08-18 08:55:17 +10:00
android:id="@+id/actionIndicatorImageView"
2020-01-31 13:57:24 +11:00
android:layout_width="24dp"
android:layout_height="24dp"
2020-08-18 13:27:53 +10:00
android:layout_marginStart="@dimen/medium_spacing"
android:src="@drawable/ic_circle"/>
2020-01-31 13:57:24 +11:00
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1px"
android:background="?android:dividerHorizontal" />
2020-01-31 13:57:24 +11:00
</LinearLayout>