diff options
Diffstat (limited to 'res/layout/bluetooth_pin_entry.xml')
-rw-r--r-- | res/layout/bluetooth_pin_entry.xml | 37 |
1 files changed, 23 insertions, 14 deletions
diff --git a/res/layout/bluetooth_pin_entry.xml b/res/layout/bluetooth_pin_entry.xml index 44d9dde71..caca4fb50 100644 --- a/res/layout/bluetooth_pin_entry.xml +++ b/res/layout/bluetooth_pin_entry.xml @@ -29,22 +29,31 @@ android:orientation="vertical"> <TextView - android:id="@+id/message" + android:id="@+id/message_caption" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginStart="20dip" - android:layout_marginEnd="20dip" - android:layout_marginTop="20dip" - android:layout_marginBottom="20dip" + android:layout_marginStart="@dimen/bluetooth_dialog_padding" + android:layout_marginEnd="@dimen/bluetooth_dialog_padding" + android:layout_marginTop="@dimen/bluetooth_dialog_padding" android:gravity="center_vertical" - android:textAppearance="?android:attr/textAppearanceMedium" /> + android:textAppearance="@android:style/TextAppearance.Material.Caption" /> + + <TextView + android:id="@+id/message_subhead" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="@dimen/bluetooth_dialog_padding" + android:layout_marginEnd="@dimen/bluetooth_dialog_padding" + android:layout_marginBottom="@dimen/bluetooth_dialog_padding" + android:gravity="center_vertical" + android:textAppearance="@android:style/TextAppearance.Material.Subhead" /> <EditText android:id="@+id/text" android:layout_height="wrap_content" android:layout_width="match_parent" - android:layout_marginStart="20dip" - android:layout_marginEnd="20dip" + android:layout_marginStart="@dimen/bluetooth_dialog_padding" + android:layout_marginEnd="@dimen/bluetooth_dialog_padding" android:inputType="textPassword" android:singleLine="true" /> @@ -53,8 +62,8 @@ android:text="@string/bluetooth_pin_values_hint" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginStart="20dip" - android:layout_marginEnd="20dip" + android:layout_marginStart="@dimen/bluetooth_dialog_padding" + android:layout_marginEnd="@dimen/bluetooth_dialog_padding" android:gravity="center_vertical" android:textAppearance="?android:attr/textAppearanceSmall" /> @@ -63,8 +72,8 @@ android:text="@string/bluetooth_enable_alphanumeric_pin" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginStart="20dip" - android:layout_marginEnd="20dip" + android:layout_marginStart="@dimen/bluetooth_dialog_padding" + android:layout_marginEnd="@dimen/bluetooth_dialog_padding" android:gravity="center" android:textAppearance="?android:attr/textAppearanceSmall" /> @@ -72,8 +81,8 @@ android:id="@+id/message_below_pin" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginStart="20dip" - android:layout_marginEnd="20dip" + android:layout_marginStart="@dimen/bluetooth_dialog_padding" + android:layout_marginEnd="@dimen/bluetooth_dialog_padding" android:gravity="center_vertical" android:textAppearance="?android:attr/textAppearanceMedium" /> |