summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorAndres Morales <anmorales@google.com>2014-07-01 11:51:46 -0700
committerAndres Morales <anmorales@google.com>2014-07-01 18:52:39 +0000
commit9246b06e52afbdf62978f6c2529392d194819af7 (patch)
tree890438059fd09ef864f6b51c660bd86637c455cf /res/layout
parent113b8d83f77c13e09e6eaf72aa4401c13d1e9f80 (diff)
downloadpackages_apps_Settings-9246b06e52afbdf62978f6c2529392d194819af7.zip
packages_apps_Settings-9246b06e52afbdf62978f6c2529392d194819af7.tar.gz
packages_apps_Settings-9246b06e52afbdf62978f6c2529392d194819af7.tar.bz2
Fix Write to NFC Tag dialog layout for tablets
Change-Id: I10a846dd328ff7b3f06350ff93197712495d2fb4
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/write_wifi_config_to_nfc.xml24
1 files changed, 16 insertions, 8 deletions
diff --git a/res/layout/write_wifi_config_to_nfc.xml b/res/layout/write_wifi_config_to_nfc.xml
index f132bdb..ee1bb7c 100644
--- a/res/layout/write_wifi_config_to_nfc.xml
+++ b/res/layout/write_wifi_config_to_nfc.xml
@@ -25,29 +25,37 @@
<TextView
android:id="@+id/password_label"
- android:layout_gravity="fill"
- style="@style/wifi_item_label"
+ style="?android:attr/textAppearanceSmall"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="4dip"
android:text="@string/wifi_password" />
<EditText android:id="@+id/password"
- style="@style/wifi_item_edit_content"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
android:singleLine="true"
- android:password="true" />
-
+ android:password="true"
+ android:maxLength="63"
+ android:imeOptions="flagForceAscii" />
<TextView
- style="@style/wifi_item_label" />
+ style="@style/wifi_item_label"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
<CheckBox android:id="@+id/show_password"
style="@style/wifi_item_content"
android:textSize="14sp"
- android:text="@string/wifi_show_password" />
+ android:text="@string/wifi_show_password"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
</LinearLayout>
<ProgressBar
android:id="@+id/progress_bar"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:padding="8dip"