summaryrefslogtreecommitdiffstats
path: root/packages/VpnDialogs/res
diff options
context:
space:
mode:
authorJeff Davidson <jpd@google.com>2014-08-25 08:23:13 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-25 08:23:13 +0000
commit5c470843a4090c05018a429136ea98158e6506fc (patch)
tree546375c2906ed26c326846ac578aa054213c5cca /packages/VpnDialogs/res
parentb3a523249e01bff3463abb5ae717394d0f5bf0ad (diff)
parentc52b5b1fc1d0c09883dc6886bc03548ba5bea2be (diff)
downloadframeworks_base-5c470843a4090c05018a429136ea98158e6506fc.zip
frameworks_base-5c470843a4090c05018a429136ea98158e6506fc.tar.gz
frameworks_base-5c470843a4090c05018a429136ea98158e6506fc.tar.bz2
am baf519c9: am 9f207f97: am 78595786: Merge "Restore legacy VPN stats dialog." into lmp-dev
* commit 'baf519c9599a7ecb06db3281746708e5ccdeb10c': Restore legacy VPN stats dialog.
Diffstat (limited to 'packages/VpnDialogs/res')
-rw-r--r--packages/VpnDialogs/res/layout/manage.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/packages/VpnDialogs/res/layout/manage.xml b/packages/VpnDialogs/res/layout/manage.xml
new file mode 100644
index 0000000..6b504e4
--- /dev/null
+++ b/packages/VpnDialogs/res/layout/manage.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="3mm"
+ android:stretchColumns="0,1"
+ android:shrinkColumns="1">
+
+ <TableRow>
+ <TextView android:text="@string/session" style="@style/label"/>
+ <TextView android:id="@+id/session" style="@style/value"/>
+ </TableRow>
+
+ <TableRow>
+ <TextView android:text="@string/duration" style="@style/label"/>
+ <TextView android:id="@+id/duration" style="@style/value"/>
+ </TableRow>
+
+ <TableRow android:id="@+id/data_transmitted_row" android:visibility="gone">
+ <TextView android:text="@string/data_transmitted" style="@style/label"/>
+ <TextView android:id="@+id/data_transmitted" style="@style/value"/>
+ </TableRow>
+
+ <TableRow android:id="@+id/data_received_row" android:visibility="gone">
+ <TextView android:text="@string/data_received" style="@style/label"/>
+ <TextView android:id="@+id/data_received" style="@style/value"/>
+ </TableRow>
+
+</TableLayout>
+