diff options
Diffstat (limited to 'WordPress/src/main/res/layout/reader_include_post_detail_footer.xml')
-rw-r--r-- | WordPress/src/main/res/layout/reader_include_post_detail_footer.xml | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/reader_include_post_detail_footer.xml b/WordPress/src/main/res/layout/reader_include_post_detail_footer.xml new file mode 100644 index 000000000..023caf29c --- /dev/null +++ b/WordPress/src/main/res/layout/reader_include_post_detail_footer.xml @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- + included by ReaderPostDetailFragment +--> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + xmlns:wp="http://schemas.android.com/apk/res-auto" + android:id="@+id/layout_post_detail_footer" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@color/white" + android:paddingBottom="@dimen/margin_medium"> + + <View + android:id="@+id/divider_footer" + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_marginBottom="@dimen/margin_large" + android:background="@color/reader_divider_grey" /> + + <RelativeLayout + android:layout_width="@dimen/reader_webview_width" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true" + android:layout_marginLeft="@dimen/reader_detail_margin" + android:layout_marginRight="@dimen/reader_detail_margin" + android:layout_marginTop="@dimen/margin_medium"> + + <org.wordpress.android.widgets.WPTextView + android:id="@+id/text_tag" + style="@style/ReaderTextView" + android:layout_width="match_parent" + android:layout_height="@dimen/reader_detail_tag_height" + android:layout_centerVertical="true" + android:layout_toLeftOf="@+id/layout_icons" + android:background="?android:selectableItemBackground" + android:ellipsize="end" + android:gravity="center_vertical" + android:maxLines="1" + android:textColor="@color/reader_hyperlink" + android:textSize="@dimen/text_sz_large" + tools:text="#text_tag" /> + + <LinearLayout + android:id="@+id/layout_icons" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentRight="true" + android:layout_centerVertical="true" + android:orientation="horizontal"> + + <org.wordpress.android.ui.reader.views.ReaderIconCountView + android:id="@+id/count_comments" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:padding="@dimen/margin_medium" + wp:readerIcon="comment" /> + + <org.wordpress.android.ui.reader.views.ReaderIconCountView + android:id="@+id/count_likes" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:paddingLeft="@dimen/margin_medium" + android:paddingRight="0dp" + android:paddingTop="@dimen/margin_medium" + android:paddingBottom="@dimen/margin_medium" + wp:readerIcon="like" /> + + </LinearLayout> + </RelativeLayout> + +</RelativeLayout> |