7 lines
2.3 KiB
XML
7 lines
2.3 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" android:id="@+id/root" android:background="?attr/colorBackgroundPrimary" android:layout_width="match_parent" android:layout_height="match_parent">
|
|
<com.discord.chips_view.ChipsView android:id="@+id/chips_view" android:background="@drawable/rounded_rectangle_4dp_radius" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="16dp" android:foreground="?attr/bg_pressed_highlight" android:overScrollMode="never" android:paddingStart="4dp" android:paddingEnd="0dp" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" android:backgroundTint="?attr/colorBackgroundTertiary" app:cv_bg_color="?attr/colorBackgroundPrimary" app:cv_bg_color_clicked="?attr/color_brand" app:cv_chip_bg_res="@drawable/rounded_rectangle_4dp_radius" app:cv_chip_layout="@layout/view_chip" app:cv_color="?attr/colorBackgroundPrimary" app:cv_color_clicked="?attr/color_brand" app:cv_height="36dp" app:cv_hint="@string/invite_friends" app:cv_max_height="400dp" app:cv_search_text_color="?attr/colorTextMuted" app:cv_search_text_size="@dimen/uikit_textsize_medium" app:cv_text_color="?attr/colorTextNormal" app:cv_text_color_clicked="@color/white" app:cv_vertical_spacing="4dp" app:drawableEndCompat="@drawable/ic_search_16dp" app:drawableTint="?attr/colorTextMuted" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0"/>
|
|
<androidx.appcompat.widget.AppCompatImageView android:id="@+id/search_icon" android:layout_width="16dp" android:layout_height="16dp" android:src="@drawable/ic_search_16dp" android:tint="?attr/colorTextMuted" android:layout_marginEnd="8dp" app:layout_constraintBottom_toBottomOf="@+id/chips_view" app:layout_constraintEnd_toEndOf="@+id/chips_view" app:layout_constraintTop_toTopOf="@+id/chips_view"/>
|
|
<androidx.recyclerview.widget.RecyclerView android:id="@+id/recycler_view" android:layout_width="match_parent" android:layout_height="0dp" android:layout_marginTop="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/chips_view" style="@style/UiKit_ViewGroup_RecyclerView"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|