This sample demonstrates how to communicate with a Generic Attribute Profile (GATT) server over Bluetooth Low Energy. This feature is available on Android 4.3 (API level 18) and above platforms. You can test this sample app using any Bluetooth Low Energy-capable devices. If the device supports the Heart Rate Profile, the app will parse and display the heart rate. Change-Id: I69a4955cb9929f837e81ad1c19145ff45bdd27ec
24 lines
942 B
XML
24 lines
942 B
XML
<!--
|
|
Copyright 2013 Google Inc.
|
|
|
|
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.
|
|
-->
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="56dp"
|
|
android:minWidth="56dp">
|
|
<ProgressBar android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:layout_gravity="center"/>
|
|
</FrameLayout>
|