24 lines
No EOL
2.8 KiB
XML
24 lines
No EOL
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout android:background="?primary_630" android:paddingBottom="@dimen/uikit_spacing_medium" style="@style/UiKit.ViewGroup.LinearLayout"
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<androidx.constraintlayout.widget.ConstraintLayout style="@style/UiKit.Sheet.Header">
|
|
<androidx.constraintlayout.widget.Guideline style="@style/UiKit.Sheet.Guideline" />
|
|
<FrameLayout style="@style/UiKit.Sheet.Header.Icon">
|
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/voice_actions_icon" style="@style/Avatar.Large" />
|
|
</FrameLayout>
|
|
<LinearLayout android:orientation="vertical" app:layout_constraintEnd_toStartOf="@id/voice_actions_user_count" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.Sheet.Header.Contents">
|
|
<TextView android:id="@id/voice_actions_header" style="@style/UiKit.Sheet.Header.Title" />
|
|
<androidx.recyclerview.widget.RecyclerView android:id="@id/voice_actions_users_recyclerview" android:layout_marginTop="@dimen/uikit_spacing_xsmall" style="@style/UiKit.ViewGroup.RecyclerView.Horizontal" />
|
|
</LinearLayout>
|
|
<TextView android:id="@id/voice_actions_user_count" android:background="?primary_600_bg" android:padding="@dimen/uikit_spacing_small" android:layout_marginTop="8.0dip" android:singleLine="true" android:layout_marginEnd="@dimen/uikit_spacing_large" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/UiKit.TextView.Subtext" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<View style="@style/UiKit.Settings.Divider" />
|
|
<TextView android:id="@id/voice_actions_invite" android:text="@string/invite_friends" android:drawableStart="?ic_invites_a60" style="@style/UiKit.Settings.Item.Icon" />
|
|
<TextView android:id="@id/voice_actions_settings" android:text="@string/edit_channel" android:drawableStart="?ic_settings" style="@style/UiKit.Settings.Item.Icon" />
|
|
<TextView android:id="@id/voice_actions_copy_id" android:text="@string/copy_id" android:drawableStart="?ic_copy" style="@style/UiKit.Settings.Item.Icon" />
|
|
<View android:id="@id/voice_actions_settings_divider" style="@style/UiKit.Settings.Divider" />
|
|
<LinearLayout android:layout_margin="@dimen/uikit_spacing_large" style="@style/UiKit.ViewGroup.LinearLayout">
|
|
<com.discord.views.JoinVoiceChannelButton android:id="@id/voice_actions_connect" android:layout_width="fill_parent" android:layout_height="wrap_content" style="@style/UiKit.Material.Button" />
|
|
<com.google.android.material.button.MaterialButton android:id="@id/voice_actions_disconnect" android:text="@string/disconnect" style="@style/UiKit.Material.Button.Secondary" />
|
|
</LinearLayout>
|
|
</LinearLayout> |