summaryrefslogtreecommitdiffstats
path: root/res/values-sw720dp
diff options
context:
space:
mode:
authorPauloftheWest <paulofthewest@google.com>2014-10-02 06:22:47 -0700
committerPauloftheWest <paulofthewest@google.com>2014-10-02 14:25:03 -0700
commit6e26427e521a79a11c1a9e1b64995494290eaf7c (patch)
tree2cd90dae54ca16540c8fbdf5ccce2bac257e106a /res/values-sw720dp
parent59d33dbd25d8ca968e03bdeefedea9b0fe2e01f3 (diff)
downloadpackages_apps_Settings-6e26427e521a79a11c1a9e1b64995494290eaf7c.zip
packages_apps_Settings-6e26427e521a79a11c1a9e1b64995494290eaf7c.tar.gz
packages_apps_Settings-6e26427e521a79a11c1a9e1b64995494290eaf7c.tar.bz2
Updated Wi-Fi hotspot dialog to the Material Spec.
+ If there is scrolling then force the scrollbars to always appear. + Align contents of the dialog with the title. + Change "Network SSID" to "Network name". + Added wifi_* styles to other style xml files so that Wi-Fi hotspot dialogs are visible on tablets. + Move layout_width/height from res/layout/{wifi_dialog.xml, wifi_dialog_row.xml} from style into the xml file. Bug: 17684359 Change-Id: I42fb69132d6ba0fb8d9853de6f5524f29e6b70b6
Diffstat (limited to 'res/values-sw720dp')
-rw-r--r--res/values-sw720dp/styles.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/res/values-sw720dp/styles.xml b/res/values-sw720dp/styles.xml
index 645d1fe..55fbe04 100644
--- a/res/values-sw720dp/styles.xml
+++ b/res/values-sw720dp/styles.xml
@@ -18,4 +18,38 @@
<style name="KeyguardAppWidgetItem">
<item name="android:textSize">18sp</item>
</style>
+
+ <style name="wifi_item">
+ <item name="android:layout_marginTop">8dip</item>
+ <item name="android:layout_marginStart">8dip</item>
+ <item name="android:layout_marginEnd">8dip</item>
+ <item name="android:paddingStart">8dip</item>
+ <item name="android:paddingEnd">8dip</item>
+ <item name="android:orientation">vertical</item>
+ <item name="android:gravity">start</item>
+ </style>
+
+ <style name="wifi_item_label">
+ <item name="android:paddingStart">8dip</item>
+ <item name="android:textSize">14sp</item>
+ <item name="android:textAlignment">viewStart</item>
+ <item name="android:textAppearance">@android:style/TextAppearance.Material.Body1</item>
+ <item name="android:textColor">@*android:color/secondary_text_default_material_light</item>
+ </style>
+
+ <style name="wifi_item_content">
+ <item name="android:textAlignment">viewStart</item>
+ <item name="android:textAppearance">@android:style/TextAppearance.Material.Subhead</item>
+ <item name="android:textColor">@*android:color/primary_text_default_material_light</item>
+ </style>
+
+ <style name="wifi_item_edit_content">
+ <item name="android:paddingStart">4dip</item>
+ <item name="android:layout_marginStart">4dip</item>
+ <item name="android:textSize">18sp</item>
+ </style>
+
+ <style name="wifi_section">
+ <item name="android:orientation">vertical</item>
+ </style>
</resources>