diff options
Diffstat (limited to 'res/layout/bluetooth_pin_entry.xml')
-rw-r--r-- | res/layout/bluetooth_pin_entry.xml | 38 |
1 files changed, 34 insertions, 4 deletions
diff --git a/res/layout/bluetooth_pin_entry.xml b/res/layout/bluetooth_pin_entry.xml index b0c1216..ef73a79 100644 --- a/res/layout/bluetooth_pin_entry.xml +++ b/res/layout/bluetooth_pin_entry.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- /* -** Copyright 2008, The Android Open Source Project +** Copyright 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. @@ -30,23 +30,53 @@ <TextView android:id="@+id/message" - android:layout_width="match_parent" + android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20dip" android:layout_marginRight="20dip" - android:gravity="center_horizontal" + android:layout_marginTop="20dip" + android:layout_marginBottom="20dip" + android:gravity="center_vertical" android:textAppearance="?android:attr/textAppearanceMedium" /> <EditText android:id="@+id/text" android:layout_height="wrap_content" android:layout_width="match_parent" - android:layout_marginTop="20dip" android:layout_marginLeft="20dip" android:layout_marginRight="20dip" android:inputType="textPassword" android:singleLine="true" /> + <TextView + android:id="@+id/pin_values_hint" + android:text="@string/bluetooth_pin_values_hint" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="20dip" + android:layout_marginRight="20dip" + android:gravity="center_vertical" + android:textAppearance="?android:attr/textAppearanceSmall" /> + + <CheckBox + android:id="@+id/alphanumeric_pin" + android:text="@string/bluetooth_enable_alphanumeric_pin" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="20dip" + android:layout_marginRight="20dip" + android:gravity="center" + android:textAppearance="?android:attr/textAppearanceSmall" /> + + <TextView + android:id="@+id/message_below_pin" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="20dip" + android:layout_marginRight="20dip" + android:gravity="center_vertical" + android:textAppearance="?android:attr/textAppearanceMedium" /> + </LinearLayout> </ScrollView> |