AndroidAPS/app/src/main/res/layout/danars_blescanner_activity.xml

51 lines
1.8 KiB
XML
Raw Normal View History

2017-09-13 00:35:03 +02:00
<?xml version="1.0" encoding="utf-8"?>
2019-12-22 12:33:05 +01:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2017-09-13 00:35:03 +02:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
2019-12-22 12:33:05 +01:00
android:orientation="vertical"
2019-02-26 20:38:27 +01:00
tools:context=".plugins.pump.danaRS.activities.BLEScanActivity">
2017-09-13 00:35:03 +02:00
2019-12-22 12:33:05 +01:00
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@color/activity_title_background"
android:orientation="horizontal"
android:padding="5dp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/pairing"
android:src="@drawable/ic_bluetooth_white_48dp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_gravity="center"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:text="@string/pairing"
android:textAlignment="center"
android:textAppearance="?android:attr/textAppearanceLarge" />
</RelativeLayout>
2017-09-13 00:35:03 +02:00
<ListView
android:id="@+id/danars_blescanner_listview"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<TextView
android:id="@+id/danars_blescanner_nodevice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:text="@string/danars_nodeviceavailable"
android:textColor="#FF7F8288" />
2019-12-22 12:33:05 +01:00
</LinearLayout>