diff options
Diffstat (limited to 'WordPress/src/main/res/layout/stats_visitors_and_views_tab.xml')
-rw-r--r-- | WordPress/src/main/res/layout/stats_visitors_and_views_tab.xml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/stats_visitors_and_views_tab.xml b/WordPress/src/main/res/layout/stats_visitors_and_views_tab.xml new file mode 100644 index 000000000..dc1bc7685 --- /dev/null +++ b/WordPress/src/main/res/layout/stats_visitors_and_views_tab.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_height="match_parent" + android:layout_width="0dp" + android:layout_weight="1" + android:orientation="horizontal" + android:gravity="center" + android:clickable="true"> + + <LinearLayout + android:id="@+id/stats_visitors_and_views_tab_inner_container" + android:layout_height="match_parent" + android:layout_width="match_parent" + android:orientation="vertical" + android:padding="@dimen/margin_medium" + android:background="?android:selectableItemBackground" + android:gravity="center"> + + <LinearLayout + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:gravity="center" + android:orientation="horizontal"> + + <ImageView + android:id="@+id/stats_visitors_and_views_tab_icon" + android:layout_width="12dp" + android:layout_height="12dp" + android:layout_marginRight="3dp" + android:layout_marginEnd="3dp" + app:srcCompat="@drawable/ic_like" /> + + <org.wordpress.android.widgets.WPAutoResizeTextView + android:id="@+id/stats_visitors_and_views_tab_label" + android:textColor="@color/grey_dark" + android:textSize="@dimen/text_sz_extra_small" + android:maxLines="1" + android:ellipsize="end" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + </LinearLayout> + + <org.wordpress.android.widgets.WPTextView + android:id="@+id/stats_visitors_and_views_tab_value" + android:textColor="@color/blue_wordpress" + android:textSize="@dimen/text_sz_small" + android:paddingTop="@dimen/margin_small" + android:paddingBottom="@dimen/margin_extra_small" + android:maxLines="1" + android:ellipsize="end" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + </LinearLayout> +</LinearLayout>
\ No newline at end of file |