discord-jadx/app/src/main/res/layout/layout_voice_bottom_sheet_h...

12 lines
4.5 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:orientation="horizontal" android:background="?attr/colorBackgroundTertiary" android:paddingLeft="16dp" android:paddingTop="10dp" android:paddingRight="16dp" android:paddingBottom="10dp" android:layout_width="match_parent" android:layout_height="wrap_content">
<ImageView android:id="@+id/voice_bottom_sheet_header_icon" android:layout_width="24dp" android:layout_height="24dp" android:src="@drawable/ic_channel_voice" android:importantForAccessibility="no" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintTop_toTopOf="0" app:tint="?attr/colorInteractiveNormal"/>
<TextView android:textSize="@dimen/uikit_textsize_large" android:textColor="?attr/colorHeaderPrimary" android:ellipsize="end" android:id="@+id/voice_bottom_sheet_header_title" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:maxLines="1" android:includeFontPadding="false" android:fontFamily="?attr/font_primary_semibold" app:layout_constraintBottom_toTopOf="@+id/voice_bottom_sheet_header_subtitle" app:layout_constraintLeft_toRightOf="@+id/voice_bottom_sheet_header_icon" app:layout_constraintRight_toLeftOf="@+id/title_text_barrier" app:layout_constraintTop_toTopOf="0" app:layout_constraintVertical_chainStyle="2"/>
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?attr/colorHeaderSecondary" android:ellipsize="end" android:id="@+id/voice_bottom_sheet_header_subtitle" android:layout_width="0dp" android:layout_height="wrap_content" android:maxLines="1" android:includeFontPadding="false" android:fontFamily="?attr/font_primary_normal" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintLeft_toLeftOf="@+id/voice_bottom_sheet_header_title" app:layout_constraintRight_toLeftOf="@+id/title_text_barrier" app:layout_constraintTop_toBottomOf="@+id/voice_bottom_sheet_header_title"/>
<androidx.constraintlayout.widget.Barrier android:id="@+id/title_text_barrier" android:layout_width="0dp" android:layout_height="match_parent" app:barrierDirection="5" app:constraint_referenced_ids="voice_bottom_sheet_header_deafen,voice_bottom_sheet_header_invite,voice_bottom_sheet_header_noise_cancellation, voice_bottom_sheet_header_settings"/>
<ImageView android:id="@+id/voice_bottom_sheet_header_deafen" android:background="?attr/selectableItemBackgroundBorderless" android:padding="4dp" android:layout_width="32dp" android:layout_height="32dp" android:layout_marginRight="16dp" android:src="?attr/ic_deafen_state" android:contentDescription="@string/deafen" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintRight_toLeftOf="@+id/voice_bottom_sheet_header_invite" app:layout_constraintTop_toTopOf="0" app:tint="?attr/colorInteractiveNormal"/>
<ImageView android:id="@+id/voice_bottom_sheet_header_invite" android:background="?attr/selectableItemBackgroundBorderless" android:padding="4dp" android:layout_width="32dp" android:layout_height="32dp" android:layout_marginRight="16dp" android:src="@drawable/ic_guild_invite_24dp" android:contentDescription="@string/invite_friends" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintRight_toLeftOf="@+id/voice_bottom_sheet_header_noise_cancellation" app:layout_constraintTop_toTopOf="0" app:tint="?attr/colorInteractiveNormal"/>
<ImageView android:id="@+id/voice_bottom_sheet_header_noise_cancellation" android:background="?attr/selectableItemBackgroundBorderless" android:padding="4dp" android:layout_width="32dp" android:layout_height="32dp" android:layout_marginRight="16dp" android:src="@drawable/ic_noise_cancellation_active_24dp" android:contentDescription="@string/user_settings_noise_cancellation" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintRight_toLeftOf="@+id/voice_bottom_sheet_header_settings" app:layout_constraintTop_toTopOf="0" app:tint="?attr/colorInteractiveNormal"/>
<ImageView android:id="@+id/voice_bottom_sheet_header_settings" android:background="?attr/selectableItemBackgroundBorderless" android:padding="4dp" android:layout_width="32dp" android:layout_height="32dp" android:src="@drawable/ic_settings_24dp" android:contentDescription="@string/voice_settings" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toTopOf="0" app:tint="?attr/colorInteractiveNormal"/>
</androidx.constraintlayout.widget.ConstraintLayout>