aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/note_block_user.xml
diff options
context:
space:
mode:
Diffstat (limited to 'WordPress/src/main/res/layout/note_block_user.xml')
-rw-r--r--WordPress/src/main/res/layout/note_block_user.xml82
1 files changed, 82 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/note_block_user.xml b/WordPress/src/main/res/layout/note_block_user.xml
new file mode 100644
index 000000000..3ba4443ce
--- /dev/null
+++ b/WordPress/src/main/res/layout/note_block_user.xml
@@ -0,0 +1,82 @@
+<?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> \ No newline at end of file