diff options
author | Chris Warrington <cmw@google.com> | 2016-10-18 12:29:21 +0100 |
---|---|---|
committer | Chris Warrington <cmw@google.com> | 2016-10-18 12:34:18 +0100 |
commit | e3780081075c01aa1dff6d1f373cb43192b33e68 (patch) | |
tree | fb734615933a39f3d009210dc0d1457160479b35 /WordPress/src/main/res/layout-sw720dp/stats_insights_all_time_item.xml | |
parent | 7e05eb7e57827eddc885570bc00aed8a50320dbf (diff) | |
parent | 025b8b226c8d8edba2b309ca878572f40512eca7 (diff) | |
download | gradle-perf-android-medium-mirror-goog-studio-master-dev.tar.gz |
Merge remote-tracking branch 'origin/upstream-master' into masterHEADstudio-3.4.0studio-3.2.1studio-3.1.2studio-3.0studio-2.3gradle_3.4.0gradle_3.1.2gradle_3.0.0gradle_2.3.0studio-master-devmirror-goog-studio-master-devmastermain
Change-Id: I63f5e16d09297c48432192761b840310935eb903
Diffstat (limited to 'WordPress/src/main/res/layout-sw720dp/stats_insights_all_time_item.xml')
-rw-r--r-- | WordPress/src/main/res/layout-sw720dp/stats_insights_all_time_item.xml | 203 |
1 files changed, 203 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout-sw720dp/stats_insights_all_time_item.xml b/WordPress/src/main/res/layout-sw720dp/stats_insights_all_time_item.xml new file mode 100644 index 000000000..8425ea4a8 --- /dev/null +++ b/WordPress/src/main/res/layout-sw720dp/stats_insights_all_time_item.xml @@ -0,0 +1,203 @@ +<?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="wrap_content" + xmlns:tools="http://schemas.android.com/tools" + android:baselineAligned="false" + android:padding="@dimen/margin_extra_large" + android:orientation="horizontal"> + + <!-- Posts item --> + <LinearLayout + android:orientation="vertical" + android:layout_width="0dp" + android:layout_weight="1" + android:layout_height="wrap_content" + android:gravity="center_horizontal" > + + <LinearLayout + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:gravity="center_vertical" + 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/my_site_icon_posts" /> + + <org.wordpress.android.widgets.WPAutoResizeTextView + style="@style/StatsInsightsLabel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:maxLines="1" + android:ellipsize="end" + android:textAllCaps="true" + android:gravity="center_horizontal" + android:text="@string/posts" /> + </LinearLayout> + + <org.wordpress.android.widgets.WPAutoResizeTextView + android:id="@+id/stats_all_time_posts" + style="@style/StatsInsightsValues" + android:textColor="@color/grey_darken_30" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:text="@string/stats_default_number_zero" /> + + </LinearLayout> + + <include layout="@layout/stats_vertical_line" /> + + <!-- Views Item --> + <LinearLayout + android:orientation="vertical" + android:layout_width="0dp" + android:layout_weight="1" + android:layout_height="wrap_content" + android:gravity="center_horizontal" > + + <LinearLayout + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:gravity="center_vertical" + android:orientation="horizontal"> + + <ImageView + android:layout_width="12dp" + android:layout_height="12dp" + android:layout_marginRight="3dp" + android:layout_marginEnd="3dp" + app:srcCompat="@drawable/stats_icon_views" /> + + <org.wordpress.android.widgets.WPAutoResizeTextView + style="@style/StatsInsightsLabel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:maxLines="1" + android:ellipsize="end" + android:textAllCaps="true" + android:gravity="center_horizontal" + android:text="@string/stats_views" /> + </LinearLayout> + + <org.wordpress.android.widgets.WPAutoResizeTextView + android:id="@+id/stats_all_time_views" + style="@style/StatsInsightsValues" + android:textColor="@color/grey_darken_30" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:text="@string/stats_default_number_zero" /> + + </LinearLayout> + + <include layout="@layout/stats_vertical_line" /> + + <!-- Visitors Item --> + <LinearLayout + android:orientation="vertical" + android:layout_width="0dp" + android:layout_weight="1" + android:layout_height="wrap_content" + android:gravity="center_horizontal" > + + <LinearLayout + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:gravity="center_vertical" + android:orientation="horizontal"> + + <ImageView + android:layout_width="12dp" + android:layout_height="12dp" + android:layout_marginRight="3dp" + android:layout_marginEnd="3dp" + app:srcCompat="@drawable/stats_icon_visitors" /> + + <org.wordpress.android.widgets.WPAutoResizeTextView + style="@style/StatsInsightsLabel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:maxLines="1" + android:ellipsize="end" + android:textAllCaps="true" + android:gravity="center_horizontal" + android:text="@string/stats_visitors" /> + </LinearLayout> + + <org.wordpress.android.widgets.WPAutoResizeTextView + android:id="@+id/stats_all_time_visitors" + style="@style/StatsInsightsValues" + android:textColor="@color/grey_darken_30" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:text="@string/stats_default_number_zero" /> + + </LinearLayout> + + <include layout="@layout/stats_vertical_line" /> + + <!-- Best Ever Item --> + <LinearLayout + android:orientation="vertical" + android:layout_width="0dp" + android:layout_weight="1" + android:layout_height="wrap_content" + android:gravity="center_horizontal" > + + <LinearLayout + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:gravity="center_vertical" + android:orientation="horizontal"> + + <ImageView + android:layout_width="12dp" + android:layout_height="12dp" + android:layout_marginRight="3dp" + android:layout_marginEnd="3dp" + app:srcCompat="@drawable/stats_icon_trophy" /> + + <org.wordpress.android.widgets.WPAutoResizeTextView + style="@style/StatsInsightsLabel" + android:textColor="@color/alert_yellow" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:maxLines="1" + android:ellipsize="end" + android:textAllCaps="true" + android:gravity="center_horizontal" + android:text="@string/stats_insights_best_ever" /> + </LinearLayout> + + <org.wordpress.android.widgets.WPAutoResizeTextView + android:id="@+id/stats_all_time_bestever" + style="@style/StatsInsightsValues" + android:textColor="@color/grey_darken_30" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:text="@string/stats_default_number_zero" /> + + <org.wordpress.android.widgets.WPAutoResizeTextView + android:id="@+id/stats_all_time_bestever_date" + style="@style/StatsInsightsLabel" + android:textColor="@color/grey_darken_10" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:maxLines="1" + android:ellipsize="end" + android:textAllCaps="true" + tools:text="August 11, 2012" /> + + </LinearLayout> + +</LinearLayout> |