summaryrefslogtreecommitdiffstats
path: root/res/layout/data_usage_summary.xml
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2011-05-30 16:19:56 -0700
committerJeff Sharkey <jsharkey@android.com>2011-06-09 09:26:30 -0700
commitab2d8d3a38857b8c155e6c6393c5821f5a341aae (patch)
treefe7fecb67b8300c245bbbfc0434fd3f45774d03c /res/layout/data_usage_summary.xml
parent32232fd9f2751b8618111831749ace5c9df021e8 (diff)
downloadpackages_apps_settings-ab2d8d3a38857b8c155e6c6393c5821f5a341aae.zip
packages_apps_settings-ab2d8d3a38857b8c155e6c6393c5821f5a341aae.tar.gz
packages_apps_settings-ab2d8d3a38857b8c155e6c6393c5821f5a341aae.tar.bz2
Checkpoint of data usage UI, graphs and lists.
Chart of network usage over time, with draggable "sweep" bars for inspection region and warning/limits. Talks with NetworkStatsService for live data, and updates list of application usage as inspection region changes. Change-Id: I2a406e6776daf7d74143c07ec683c10fe711c277
Diffstat (limited to 'res/layout/data_usage_summary.xml')
-rw-r--r--res/layout/data_usage_summary.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/res/layout/data_usage_summary.xml b/res/layout/data_usage_summary.xml
new file mode 100644
index 0000000..9a356ae
--- /dev/null
+++ b/res/layout/data_usage_summary.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <FrameLayout
+ android:id="@+id/chart_container"
+ android:layout_width="match_parent"
+ android:layout_height="200dip" />
+
+ <ListView
+ android:id="@+id/list"
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1" />
+
+</LinearLayout>