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" |
Jeff Sharkey | 54d0af5 | 2011-08-11 18:26:57 -0700 | [diff] [blame] | 44 | android:paddingLeft="@*android:dimen/preference_item_padding_side" |
| 45 | android:paddingRight="@*android:dimen/preference_item_padding_side" |
Jeff Sharkey | d360e5e | 2011-07-26 19:30:26 -0700 | [diff] [blame] | 46 | android:paddingTop="8dip" |
| 47 | android:paddingBottom="8dip" |
Jeff Sharkey | d39c6e4 | 2011-08-04 21:17:23 -0700 | [diff] [blame] | 48 | android:singleLine="true" |
| 49 | android:ellipsize="marquee" |
Jeff Sharkey | d360e5e | 2011-07-26 19:30:26 -0700 | [diff] [blame] | 50 | android:textAppearance="?android:attr/textAppearanceSmall" /> |
Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 51 | |
Jeff Sharkey | e2afc0f | 2011-08-01 15:29:30 -0700 | [diff] [blame] | 52 | <TextView |
| 53 | android:id="@android:id/empty" |
| 54 | android:layout_width="match_parent" |
| 55 | android:layout_height="wrap_content" |
| 56 | android:visibility="gone" |
Jeff Sharkey | 54d0af5 | 2011-08-11 18:26:57 -0700 | [diff] [blame] | 57 | android:paddingLeft="@*android:dimen/preference_item_padding_side" |
| 58 | android:paddingRight="@*android:dimen/preference_item_padding_side" |
Jeff Sharkey | e2afc0f | 2011-08-01 15:29:30 -0700 | [diff] [blame] | 59 | android:paddingTop="8dip" |
| 60 | android:paddingBottom="8dip" |
| 61 | android:text="@string/data_usage_empty" |
| 62 | android:textAppearance="?android:attr/textAppearanceSmall" /> |
| 63 | |
Jeff Sharkey | f54f435 | 2011-06-23 22:15:54 -0700 | [diff] [blame] | 64 | <include layout="@layout/data_usage_detail" /> |
| 65 | |
Jeff Sharkey | 8a50364 | 2011-06-10 13:31:21 -0700 | [diff] [blame] | 66 | </LinearLayout> |