From 8a50364a71e7c261b54840210f8bacff5abecb34 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Fri, 10 Jun 2011 13:31:21 -0700 Subject: Iterating on data usage; tabs, scrolling, cycles. Added ActionBar items to control complexity of data surfaced; checked state causes tabs to be shown/hidden for "Mobile", "2G-3G", "4G", and "Wi-Fi" network templates. Loading historical stats and policy from system services based on selected tab. Change entire body under tabs to scroll, treating network options and chart as ListView headers. Teach chart sweep to disable intercept to play with ListView, and draw sweep disabled as dashed line. Hijacking Preference views for toggles to offer consistency. No policy updates are persisted yet. Based on available historical network stats and policy cycle reset day, build list of user-selectable cycles. Wired up chart to display cycle data and reset inspection region to last week of available data. Change-Id: Ia561578276fa23908b745fbc06a6ef828d9ccc2e --- res/layout/data_usage_header.xml | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 res/layout/data_usage_header.xml (limited to 'res/layout/data_usage_header.xml') diff --git a/res/layout/data_usage_header.xml b/res/layout/data_usage_header.xml new file mode 100644 index 0000000..4d8a5dd --- /dev/null +++ b/res/layout/data_usage_header.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + -- cgit v1.1