aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/suggestion_list_row.xml
diff options
context:
space:
mode:
Diffstat (limited to 'WordPress/src/main/res/layout/suggestion_list_row.xml')
-rw-r--r--WordPress/src/main/res/layout/suggestion_list_row.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/suggestion_list_row.xml b/WordPress/src/main/res/layout/suggestion_list_row.xml
new file mode 100644
index 000000000..f46d5d1db
--- /dev/null
+++ b/WordPress/src/main/res/layout/suggestion_list_row.xml
@@ -0,0 +1,43 @@
+<?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:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:padding="@dimen/margin_large">
+
+ <org.wordpress.android.widgets.WPNetworkImageView
+ android:id="@+id/suggest_list_row_avatar"
+ android:layout_width="@dimen/avatar_sz_small"
+ android:layout_height="@dimen/avatar_sz_small"
+ android:gravity="center_vertical" />
+
+ <org.wordpress.android.widgets.WPTextView
+ android:id="@+id/suggestion_list_row_user_login_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="@dimen/margin_medium"
+ android:layout_weight="1"
+ android:ellipsize="end"
+ android:gravity="center_vertical"
+ android:maxLines="1"
+ android:textColor="@color/grey_dark"
+ android:textSize="@dimen/text_sz_medium"
+ tools:text="user_login" />
+
+ <org.wordpress.android.widgets.WPTextView
+ android:id="@+id/suggestion_list_row_display_name_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="@dimen/margin_medium"
+ android:layout_weight="2"
+ android:ellipsize="end"
+ android:gravity="center_vertical|right"
+ android:maxLines="1"
+ android:textColor="@color/grey"
+ android:textSize="@dimen/text_sz_medium"
+ tools:text="display_name" />
+
+</LinearLayout> \ No newline at end of file