2019-06-03 23:25:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-11-02 16:17:00 +01:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-02 16:17:00 +01:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:orientation="vertical"
|
2020-11-17 05:40:58 +01:00
|
|
|
android:padding="16dp">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-11-02 16:17:00 +01:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/avatar"
|
2021-04-13 16:19:42 +02:00
|
|
|
android:layout_width="@dimen/list_avatar_size"
|
|
|
|
android:layout_height="@dimen/list_avatar_size"
|
2020-11-02 16:17:00 +01:00
|
|
|
android:layout_weight="0"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
|
|
|
tools:srcCompat="@tools:sample/avatars" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
2020-11-02 16:17:00 +01:00
|
|
|
android:layout_width="wrap_content"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-11-02 16:17:00 +01:00
|
|
|
android:layout_marginLeft="15dp"
|
|
|
|
android:layout_marginRight="15dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/author"
|
|
|
|
android:layout_width="match_parent"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-11-02 16:17:00 +01:00
|
|
|
android:ellipsize="middle"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
2021-04-13 16:19:42 +02:00
|
|
|
android:textSize="14sp"
|
2020-11-02 16:17:00 +01:00
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/information"
|
|
|
|
android:layout_width="match_parent"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-11-02 16:17:00 +01:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textColor="?attr/hintColor"
|
2021-04-13 16:19:42 +02:00
|
|
|
android:textSize="12sp" />
|
2019-06-03 23:25:05 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2020-11-02 16:17:00 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/menu"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="top"
|
|
|
|
android:layout_weight="0"
|
2021-05-01 00:01:22 +02:00
|
|
|
android:contentDescription="@string/menuContentDesc"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
2020-11-02 16:17:00 +01:00
|
|
|
app:srcCompat="@drawable/ic_dotted_menu_horizontal" />
|
|
|
|
|
2019-06-03 23:25:05 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2020-11-02 16:17:00 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/comment"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-17 05:40:58 +01:00
|
|
|
android:layout_marginTop="12dp"
|
2020-11-02 16:17:00 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textIsSelectable="true"
|
2020-11-13 16:04:43 +01:00
|
|
|
android:autoLink="web"
|
|
|
|
android:textColorLink="@color/lightBlue"
|
2021-04-13 16:19:42 +02:00
|
|
|
android:textSize="14sp" />
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-11-08 19:58:47 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/commentReactionBadges"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-30 00:26:01 +01:00
|
|
|
android:visibility="gone"
|
2021-04-13 16:19:42 +02:00
|
|
|
android:layout_marginTop="16dp"
|
2020-11-08 19:58:47 +01:00
|
|
|
android:orientation="horizontal" />
|
|
|
|
|
2020-11-02 16:17:00 +01:00
|
|
|
</LinearLayout>
|