summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorPauloftheWest <paulofthewest@google.com>2014-06-24 07:42:27 -0700
committerPauloftheWest <paulofthewest@google.com>2014-07-08 11:26:22 -0700
commit7837b999862cf341b0f124be7ace1dfc64d0a5a8 (patch)
treebd69705cee106705dcbc1c5a37f3d3ddb4709901 /res/layout
parent2a2b22a01913a15b966528f32940d8ddeac5e827 (diff)
downloadpackages_apps_Settings-7837b999862cf341b0f124be7ace1dfc64d0a5a8.zip
packages_apps_Settings-7837b999862cf341b0f124be7ace1dfc64d0a5a8.tar.gz
packages_apps_Settings-7837b999862cf341b0f124be7ace1dfc64d0a5a8.tar.bz2
Added Saved networks UI to Wifi
+ Added Saved networks to Overflow menu + Moved WPS Pin Entry from Overflow menu to Advance Setting Activity + "Automatically manage Wi-Fi : Let a Wi-Fi assistant manage your connection" + "Wi-Fi assistant : <selected assistant> [cog secondary hit target] + MAC address & IP address list items have the static italic style - "Avoid poor connections" from Advance Settings - "Wi-Fi optimization" from Advance Settings Bug: 15698824 Change-Id: Ieb25b29874752db07398dcb200ec07862779f507
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/wifi_advance_layout.xml64
1 files changed, 64 insertions, 0 deletions
diff --git a/res/layout/wifi_advance_layout.xml b/res/layout/wifi_advance_layout.xml
new file mode 100644
index 0000000..b4a257a
--- /dev/null
+++ b/res/layout/wifi_advance_layout.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 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="wrap_content"
+ android:minHeight="48dip"
+ android:gravity="center_vertical"
+ android:background="?android:attr/selectableItemBackground">
+
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:paddingTop="6dip"
+ android:paddingBottom="6dip">
+
+ <TextView
+ android:id="@+android:id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
+ android:singleLine="true"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:ellipsize="marquee"
+ android:fadingEdge="horizontal" />
+
+ <TextView
+ android:id="@android:id/summary"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@android:id/title"
+ android:layout_alignStart="@android:id/title"
+ android:paddingStart="16dip"
+ android:layout_marginEnd="16dip"
+ android:visibility="gone"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="?android:attr/textColorSecondary"
+ android:maxLines="4" />
+
+ </RelativeLayout>
+
+ <LinearLayout
+ android:id="@android:id/widget_frame"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:gravity="center_vertical"
+ android:orientation="vertical" />
+
+</LinearLayout>