HC05AC-CTRL/src/bt/res/layout/activity_device_list.xml

61 lines
2.4 KiB
XML
Raw Normal View History

2023-01-25 16:05:03 +01:00
<?xml version="1.0" encoding="utf-8"?>
2023-01-25 17:04:39 +01:00
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
2023-01-25 16:05:03 +01:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
2023-01-27 17:56:43 +01:00
tools:context=".bt.DeviceListActivity">
2023-01-25 16:05:03 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:layout_editor_absoluteX="8dp"
tools:layout_editor_absoluteY="8dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
2023-01-27 17:56:43 +01:00
android:text="@string/device_list_title"
2023-01-25 16:05:03 +01:00
android:textColor="#0033FF"
android:textSize="16sp"
tools:layout_editor_absoluteX="168dp"
tools:layout_editor_absoluteY="134dp" />
<Button
android:id="@+id/button"
style="@style/Widget.AppCompat.Button.Colored"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@android:color/holo_blue_light"
2023-01-27 17:56:43 +01:00
android:text="@string/device_list_refresh"
2023-01-25 16:05:03 +01:00
tools:layout_editor_absoluteX="190dp"
tools:layout_editor_absoluteY="183dp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<ListView
android:id="@+id/listView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="150dp"
2023-01-27 17:56:43 +01:00
android:layout_marginStart="150dp"
2023-01-25 16:05:03 +01:00
android:footerDividersEnabled="false"
tools:layout_editor_absoluteX="8dp"
tools:layout_editor_absoluteY="8dp" />
</LinearLayout>
</LinearLayout>
2023-01-25 17:04:39 +01:00
</androidx.constraintlayout.widget.ConstraintLayout>