adapter_practice_list.xml
1.4 KB
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginBottom="8dp"
android:background="@drawable/solid_eff2_4"
android:gravity="center_vertical"
android:orientation="horizontal">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/title_tv"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginHorizontal="17dp"
android:layout_weight="1"
android:drawablePadding="8dp"
android:textColor="@color/color_32"
android:textSize="14sp"
app:drawableStartCompat="@mipmap/txt"
app:layout_constraintBottom_toTopOf="parent"
app:layout_constraintRight_toLeftOf="@id/complete"
app:layout_constraintTop_toBottomOf="parent" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/complete_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="17dp"
android:textSize="17sp"
app:layout_constraintBottom_toTopOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="parent" />
</androidx.appcompat.widget.LinearLayoutCompat>