blob: 2fcceecff316a885083cf634acddf6d62303c93d [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"
Jeff Sharkeyb6548462014-07-21 15:38:06 -070022 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_chart" />
38
39 <TextView
Jeff Sharkeyb6548462014-07-21 15:38:06 -070040 android:id="@+id/disclaimer"
Jeff Sharkey8a503642011-06-10 13:31:21 -070041 android:layout_width="match_parent"
42 android:layout_height="wrap_content"
Jeff Sharkeyb6548462014-07-21 15:38:06 -070043 android:gravity="center_vertical"
44 android:text="@string/data_usage_disclaimer"
45 android:textAppearance="@android:style/TextAppearance.Material.Body1"
46 android:textColor="?android:attr/textColorSecondary"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070047 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
48 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
Jeff Sharkeyb6548462014-07-21 15:38:06 -070049 android:paddingTop="8dp"
50 android:paddingBottom="0dp" />
Jeff Sharkeycad3b872011-10-10 17:04:12 -070051
52 <TextView
Jeff Sharkeye2afc0f2011-08-01 15:29:30 -070053 android:id="@android:id/empty"
54 android:layout_width="match_parent"
55 android:layout_height="wrap_content"
Jeff Sharkeyb6548462014-07-21 15:38:06 -070056 android:gravity="center_vertical"
Jeff Sharkeye2afc0f2011-08-01 15:29:30 -070057 android:visibility="gone"
Jeff Sharkeyb6548462014-07-21 15:38:06 -070058 android:text="@string/data_usage_empty"
59 android:textAppearance="@android:style/TextAppearance.Material.Body1"
60 android:textColor="?android:attr/textColorSecondary"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070061 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
62 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
Jeff Sharkeyb6548462014-07-21 15:38:06 -070063 android:paddingTop="4dp"
64 android:paddingBottom="0dp" />
65
66 <View
67 android:id="@+id/stupid_padding"
68 android:layout_width="match_parent"
69 android:layout_height="8dp" />
Jeff Sharkeye2afc0f2011-08-01 15:29:30 -070070
Jeff Sharkeyf54f4352011-06-23 22:15:54 -070071 <include layout="@layout/data_usage_detail" />
72
Jeff Sharkey8a503642011-06-10 13:31:21 -070073</LinearLayout>