blob: 3ba4443ce79c5c6ac6367791c6b0a0e76f3141c3 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white">
<LinearLayout
android:id="@+id/user_block_root_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="true"
android:orientation="vertical"
android:background="?android:selectableItemBackground"
android:paddingLeft="@dimen/margin_extra_large"
android:paddingRight="@dimen/margin_extra_large">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingBottom="@dimen/margin_medium"
android:paddingTop="@dimen/margin_medium">
<org.wordpress.android.widgets.WPNetworkImageView
android:id="@+id/user_avatar"
android:layout_width="@dimen/notifications_avatar_sz"
android:layout_height="@dimen/notifications_avatar_sz"
android:layout_gravity="center_vertical"
android:layout_marginRight="@dimen/notifications_adjusted_font_margin"
android:layout_marginEnd="@dimen/notifications_adjusted_font_margin" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<org.wordpress.android.widgets.WPTextView
android:id="@+id/user_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:includeFontPadding="false"
android:singleLine="true"
android:textSize="@dimen/text_sz_medium"
android:textStyle="bold"
android:textColor="@color/grey_dark"
tools:text="Bob Ross" />
<org.wordpress.android.widgets.WPTextView
android:id="@+id/user_blog_url"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:includeFontPadding="false"
android:singleLine="true"
android:textColor="@color/blue_medium"
android:textSize="@dimen/text_sz_medium"
tools:text="Paint with Me" />
<org.wordpress.android.widgets.WPTextView
android:id="@+id/user_blog_tagline"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:includeFontPadding="false"
android:singleLine="true"
android:textColor="@color/grey"
android:textSize="@dimen/text_sz_medium"
tools:text="www.bobross.com" />
</LinearLayout>
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="1dp"
android:background="@drawable/notifications_list_divider_full_width" />
</LinearLayout>
</LinearLayout>