Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 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" |
Jeff Sharkey | b654cbb | 2011-08-18 11:59:19 -0700 | [diff] [blame] | 20 | android:orientation="vertical" |
| 21 | android:clipChildren="false" |
| 22 | android:clipToPadding="false"> |
Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 23 | |
Jeff Sharkey | 2af35fb | 2011-06-24 17:30:27 -0700 | [diff] [blame] | 24 | <FrameLayout |
| 25 | android:id="@+id/network_switches_container" |
Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 26 | android:layout_width="match_parent" |
Jeff Sharkey | 2af35fb | 2011-06-24 17:30:27 -0700 | [diff] [blame] | 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> |
Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 36 | |
Jeff Sharkey | d360e5e | 2011-07-26 19:30:26 -0700 | [diff] [blame] | 37 | <include layout="@layout/data_usage_cycles" /> |
| 38 | <include layout="@layout/data_usage_chart" /> |
| 39 | |
| 40 | <TextView |
| 41 | android:id="@+id/usage_summary" |
Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 42 | android:layout_width="match_parent" |
| 43 | android:layout_height="wrap_content" |
Fabrice Di Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame^] | 44 | android:paddingStart="?android:attr/listPreferredItemPaddingStart" |
| 45 | android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" |
Jeff Sharkey | d360e5e | 2011-07-26 19:30:26 -0700 | [diff] [blame] | 46 | android:paddingTop="8dip" |
| 47 | android:paddingBottom="8dip" |
Jeff Sharkey | cad3b87 | 2011-10-10 17:04:12 -0700 | [diff] [blame] | 48 | android:textAppearance="?android:attr/textAppearanceSmall" /> |
| 49 | |
| 50 | <TextView |
Jeff Sharkey | e2afc0f | 2011-08-01 15:29:30 -0700 | [diff] [blame] | 51 | android:id="@android:id/empty" |
| 52 | android:layout_width="match_parent" |
| 53 | android:layout_height="wrap_content" |
| 54 | android:visibility="gone" |
Fabrice Di Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame^] | 55 | android:paddingStart="?android:attr/listPreferredItemPaddingStart" |
| 56 | android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" |
Jeff Sharkey | e2afc0f | 2011-08-01 15:29:30 -0700 | [diff] [blame] | 57 | android:paddingBottom="8dip" |
| 58 | android:text="@string/data_usage_empty" |
| 59 | android:textAppearance="?android:attr/textAppearanceSmall" /> |
| 60 | |
Jeff Sharkey | f54f435 | 2011-06-23 22:15:54 -0700 | [diff] [blame] | 61 | <include layout="@layout/data_usage_detail" /> |
| 62 | |
Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 63 | </LinearLayout> |