1 <?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" 20 android:orientation="vertical" 21 android:clipChildren="false" 22 android:clipToPadding="false"> 23 24 <FrameLayout 25 android:id="@+id/network_switches_container" 26 android:layout_width="match_parent" 27 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> 36 37 <include layout="@layout/data_usage_chart" /> 38 39 <TextView 40 android:id="@+id/disclaimer" 41 android:layout_width="match_parent" 42 android:layout_height="wrap_content" 43 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" 47 android:paddingStart="?android:attr/listPreferredItemPaddingStart" 48 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" 49 android:paddingTop="8dp" 50 android:paddingBottom="0dp" /> 51 52 <TextView 53 android:id="@android:id/empty" 54 android:layout_width="match_parent" 55 android:layout_height="wrap_content" 56 android:gravity="center_vertical" 57 android:visibility="gone" 58 android:text="@string/data_usage_empty" 59 android:textAppearance="@android:style/TextAppearance.Material.Body1" 60 android:textColor="?android:attr/textColorSecondary" 61 android:paddingStart="?android:attr/listPreferredItemPaddingStart" 62 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" 63 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" /> 70 71 <include layout="@layout/data_usage_detail" /> 72 73 </LinearLayout> 74