blob: 8079fe19d63eac058b8ef05aa5cce248f2a9b29e [file] [log] [blame]
Jeff Sharkey4dfa6602011-06-13 00:42:03 -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
Jeff Sharkeyf54f4352011-06-23 22:15:54 -070017<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:id="@+id/app_detail"
Jeff Sharkey4dfa6602011-06-13 00:42:03 -070019 android:layout_width="match_parent"
Jeff Sharkey54d0af52011-08-11 18:26:57 -070020 android:layout_height="wrap_content"
Jeff Sharkeyb6548462014-07-21 15:38:06 -070021 android:paddingTop="4dp"
Jeff Sharkey92811822012-05-04 11:47:29 -070022 android:orientation="vertical"
23 android:visibility="gone">
Jeff Sharkeyf54f4352011-06-23 22:15:54 -070024
Jeff Sharkeyd39c6e42011-08-04 21:17:23 -070025 <LinearLayout
Jeff Sharkeyf54f4352011-06-23 22:15:54 -070026 android:layout_width="match_parent"
Jeff Sharkey54d0af52011-08-11 18:26:57 -070027 android:layout_height="wrap_content"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070028 android:layout_marginStart="?android:attr/listPreferredItemPaddingStart"
29 android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd"
Jeff Sharkeyb6548462014-07-21 15:38:06 -070030 android:layout_marginBottom="16dip"
Jeff Sharkey54d0af52011-08-11 18:26:57 -070031 android:orientation="horizontal">
32
Jeff Sharkeyb6548462014-07-21 15:38:06 -070033 <ImageView
34 android:id="@+id/app_icon"
35 android:layout_width="@android:dimen/app_icon_size"
36 android:layout_height="@android:dimen/app_icon_size"
37 android:layout_marginEnd="8dip"
38 android:scaleType="centerInside"
39 android:contentDescription="@null" />
40
Jeff Sharkey54d0af52011-08-11 18:26:57 -070041 <LinearLayout
42 android:layout_width="0dip"
43 android:layout_height="wrap_content"
44 android:layout_weight="1"
Jeff Sharkey92811822012-05-04 11:47:29 -070045 android:layout_marginTop="8dip"
Jeff Sharkey54d0af52011-08-11 18:26:57 -070046 android:orientation="vertical">
47
Jeff Sharkey54d0af52011-08-11 18:26:57 -070048 <LinearLayout
49 android:id="@+id/app_titles"
50 android:layout_width="match_parent"
51 android:layout_height="wrap_content"
Fabrice Di Meglio9051e3c2012-10-17 17:50:05 -070052 android:orientation="vertical"
Jeff Sharkeyb6548462014-07-21 15:38:06 -070053 android:paddingBottom="4dip"
Fabrice Di Meglio9051e3c2012-10-17 17:50:05 -070054 android:textAlignment="viewStart" />
Jeff Sharkey54d0af52011-08-11 18:26:57 -070055
Jeff Sharkeyb6548462014-07-21 15:38:06 -070056 <LinearLayout
Jeff Sharkey54d0af52011-08-11 18:26:57 -070057 android:layout_width="match_parent"
Jeff Sharkeyb6548462014-07-21 15:38:06 -070058 android:layout_height="wrap_content">
59 <TextView
60 android:id="@+id/app_title"
61 android:layout_width="0dp"
62 android:layout_height="wrap_content"
63 android:layout_weight="1"
64 android:singleLine="true"
65 android:ellipsize="marquee"
66 android:text="@string/data_usage_label_foreground"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050067 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
Jeff Sharkeyb6548462014-07-21 15:38:06 -070068 android:textColor="?android:attr/textColorSecondary"
69 android:textAlignment="viewStart" />
70 <TextView
71 android:id="@+id/app_foreground"
72 android:layout_width="wrap_content"
73 android:layout_height="wrap_content"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050074 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
Jeff Sharkeyb6548462014-07-21 15:38:06 -070075 android:textColor="?android:attr/textColorSecondary"
76 android:textAlignment="viewEnd" />
77 </LinearLayout>
Fabrice Di Meglio9051e3c2012-10-17 17:50:05 -070078
Jeff Sharkeyb6548462014-07-21 15:38:06 -070079 <LinearLayout
Jeff Sharkey54d0af52011-08-11 18:26:57 -070080 android:layout_width="match_parent"
Jeff Sharkeyb6548462014-07-21 15:38:06 -070081 android:layout_height="wrap_content">
82 <TextView
83 android:id="@+id/app_title"
84 android:layout_width="0dp"
85 android:layout_height="wrap_content"
86 android:layout_weight="1"
87 android:singleLine="true"
88 android:ellipsize="marquee"
89 android:text="@string/data_usage_label_background"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050090 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
Jeff Sharkeyb6548462014-07-21 15:38:06 -070091 android:textColor="?android:attr/textColorSecondary"
92 android:textAlignment="viewStart" />
93 <TextView
94 android:id="@+id/app_background"
95 android:layout_width="wrap_content"
96 android:layout_height="wrap_content"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050097 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
Jeff Sharkeyb6548462014-07-21 15:38:06 -070098 android:textColor="?android:attr/textColorSecondary"
99 android:textAlignment="viewEnd" />
100 </LinearLayout>
Jeff Sharkey54d0af52011-08-11 18:26:57 -0700101
102 </LinearLayout>
103
Jeff Sharkey54d0af52011-08-11 18:26:57 -0700104 </LinearLayout>
Jeff Sharkey4dfa6602011-06-13 00:42:03 -0700105
Jeff Sharkeyb6548462014-07-21 15:38:06 -0700106 <LinearLayout
Jeff Sharkeyf54f4352011-06-23 22:15:54 -0700107 android:layout_width="match_parent"
108 android:layout_height="wrap_content"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -0700109 android:layout_marginStart="?android:attr/listPreferredItemPaddingStart"
110 android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd"
Jeff Sharkey54d0af52011-08-11 18:26:57 -0700111 android:layout_marginBottom="16dip"
Jeff Sharkeyb6548462014-07-21 15:38:06 -0700112 android:orientation="horizontal">
113 <Space
114 android:layout_width="0dp"
115 android:layout_height="0dp"
116 android:layout_weight="0.5" />
117 <Button
118 android:id="@+id/app_settings"
Sanket Padawe5f7560f2015-06-11 10:34:38 -0700119 android:layout_width="wrap_content"
Jeff Sharkeyb6548462014-07-21 15:38:06 -0700120 android:layout_height="wrap_content"
121 android:layout_weight="0.5"
122 android:text="@string/data_usage_app_settings" />
123 </LinearLayout>
Jeff Sharkey4dfa6602011-06-13 00:42:03 -0700124
Jeff Sharkeyf54f4352011-06-23 22:15:54 -0700125 <LinearLayout
126 android:id="@+id/app_switches"
127 android:layout_width="match_parent"
128 android:layout_height="wrap_content"
Jeff Sharkeyb6548462014-07-21 15:38:06 -0700129 android:orientation="vertical"
130 android:showDividers="beginning|middle"
131 android:divider="?android:attr/listDivider" />
Jeff Sharkey4dfa6602011-06-13 00:42:03 -0700132
Jeff Sharkeyf54f4352011-06-23 22:15:54 -0700133</LinearLayout>