diff options
author | PauloftheWest <paulofthewest@google.com> | 2014-08-15 06:05:42 -0700 |
---|---|---|
committer | PauloftheWest <paulofthewest@google.com> | 2014-08-27 13:17:51 -0700 |
commit | e49c30e533be90280b4a6e9cb0065adb1b43b104 (patch) | |
tree | 0132a1bc6c6e61d994e5c84fcc7d94eca71abb3c /res/layout/bluetooth_pin_confirm.xml | |
parent | 18fbf724aac345418eba37c656b968f19acd15f7 (diff) | |
download | packages_apps_Settings-e49c30e533be90280b4a6e9cb0065adb1b43b104.zip packages_apps_Settings-e49c30e533be90280b4a6e9cb0065adb1b43b104.tar.gz packages_apps_Settings-e49c30e533be90280b4a6e9cb0065adb1b43b104.tar.bz2 |
Applied Material Spec to Bluetooth pairing dialog.
Bug: 17018290
Change-Id: I621164245e6ad8213a689ea4919c619a9ee4f189
Diffstat (limited to 'res/layout/bluetooth_pin_confirm.xml')
-rw-r--r-- | res/layout/bluetooth_pin_confirm.xml | 58 |
1 files changed, 52 insertions, 6 deletions
diff --git a/res/layout/bluetooth_pin_confirm.xml b/res/layout/bluetooth_pin_confirm.xml index a768908..2e2cd7f 100644 --- a/res/layout/bluetooth_pin_confirm.xml +++ b/res/layout/bluetooth_pin_confirm.xml @@ -29,15 +29,61 @@ 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.Body1" + android:textColor="@*android:color/secondary_text_material_light" /> + + <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" /> + + <TextView + android:id="@+id/pairing_caption" + 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:gravity="center_vertical" + android:text="@string/bluetooth_pairing_key_msg" + android:visibility="gone" + android:textAppearance="@android:style/TextAppearance.Material.Body1" + android:textColor="@*android:color/secondary_text_material_light" /> + + <TextView + android:id="@+id/pairing_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:visibility="gone" + android:textAppearance="@android:style/TextAppearance.Material.Headline" /> + + <TextView + android:id="@+id/pairing_code_message" + 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:text="@string/bluetooth_enter_passkey_msg" + android:textAppearance="@android:style/TextAppearance.Material.Subhead" + android:textColor="@*android:color/secondary_text_material_light" + android:visibility="gone" /> </LinearLayout> |