From 693fe62fe09b24b5f9895e7a11d289db8f013964 Mon Sep 17 00:00:00 2001 From: jackqdyulei Date: Mon, 14 Aug 2017 16:24:50 -0700 Subject: [PATCH] Add UI components for bluetooth anomaly Bug: 62602318 Test: make -j40 AnomalyTester Change-Id: I4584e6ada784d8d87558a5b30cf55e2de33d443a --- .../res/layout/activity_main.xml | 36 +++++++++++- .../res/layout/bluetooth_anomaly.xml | 55 +++++++++++++++++++ .../anomaly/tester/AnomalyActivity.java | 6 +- 3 files changed, 93 insertions(+), 4 deletions(-) create mode 100644 tests/anomaly-tester/res/layout/bluetooth_anomaly.xml diff --git a/tests/anomaly-tester/res/layout/activity_main.xml b/tests/anomaly-tester/res/layout/activity_main.xml index 6977d78370a..63d025efbe3 100644 --- a/tests/anomaly-tester/res/layout/activity_main.xml +++ b/tests/anomaly-tester/res/layout/activity_main.xml @@ -20,8 +20,38 @@ android:layout_width="match_parent" android:orientation="vertical"> - + android:layout_height="0dp" + android:layout_weight="4" + android:padding="4dp" + android:textSize="16sp"> + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/anomaly-tester/res/layout/bluetooth_anomaly.xml b/tests/anomaly-tester/res/layout/bluetooth_anomaly.xml new file mode 100644 index 00000000000..7de558e29b1 --- /dev/null +++ b/tests/anomaly-tester/res/layout/bluetooth_anomaly.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + +