blob: 59b741ee4ff4c5bfc2911ac44a2253b42a7f1c6e [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<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"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="@dimen/margin_extra_large"
android:paddingRight="@dimen/margin_extra_large"
android:paddingTop="@dimen/comment_avatar_margin_top">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal">
<org.wordpress.android.widgets.WPNetworkImageView
android:id="@+id/user_avatar"
android:layout_width="@dimen/avatar_sz_small"
android:layout_height="@dimen/avatar_sz_small" />
<LinearLayout
android:id="@+id/user_name_wrapper"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/notifications_adjusted_font_margin"
android:layout_marginStart="@dimen/notifications_adjusted_font_margin"
android:orientation="vertical">
<org.wordpress.android.widgets.WPTextView
android:id="@+id/user_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:includeFontPadding="false"
android:singleLine="true"
android:textColor="@color/grey_dark"
android:textSize="@dimen/text_sz_large"
tools:text="Bob Ross" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<org.wordpress.android.widgets.WPTextView
android:id="@+id/user_comment_ago"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:includeFontPadding="false"
android:singleLine="true"
android:textColor="@color/grey"
android:textSize="@dimen/text_sz_large"
android:visibility="gone"
tools:text="5h"
tools:visibility="visible" />
<org.wordpress.android.widgets.WPTextView
android:id="@+id/user_comment_bullet"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/margin_small"
android:layout_marginRight="@dimen/margin_small"
android:includeFontPadding="false"
android:text="@string/bullet"
android:textColor="@color/grey"
android:textSize="@dimen/text_sz_large"
android:textStyle="bold" />
<org.wordpress.android.widgets.WPTextView
android:id="@+id/user_comment_site"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
android:clickable="true"
android:ellipsize="end"
android:includeFontPadding="false"
android:singleLine="true"
android:textColor="@color/grey"
android:textSize="@dimen/text_sz_large"
tools:text="example.com" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<org.wordpress.android.widgets.WPTextView
android:id="@+id/user_comment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_medium"
android:background="?android:selectableItemBackground"
android:paddingBottom="@dimen/margin_medium"
android:textColor="@color/grey_dark"
android:textSize="@dimen/text_sz_large"
app:wpFontFamily="merriweather"
tools:text="Thanks for stopping by my blog! I hope to see you again. " />
<View
android:id="@+id/divider_view"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@drawable/notifications_list_divider_full_width" />
</LinearLayout>