summaryrefslogtreecommitdiffstats
path: root/packages/VpnDialogs/res
diff options
context:
space:
mode:
authorJeff Davidson <jpd@google.com>2014-08-23 02:48:48 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-23 02:48:48 +0000
commitc52b5b1fc1d0c09883dc6886bc03548ba5bea2be (patch)
treed291b38c08d57fbd02b198fe1ee8f75d1a8bd302 /packages/VpnDialogs/res
parentc57a47a02cedfd6f053ca5a695fbbe4b6b6c7daf (diff)
parent445c45ecf25b6b7f272096a3beb4749ae616f01b (diff)
downloadframeworks_base-c52b5b1fc1d0c09883dc6886bc03548ba5bea2be.zip
frameworks_base-c52b5b1fc1d0c09883dc6886bc03548ba5bea2be.tar.gz
frameworks_base-c52b5b1fc1d0c09883dc6886bc03548ba5bea2be.tar.bz2
am 9f207f97: am 78595786: Merge "Restore legacy VPN stats dialog." into lmp-dev
* commit '9f207f97d7b04465f3ed86af1ce855f1a84c40d9': 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>
+