discord-jadx/app/src/main/res/layout/widget_voice_bottom_sheet.xml

16 lines
3.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/voice_bottom_sheet_root" style="@style/res_2131952590_uikit_viewgroup_coordinatorlayout">
<androidx.constraintlayout.widget.ConstraintLayout android:background="?attr/colorBackgroundPrimary" android:layout_width="match_parent" android:layout_height="wrap_content">
<include android:id="@+id/header" android:layout_width="0dp" android:layout_height="wrap_content" app:layout_constrainedHeight="true" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toTopOf="0" layout="@layout/layout_voice_bottom_sheet_header"/>
<com.discord.utilities.view.recycler.MaxHeightRecyclerView android:id="@+id/voice_bottom_sheet_recycler" android:layout_width="0dp" android:layout_height="wrap_content" android:nestedScrollingEnabled="true" app:layout_constrainedHeight="true" app:layout_constraintBottom_toTopOf="@+id/voice_bottom_sheet_bottom_content_container" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toBottomOf="@+id/header" app:layout_constraintVertical_bias="0" app:max_height="400dp"/>
<include android:id="@+id/empty" android:visibility="invisible" android:layout_width="0dp" android:layout_height="wrap_content" app:layout_constraintBottom_toTopOf="@+id/voice_bottom_sheet_bottom_content_container" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toBottomOf="@+id/header" layout="@layout/layout_voice_bottom_sheet_empty"/>
<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/voice_bottom_sheet_bottom_content_container" android:layout_width="0dp" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toBottomOf="@+id/header" app:layout_constraintVertical_bias="1">
<com.discord.widgets.voice.controls.AnchoredVoiceControlsView android:id="@+id/voice_bottom_sheet_controls" android:background="?attr/colorBackgroundSecondary" android:layout_width="0dp" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toTopOf="0"/>
<RelativeLayout android:orientation="horizontal" android:id="@+id/voice_bottom_sheet_connect_container" android:paddingLeft="16dp" android:paddingRight="16dp" android:layout_width="0dp" android:layout_height="0dp" app:layout_constraintBottom_toBottomOf="@+id/voice_bottom_sheet_controls" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toTopOf="@+id/voice_bottom_sheet_controls">
<com.google.android.material.button.MaterialButton android:id="@+id/voice_bottom_sheet_connect" android:layout_width="match_parent" android:layout_height="48dp" android:text="@string/join_voice_channel_cta" android:layout_toStartOf="@+id/voice_bottom_sheet_join_video" style="@style/res_2131952456_uikit_material_button"/>
<com.google.android.material.button.MaterialButton android:id="@+id/voice_bottom_sheet_join_video" android:layout_width="48dp" android:layout_height="48dp" android:contentDescription="@string/join_video_channel" android:layout_marginStart="12dp" android:layout_alignParentEnd="true" app:icon="@drawable/ic_videocam_white_24dp" app:iconGravity="2" app:iconPadding="0dp" style="@style/res_2131952456_uikit_material_button"/>
</RelativeLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>