android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/primary_violet"
xmlns:tools="http://schemas.android.com/tools">
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_divide_center"
android:layout_width="wrap_content"
app:layout_constraintGuide_percent="0.5"
android:layout_height="wrap_content"
android:orientation="vertical" />
<androidx.appcompat.widget.SearchView
android:id="@+id/searchView"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="32dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="32dp"
android:background="@color/white"
app:defaultQueryHint="Поиск"
app:iconifiedByDefault="false"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginTop="20dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@+id/searchView"
tools:listitem="@layout/item_equipment" />
</androidx.constraintlayout.widget.ConstraintLayout>
Start of, End of parent
Обсуждают сегодня