discord-jadx/app/src/main/res/layout-v22/widget_select_component_bot...

10 lines
2.9 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:layout_width="match_parent" android:layout_height="match_parent">
<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/widget_sheet_component_bottom_sheet_header" android:background="?attr/colorBackgroundTertiary" android:layout_width="match_parent" android:layout_height="wrap_content" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0">
<TextView android:id="@+id/widget_sheet_component_bottom_sheet_placeholder" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" app:layout_constraintBottom_toTopOf="@+id/widget_sheet_component_bottom_sheet_subtitle" app:layout_constraintEnd_toStartOf="@+id/widget_sheet_component_bottom_sheet_select" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:layout_constraintVertical_chainStyle="2" style="@style/UiKit_TextView_Bold"/>
<TextView android:textColor="?attr/colorHeaderSecondary" android:id="@+id/widget_sheet_component_bottom_sheet_subtitle" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toStartOf="@+id/widget_sheet_component_bottom_sheet_select" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/widget_sheet_component_bottom_sheet_placeholder" style="@style/UiKit_TextView_Subtext"/>
<TextView android:textColor="?attr/color_brand" android:id="@+id/widget_sheet_component_bottom_sheet_select" android:background="?attr/selectableItemBackgroundBorderless" android:paddingLeft="16dp" android:paddingTop="16dp" android:paddingRight="16dp" android:paddingBottom="16dp" android:layout_width="0dp" android:layout_height="wrap_content" android:text="@string/select" android:layout_marginStart="16dp" android:paddingHorizontal="16dp" android:paddingVertical="16dp" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintEnd_toEndOf="0" app:layout_constraintTop_toTopOf="0" style="@style/UiKit_TextView_Semibold"/>
</androidx.constraintlayout.widget.ConstraintLayout>
<com.discord.utilities.view.recycler.MaxHeightRecyclerView android:id="@+id/widget_sheet_component_bottom_sheet_recycler" android:background="?attr/colorBackgroundSecondary" android:layout_width="match_parent" android:layout_height="wrap_content" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" app:layout_constrainedHeight="true" app:layout_constraintTop_toBottomOf="@+id/widget_sheet_component_bottom_sheet_header" app:max_height_screen_ratio="0.75"/>
</androidx.constraintlayout.widget.ConstraintLayout>