summaryrefslogtreecommitdiffstats
path: root/res/layout/setup_wifi_mac_address.xml
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2015-04-27 18:24:16 -0700
committerMaurice Lam <yukl@google.com>2015-04-30 10:22:40 -0700
commit572eb42e1d5e300d9735e298dfb2622a770b9a39 (patch)
tree5c94fab9fb1efc1c70fd0618e5d46392d3e34616 /res/layout/setup_wifi_mac_address.xml
parenta8e22985d7866fb0528d85d9710a5bc0f482d91a (diff)
downloadpackages_apps_Settings-572eb42e1d5e300d9735e298dfb2622a770b9a39.zip
packages_apps_Settings-572eb42e1d5e300d9735e298dfb2622a770b9a39.tar.gz
packages_apps_Settings-572eb42e1d5e300d9735e298dfb2622a770b9a39.tar.bz2
[WifiSetup] Show MAC address in footer
Show the MAC address in footer so that advanced users can configure their router whitelist etc. Bug: 6939795 Change-Id: I858d21fb68f67f74e5b7e3a1960ea4d7966acb29
Diffstat (limited to 'res/layout/setup_wifi_mac_address.xml')
-rw-r--r--res/layout/setup_wifi_mac_address.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/res/layout/setup_wifi_mac_address.xml b/res/layout/setup_wifi_mac_address.xml
new file mode 100644
index 0000000..8f5703b
--- /dev/null
+++ b/res/layout/setup_wifi_mac_address.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2015 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.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/setup_add_network_item_height"
+ android:gravity="center_vertical"
+ android:orientation="vertical"
+ android:paddingStart="?android:attr/listPreferredItemPaddingStart"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingStart="@dimen/setup_list_no_icon_padding"
+ android:text="@string/wifi_advanced_mac_address_title" />
+
+ <TextView
+ android:id="@+id/mac_address"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingStart="@dimen/setup_list_no_icon_padding" />
+
+</LinearLayout>