aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout-sw720dp/stats_activity.xml
diff options
context:
space:
mode:
authorChris Warrington <cmw@google.com>2016-10-18 12:29:21 +0100
committerChris Warrington <cmw@google.com>2016-10-18 12:34:18 +0100
commite3780081075c01aa1dff6d1f373cb43192b33e68 (patch)
treefb734615933a39f3d009210dc0d1457160479b35 /WordPress/src/main/res/layout-sw720dp/stats_activity.xml
parent7e05eb7e57827eddc885570bc00aed8a50320dbf (diff)
parent025b8b226c8d8edba2b309ca878572f40512eca7 (diff)
downloadgradle-perf-android-medium-mirror-goog-studio-master-dev.tar.gz
Change-Id: I63f5e16d09297c48432192761b840310935eb903
Diffstat (limited to 'WordPress/src/main/res/layout-sw720dp/stats_activity.xml')
-rw-r--r--WordPress/src/main/res/layout-sw720dp/stats_activity.xml264
1 files changed, 264 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout-sw720dp/stats_activity.xml b/WordPress/src/main/res/layout-sw720dp/stats_activity.xml
new file mode 100644
index 000000000..54585e28c
--- /dev/null
+++ b/WordPress/src/main/res/layout-sw720dp/stats_activity.xml
@@ -0,0 +1,264 @@
+<?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_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <include
+ layout="@layout/toolbar"
+ android:id="@+id/toolbar" />
+
+ <android.support.design.widget.CoordinatorLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <android.support.design.widget.AppBarLayout
+ android:layout_height="@dimen/toolbar_subtitle_height"
+ android:layout_width="match_parent">
+
+ <android.support.v7.widget.Toolbar
+ android:id="@+id/toolbar_filter"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="@style/FilteredRecyclerViewToolbar"
+ app:layout_scrollFlags="scroll|enterAlways">
+
+ <Spinner
+ style="@style/FilteredRecyclerViewSpinner.WordPress"
+ android:id="@+id/filter_spinner"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:overlapAnchor="false"/>
+
+ </android.support.v7.widget.Toolbar>
+
+ </android.support.design.widget.AppBarLayout>
+
+ <org.wordpress.android.util.widgets.CustomSwipeRefreshLayout
+ android:id="@+id/ptr_layout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/grey_lighten_30"
+ app:layout_behavior="@string/appbar_scrolling_view_behavior">
+
+ <org.wordpress.android.ui.stats.NestedScrollViewExt
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingLeft="@dimen/content_margin"
+ android:paddingRight="@dimen/content_margin"
+ android:id="@+id/scroll_view_stats"
+ android:fillViewport="true">
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <!-- Insights -->
+ <LinearLayout
+ android:id="@+id/stats_insights_fragments_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingBottom="@dimen/margin_medium"
+ android:orientation="vertical"
+ android:visibility="gone">
+
+ <!-- LATEST POST SUMMARY SECTION -->
+ <FrameLayout
+ android:id="@+id/stats_insights_latest_post_summary_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+
+ <!-- TODAY SECTION -->
+ <FrameLayout
+ android:id="@+id/stats_insights_today_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+
+ <!-- ALL TIME SECTION -->
+ <FrameLayout
+ android:id="@+id/stats_insights_all_time_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+
+ <!-- POPULAR DAY AND TIME SECTION -->
+ <FrameLayout
+ android:id="@+id/stats_insights_most_popular_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+
+ <org.wordpress.android.widgets.WPTextView
+ android:id="@+id/stats_other_recent_stats_label_insights"
+ android:textAppearance="?android:attr/textAppearance"
+ android:textSize="@dimen/text_sz_large"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large"
+ android:layout_marginBottom="@dimen/margin_extra_small"
+ android:textColor="@color/stats_blue_labels"
+ android:gravity="start"
+ android:text="@string/stats_other_recent_stats_label" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <!-- Left column -->
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:layout_marginRight="@dimen/margin_medium"
+ android:layout_marginEnd="@dimen/margin_medium" >
+ <FrameLayout
+ android:id="@+id/stats_comments_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+
+ <FrameLayout
+ android:id="@+id/stats_tags_and_categories_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+ </LinearLayout>
+
+ <!-- Right column -->
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:layout_marginLeft="@dimen/margin_medium"
+ android:layout_marginStart="@dimen/margin_medium" >
+ <FrameLayout
+ android:id="@+id/stats_followers_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+
+ <FrameLayout
+ android:id="@+id/stats_publicize_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+ </LinearLayout>
+ </LinearLayout>
+ </LinearLayout>
+
+ <!-- Timeline -->
+ <LinearLayout
+ android:id="@+id/stats_timeline_fragments_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingBottom="@dimen/margin_medium"
+ android:orientation="vertical">
+
+ <FrameLayout
+ android:id="@+id/stats_visitors_and_views_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <!-- Left column -->
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:layout_marginRight="@dimen/margin_medium"
+ android:layout_marginEnd="@dimen/margin_medium" >
+ <FrameLayout
+ android:id="@+id/stats_top_posts_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+
+ <FrameLayout
+ android:id="@+id/stats_referrers_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+
+ <FrameLayout
+ android:id="@+id/stats_clicks_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+
+ <FrameLayout
+ android:id="@+id/stats_top_authors_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+
+ </LinearLayout>
+
+ <!-- Right column -->
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:layout_marginLeft="@dimen/margin_medium"
+ android:layout_marginStart="@dimen/margin_medium" >
+ <FrameLayout
+ android:id="@+id/stats_geoviews_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+
+ <FrameLayout
+ android:id="@+id/stats_search_terms_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+
+ <FrameLayout
+ android:id="@+id/stats_video_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large" />
+
+ </LinearLayout>
+ </LinearLayout>
+
+ <org.wordpress.android.widgets.WPTextView
+ android:id="@+id/stats_other_recent_stats_label_timeline"
+ android:textAppearance="?android:attr/textAppearance"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_large"
+ android:textColor="@color/stats_blue_labels"
+ android:gravity="start"
+ android:textSize="@dimen/text_sz_large"
+ android:text="@string/stats_other_recent_stats_label" />
+
+ <org.wordpress.android.widgets.WPTextView
+ android:id="@+id/stats_other_recent_stats_moved"
+ android:textAppearance="?android:attr/textAppearance"
+ android:background="?android:selectableItemBackground"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/margin_small"
+ android:textColor="@color/stats_link_text_color"
+ android:gravity="start"
+ android:textSize="@dimen/text_sz_small"
+ android:text="@string/stats_other_recent_stats_moved_label" />
+
+ </LinearLayout>
+ </LinearLayout>
+ </org.wordpress.android.ui.stats.NestedScrollViewExt>
+ </org.wordpress.android.util.widgets.CustomSwipeRefreshLayout>
+ </android.support.design.widget.CoordinatorLayout>
+</LinearLayout> \ No newline at end of file