21 lines
No EOL
4.3 KiB
XML
21 lines
No EOL
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@id/guild_call_container" android:layout_width="fill_parent" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.Page"
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<androidx.recyclerview.widget.RecyclerView android:id="@id/guild_call_video_recycler" android:background="@color/black" android:layout_width="0.0dip" android:layout_height="0.0dip" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" />
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
|
|
<androidx.recyclerview.widget.RecyclerView android:id="@id/guild_call_participant_list" android:background="?colorBackgroundPrimary" android:layout_width="fill_parent" android:layout_height="0.0dip" app:layout_constraintBottom_toTopOf="@id/guild_call_controls_anchored" app:layout_constraintTop_toBottomOf="@id/action_bar_toolbar_layout" />
|
|
<LinearLayout android:gravity="center" android:id="@id/guild_call_empty_state" android:background="?colorBackgroundPrimary" android:paddingLeft="@dimen/uikit_spacing_large" android:paddingRight="@dimen/uikit_spacing_large" android:layout_width="fill_parent" android:layout_height="0.0dip" app:layout_constraintBottom_toTopOf="@id/guild_call_controls_anchored" app:layout_constraintTop_toBottomOf="@id/action_bar_toolbar_layout" style="@style/UiKit.ViewGroup.LinearLayout">
|
|
<ImageView android:src="?img_voice_no_connections" style="@style/UiKit.ImageView" />
|
|
<TextView android:textSize="@dimen/uikit_textsize_medium" android:gravity="center" android:text="@string/voice_channel_empty" style="@style/UiKit.TextView" />
|
|
</LinearLayout>
|
|
<com.discord.widgets.voice.fullscreen.VoiceControlsView android:id="@id/guild_call_controls_anchored" android:layout_width="fill_parent" android:layout_height="wrap_content" app:layout_constrainedHeight="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" />
|
|
<com.discord.widgets.voice.controls.FloatingVoiceControlsView android:theme="@style/AppTheme.Dark" android:id="@id/guild_call_controls_floating" android:layout_width="fill_parent" android:layout_height="wrap_content" app:layout_constrainedHeight="true" app:layout_constraintBottom_toTopOf="@id/guild_call_floating_push_to_talk" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" />
|
|
<com.google.android.material.button.MaterialButton android:textColor="@color/primary_100" android:id="@id/guild_call_floating_push_to_talk" android:visibility="gone" android:layout_width="0.0dip" android:layout_margin="@dimen/uikit_spacing_medium" android:text="@string/input_mode_ptt" android:backgroundTint="@color/primary_700" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" style="@style/UiKit.Material.Button" />
|
|
<com.google.android.material.appbar.AppBarLayout android:id="@id/action_bar_toolbar_layout" android:layout_width="fill_parent" android:layout_height="?actionBarSize" app:layout_constraintTop_toTopOf="parent" style="@style/AppTheme.AppBarLayout.Flat.Transparent">
|
|
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar.Transparent" />
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
<androidx.cardview.widget.CardView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="16.0dip" android:layout_marginTop="32.0dip" app:cardCornerRadius="8.0dip" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toBottomOf="@id/action_bar_toolbar_layout" app:layout_goneMarginTop="72.0dip">
|
|
<com.discord.views.video.VideoCallParticipantView android:id="@id/guild_call_pip" android:layout_width="140.0dip" android:layout_height="79.0dip" app:vcpv_is_overlay="true" app:vcpv_match_video_orientation="true" />
|
|
</androidx.cardview.widget.CardView>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |