aboutsummaryrefslogtreecommitdiff
path: root/connectivity/bluetooth/BluetoothChat/BluetoothChatSample/src/main/res/layout/activity_device_list.xml
diff options
context:
space:
mode:
authorYuichi Araki <yaraki@google.com>2014-09-12 18:16:02 +0900
committerYuichi Araki <yaraki@google.com>2014-09-12 18:16:02 +0900
commit1b6f4fd1a5ad27cda048471e5c4cd4cb163a327f (patch)
treea47f0c421a938f9ef59d3ab2f865215286bff2c9 /connectivity/bluetooth/BluetoothChat/BluetoothChatSample/src/main/res/layout/activity_device_list.xml
parent98fff6e6a9e266aeacdade12d09d7d7320ef6000 (diff)
downloadandroid-1b6f4fd1a5ad27cda048471e5c4cd4cb163a327f.tar.gz
BluetoothChat: Fix crash on screen rotation.
Change-Id: Iea68505414b331b83e8c36473d7fab92a335a5b3
Diffstat (limited to 'connectivity/bluetooth/BluetoothChat/BluetoothChatSample/src/main/res/layout/activity_device_list.xml')
-rw-r--r--connectivity/bluetooth/BluetoothChat/BluetoothChatSample/src/main/res/layout/activity_device_list.xml66
1 files changed, 0 insertions, 66 deletions
diff --git a/connectivity/bluetooth/BluetoothChat/BluetoothChatSample/src/main/res/layout/activity_device_list.xml b/connectivity/bluetooth/BluetoothChat/BluetoothChatSample/src/main/res/layout/activity_device_list.xml
deleted file mode 100644
index ae7242cf..00000000
--- a/connectivity/bluetooth/BluetoothChat/BluetoothChatSample/src/main/res/layout/activity_device_list.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2014 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.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- >
-
- <TextView
- android:id="@+id/title_paired_devices"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="#666"
- android:paddingLeft="5dp"
- android:text="@string/title_paired_devices"
- android:textColor="#fff"
- android:visibility="gone"
- />
-
- <ListView
- android:id="@+id/paired_devices"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:stackFromBottom="true"
- />
-
- <TextView
- android:id="@+id/title_new_devices"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="#666"
- android:paddingLeft="5dp"
- android:text="@string/title_other_devices"
- android:textColor="#fff"
- android:visibility="gone"
- />
-
- <ListView
- android:id="@+id/new_devices"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="2"
- android:stackFromBottom="true"
- />
-
- <Button
- android:id="@+id/button_scan"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/button_scan"
- />
-</LinearLayout>