summaryrefslogtreecommitdiffstats
path: root/res/layout/data_usage_detail.xml
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2011-06-13 00:42:03 -0700
committerJeff Sharkey <jsharkey@android.com>2011-06-13 00:42:22 -0700
commit4dfa66001d20d1b461ef15f94887aa050d9295cf (patch)
treeaaedd76032007e981a64ac32ddd34acd3dcc51bd /res/layout/data_usage_detail.xml
parent05cc0cc4a620009a9ec7bdcc2ccb3878f59c8697 (diff)
downloadpackages_apps_Settings-4dfa66001d20d1b461ef15f94887aa050d9295cf.zip
packages_apps_Settings-4dfa66001d20d1b461ef15f94887aa050d9295cf.tar.gz
packages_apps_Settings-4dfa66001d20d1b461ef15f94887aa050d9295cf.tar.bz2
First pass at detailed app data usage, policy.
Fragment to show application data usage details, including chart with inspection ranges. Button that invokes ACTION_MANAGE_NETWORK_USAGE towards application, and UID-specific policy controls. Fragment is launched when clicking list items from data usage summary page. Change-Id: Ie1564aa8af98e1a7083817a997059a5a7b1caa50
Diffstat (limited to 'res/layout/data_usage_detail.xml')
-rw-r--r--res/layout/data_usage_detail.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/res/layout/data_usage_detail.xml b/res/layout/data_usage_detail.xml
new file mode 100644
index 0000000..9415b3f
--- /dev/null
+++ b/res/layout/data_usage_detail.xml
@@ -0,0 +1,56 @@
+<?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.
+-->
+
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+ <LinearLayout
+ 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="233dip" />
+
+ <TextView
+ android:id="@android:id/title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="16dip" />
+
+ <TextView
+ android:id="@android:id/text1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="16dip" />
+
+ <Button
+ android:id="@+id/data_usage_app_settings"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="16dip"
+ android:text="@string/data_usage_app_settings" />
+
+ <LinearLayout
+ android:id="@+id/switches"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" />
+
+ </LinearLayout>
+</ScrollView>