apkfuckery/com.discord/res/layout/widget_voice_actions.xml

24 lines
2.8 KiB
XML
Raw Normal View History

2019-07-24 11:27:29 +00:00
<?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>
2019-11-20 22:09:14 +00:00
<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" />
2019-07-24 11:27:29 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>
<View style="@style/UiKit.Settings.Divider" />
2020-01-18 01:53:20 +00:00
<TextView android:id="@id/voice_actions_invite" android:text="@string/invite_friends" android:drawableStart="?ic_invites_a60" style="@style/UiKit.Settings.Item.Icon" />
2019-11-20 22:09:14 +00:00
<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" />
2019-07-24 11:27:29 +00:00
<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">
2020-04-17 17:35:24 +00:00
<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" />
2020-01-07 02:40:43 +00:00
<com.google.android.material.button.MaterialButton android:id="@id/voice_actions_disconnect" android:text="@string/disconnect" style="@style/UiKit.Material.Button.Secondary" />
2019-07-24 11:27:29 +00:00
</LinearLayout>
</LinearLayout>