From 95c1003f1c6ea957065fa752d89c9f64b599461c Mon Sep 17 00:00:00 2001 From: Jake Hamby Date: Mon, 11 Jun 2012 17:04:14 -0700 Subject: Fix Bluetooth enable dialog to match Android style guide. When an app requests to enable Bluetooth and/or Bluetooth discovery, we show a dialog for user confirmation. Remove the dialog title, update the message text and button labels to be more descriptive, and use the standard dialog layout instead of a custom layout. Also fixes the button layout on the Bluetooth permission test app so that the "Discoverable" button doesn't wrap to two lines. Bug: 6001468 Change-Id: I731e2f31b4c822395fc3f83584a092550d9ae7d3 --- tests/res/layout/bluetooth_request_permission_test.xml | 6 +++--- .../android/settings/tests/BluetoothRequestPermissionTest.java | 8 +++++++- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/res/layout/bluetooth_request_permission_test.xml b/tests/res/layout/bluetooth_request_permission_test.xml index 0a5aec0..b62db19 100644 --- a/tests/res/layout/bluetooth_request_permission_test.xml +++ b/tests/res/layout/bluetooth_request_permission_test.xml @@ -32,19 +32,19 @@ style="@android:style/ButtonBar">