blob: b27d88ffae1d922f1591f14608483fd1960f5a62 [file] [log] [blame]
Jeff Sharkey8a503642011-06-10 13:31:21 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="match_parent"
19 android:layout_height="wrap_content"
Jeff Sharkeyb654cbb2011-08-18 11:59:19 -070020 android:orientation="vertical"
21 android:clipChildren="false"
22 android:clipToPadding="false">
Jeff Sharkey8a503642011-06-10 13:31:21 -070023
Jeff Sharkey2af35fb2011-06-24 17:30:27 -070024 <FrameLayout
25 android:id="@+id/network_switches_container"
Jeff Sharkey8a503642011-06-10 13:31:21 -070026 android:layout_width="match_parent"
Jeff Sharkey2af35fb2011-06-24 17:30:27 -070027 android:layout_height="wrap_content">
28 <LinearLayout
29 android:id="@+id/network_switches"
30 android:layout_width="match_parent"
31 android:layout_height="wrap_content"
32 android:orientation="vertical"
33 android:showDividers="middle|end"
34 android:divider="?android:attr/listDivider" />
35 </FrameLayout>
Jeff Sharkey8a503642011-06-10 13:31:21 -070036
Jeff Sharkeyd360e5e2011-07-26 19:30:26 -070037 <include layout="@layout/data_usage_cycles" />
38 <include layout="@layout/data_usage_chart" />
39
40 <TextView
41 android:id="@+id/usage_summary"
Jeff Sharkey8a503642011-06-10 13:31:21 -070042 android:layout_width="match_parent"
43 android:layout_height="wrap_content"
Jeff Sharkey54d0af52011-08-11 18:26:57 -070044 android:paddingLeft="@*android:dimen/preference_item_padding_side"
45 android:paddingRight="@*android:dimen/preference_item_padding_side"
Jeff Sharkeyd360e5e2011-07-26 19:30:26 -070046 android:paddingTop="8dip"
47 android:paddingBottom="8dip"
Jeff Sharkeyd39c6e42011-08-04 21:17:23 -070048 android:singleLine="true"
49 android:ellipsize="marquee"
Jeff Sharkeyd360e5e2011-07-26 19:30:26 -070050 android:textAppearance="?android:attr/textAppearanceSmall" />
Jeff Sharkey8a503642011-06-10 13:31:21 -070051
Jeff Sharkeye2afc0f2011-08-01 15:29:30 -070052 <TextView
53 android:id="@android:id/empty"
54 android:layout_width="match_parent"
55 android:layout_height="wrap_content"
56 android:visibility="gone"
Jeff Sharkey54d0af52011-08-11 18:26:57 -070057 android:paddingLeft="@*android:dimen/preference_item_padding_side"
58 android:paddingRight="@*android:dimen/preference_item_padding_side"
Jeff Sharkeye2afc0f2011-08-01 15:29:30 -070059 android:paddingTop="8dip"
60 android:paddingBottom="8dip"
61 android:text="@string/data_usage_empty"
62 android:textAppearance="?android:attr/textAppearanceSmall" />
63
Jeff Sharkeyf54f4352011-06-23 22:15:54 -070064 <include layout="@layout/data_usage_detail" />
65
Jeff Sharkey8a503642011-06-10 13:31:21 -070066</LinearLayout>