You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
2.2 KiB
XML
52 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:background="?android:attr/selectableItemBackground">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView"
|
|
android:layout_width="64dp"
|
|
android:layout_height="64dp"
|
|
android:padding="16dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintEnd_toStartOf="@+id/textView_device_name"
|
|
app:srcCompat="@drawable/ic_baseline_bluetooth_24" />
|
|
|
|
<TextView
|
|
android:id="@+id/textView_device_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?attr/textAppearanceBody1"
|
|
android:text="TextView"
|
|
app:layout_constraintBottom_toTopOf="@+id/textView_device_address"
|
|
app:layout_constraintStart_toEndOf="@+id/imageView"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintVertical_chainStyle="packed" />
|
|
|
|
<TextView
|
|
android:id="@+id/textView_device_address"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?attr/textAppearanceCaption"
|
|
android:text="TextView"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toEndOf="@+id/imageView"
|
|
app:layout_constraintTop_toBottomOf="@+id/textView_device_name" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView2"
|
|
android:layout_width="64dp"
|
|
android:layout_height="64dp"
|
|
android:padding="16dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:srcCompat="@drawable/ic_baseline_change_circle_24" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |