| <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:tools="http://schemas.android.com/tools" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:background="?android:selectableItemBackground" |
| android:orientation="vertical"> |
| |
| <RelativeLayout |
| android:id="@+id/layout_container" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:paddingBottom="@dimen/margin_large" |
| android:paddingLeft="@dimen/content_margin" |
| android:paddingRight="@dimen/content_margin" |
| android:paddingTop="@dimen/margin_large"> |
| |
| <FrameLayout |
| android:id="@+id/frame_avatar" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="@dimen/margin_large" |
| android:layout_marginRight="@dimen/margin_large" |
| android:layout_marginTop="@dimen/margin_extra_small"> |
| |
| <org.wordpress.android.widgets.WPNetworkImageView |
| android:id="@+id/avatar" |
| android:layout_width="@dimen/notifications_avatar_sz" |
| android:layout_height="@dimen/notifications_avatar_sz" /> |
| |
| <ImageView |
| android:id="@+id/image_checkmark" |
| android:layout_width="@dimen/notifications_avatar_sz" |
| android:layout_height="@dimen/notifications_avatar_sz" |
| android:background="@drawable/shape_oval_blue" |
| android:padding="@dimen/margin_medium" |
| app:srcCompat="@drawable/ic_check_white_24dp" |
| android:visibility="gone" /> |
| |
| <LinearLayout |
| android:id="@+id/moderate_progress" |
| android:layout_width="@dimen/notifications_avatar_sz" |
| android:layout_height="@dimen/notifications_avatar_sz" |
| android:background="@drawable/shape_oval_translucent" |
| android:gravity="center" |
| android:padding="@dimen/margin_large" |
| android:visibility="gone" |
| tools:visibility="visible"> |
| |
| <ProgressBar |
| style="@android:style/Widget.Holo.ProgressBar" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:indeterminate="true" /> |
| </LinearLayout> |
| </FrameLayout> |
| |
| <LinearLayout |
| android:id="@+id/layout_date_status" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentRight="true" |
| android:layout_marginLeft="@dimen/margin_medium" |
| android:layout_marginRight="@dimen/margin_large" |
| android:layout_marginTop="@dimen/margin_small" |
| android:gravity="right" |
| android:orientation="vertical"> |
| |
| <org.wordpress.android.widgets.WPTextView |
| android:id="@+id/text_date" |
| style="@style/ReaderTextView.Date" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| tools:text="date" /> |
| |
| <org.wordpress.android.widgets.WPTextView |
| android:id="@+id/status" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="@dimen/margin_small" |
| android:textAllCaps="true" |
| android:textSize="@dimen/text_sz_small" |
| android:visibility="gone" |
| tools:text="status" |
| tools:visibility="visible" /> |
| </LinearLayout> |
| |
| <org.wordpress.android.widgets.WPTextView |
| android:id="@+id/title" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_toLeftOf="@+id/layout_date_status" |
| android:layout_toRightOf="@+id/frame_avatar" |
| android:ellipsize="end" |
| android:maxLines="2" |
| android:textColor="@color/grey_dark" |
| android:textSize="@dimen/text_sz_large" |
| tools:text="title" /> |
| |
| <org.wordpress.android.widgets.WPTextView |
| android:id="@+id/comment" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_below="@+id/title" |
| android:layout_marginRight="@dimen/margin_large" |
| android:layout_marginTop="@dimen/margin_extra_small" |
| android:layout_toRightOf="@+id/frame_avatar" |
| android:ellipsize="end" |
| android:maxLines="2" |
| android:textColor="@color/grey_darken_10" |
| android:textSize="@dimen/text_sz_medium" |
| tools:text="comment" /> |
| |
| </RelativeLayout> |
| |
| </FrameLayout> |